ewmscp  ..
Classes | Macros | Variables
ewmscp.h File Reference

(v0.19-24-g0617ca1 with changes)

#include <chrono>
#include <atomic>
#include <Options.h>
#include <forward_list>
#include <sys/stat.h>
#include <sys/types.h>
#include <system_error>
#include "checksumBase.h"
#include "inputHandler.h"
#include "messageQueue.h"
#include "outputHandler.h"
#include "throttle.h"
Include dependency graph for ewmscp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  modeBitType
 wrapper for mode_t. More...
 
class  preservables
 
class  stopRequest
 

Macros

#define defineStatic(var, ...)   decltype(var) var(__VA_ARGS__)
 defines a static variable and instatitates the constructor with the variable number of arguments. More...
 
#define defineStaticNoArg(var)   decltype(var) var
 defines a static variable that needs no arguments to it's constructor More...
 

Variables

options::single< int > uid
 
options::single< int > gid
 
preservables preserve
 set of properties to preserve in the copy More...
 
options::single< bool > noCopy
 
options::single< bool > dereference
 
options::single< bool > verbose
 
options::single< bool > quiet
 
options::single< std::string > workDir
 
options::single< bool > continueOnError
 
options::single< unsigned int > nThreads
 
throttle::watch readRateLimit
 
throttle::watch writeRateLimit
 
throttle::watch fileRateLimit
 
options::single< modeBitTypemodeBits
 
options::single< std::string > statPrefix
 
options::single< std::string > requestProviderName
 
options::single< bool > printStatAnyway
 
options::single< std::string > outputHandlerName
 
options::single< std::string > inputHandlerName
 
std::forward_list< const checksum::base::factoryClass * > checksumCreators
 
messageQueue::queueresultOutput
 

Macro Definition Documentation

◆ defineStatic

#define defineStatic (   var,
  ... 
)    decltype(var) var(__VA_ARGS__)

defines a static variable and instatitates the constructor with the variable number of arguments.

Eliminates the need for writing the full variable name twice in the definition or having to know the type.

Definition at line 42 of file ewmscp.h.

◆ defineStaticNoArg

#define defineStaticNoArg (   var)    decltype(var) var

defines a static variable that needs no arguments to it's constructor

Definition at line 44 of file ewmscp.h.

Variable Documentation

◆ checksumCreators

std::forward_list<const checksum::base::factoryClass*> checksumCreators

◆ continueOnError

options::single<bool> continueOnError

◆ dereference

options::single<bool> dereference

Referenced by copyRequest::base::init().

◆ fileRateLimit

throttle::watch fileRateLimit

◆ gid

options::single<int> gid

◆ inputHandlerName

options::single<std::string> inputHandlerName

◆ modeBits

◆ noCopy

options::single<bool> noCopy

◆ nThreads

options::single<unsigned int> nThreads

◆ outputHandlerName

options::single<std::string> outputHandlerName

◆ preserve

preservables preserve

◆ printStatAnyway

options::single<bool> printStatAnyway

Referenced by quietStatPrinter().

◆ quiet

options::single<bool> quiet

◆ readRateLimit

throttle::watch readRateLimit

◆ requestProviderName

options::single<std::string> requestProviderName

◆ resultOutput

messageQueue::queue* resultOutput

◆ statPrefix

options::single<std::string> statPrefix

◆ uid

options::single<int> uid

◆ verbose

options::single<bool> verbose

◆ workDir

options::single<std::string> workDir

◆ writeRateLimit

throttle::watch writeRateLimit