ewmscp
..
|
Classes | |
class | base |
class for copy requests. More... | |
class | checksumTest |
class for checking if checksums match expectations Extends the copyRequest::base class with new printResults function that checks if sums match expected values and prints results in a way compatible with e.g. More... | |
class | exceptionList |
class | fileInWork |
This class holds info aboput a file that is "in work" in some way. More... | |
class | listingRequest |
class for checking if checksums match expectations Extends the copyRequest::base class with new printResults function that checks if sums match expected values and prints results in a way compatible with e.g. More... | |
class | perThreadData |
class for thread-specific data More... | |
class | stateType |
Typedefs | |
typedef waitQueues::simple< block > | blockQueue |
typedef waitQueues::simple< copyRequest::base > | simpleQueue |
simple first-in first-out queue. More... | |
typedef waitQueues::timed< copyRequest::base > | timedQueue |
for delayed processing: returns elements when due. More... | |
typedef std::chrono::system_clock | clock_type |
type for time measurements More... | |
Enumerations | |
enum | backupModeType { backupModeType::none, backupModeType::before, backupModeType::during, backupModeType::after, backupModeType::remove } |
enum | stateBitType { stateBitType::fileToBeCopied = 1 << 0, stateBitType::linkToBeMade = 1 << 1, stateBitType::fileToBeRemoved = 1 << 2, stateBitType::fileToBeRenamed = 1 << 3, stateBitType::vanished = 1 << 4, stateBitType::ignore = 1 << 5, stateBitType::trucated = 1 << 6, stateBitType::inWork = 1 << 7, stateBitType::failed = 1 << 8, stateBitType::done = 1 << 9, stateBitType::append = 1 << 10, stateBitType::attributeMismatch = 1 << 11, stateBitType::noActionNeeded = vanished | ignore, stateBitType::action = fileToBeCopied | linkToBeMade | fileToBeRemoved | fileToBeRenamed } |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const copyRequest::clock_type::time_point &t) |
std::ostream & | operator<< (std::ostream &out, const base &request) |
std::ostream & | operator<< (std::ostream &stream, fileInWork::slotTypes t) |
Definition at line 63 of file copyRequest.h.
typedef std::chrono::system_clock copyRequest::clock_type |
type for time measurements
Definition at line 46 of file copyRequestTypes.h.
simple first-in first-out queue.
Definition at line 41 of file copyRequestTypes.h.
for delayed processing: returns elements when due.
Definition at line 43 of file copyRequestTypes.h.
|
strong |
|
strong |
Enumerator | |
---|---|
fileToBeCopied | |
linkToBeMade | |
fileToBeRemoved | |
fileToBeRenamed | |
vanished | |
ignore | |
trucated | |
inWork | |
failed | |
done | |
append | |
attributeMismatch | |
noActionNeeded | |
action |
Definition at line 50 of file copyRequestTypes.h.
std::ostream& copyRequest::operator<< | ( | std::ostream & | out, |
const base & | request | ||
) |
Definition at line 1952 of file copyRequest.cpp.
References copyRequest::base::destination, copyRequest::base::filesInWorkIterator, copyRequest::base::source, copyRequest::base::state, and copyRequest::base::tInotify.
std::ostream& copyRequest::operator<< | ( | std::ostream & | stream, |
const copyRequest::clock_type::time_point & | t | ||
) |
Definition at line 1946 of file copyRequest.cpp.
std::ostream& copyRequest::operator<< | ( | std::ostream & | stream, |
fileInWork::slotTypes | t | ||
) |
Definition at line 10 of file fileInWork.cpp.
References copyRequest::fileInWork::copy, copyRequest::fileInWork::move, copyRequest::fileInWork::none, and copyRequest::fileInWork::unlink.