Revision eee13fa3
Added by david.sorber over 2 years ago
| src/CopyManagerOptions.cc | ||
|---|---|---|
|
#include "CopyManagerOptions.h"
|
||
|
|
||
|
DBS::CopyManagerOptions::CopyManagerOptions(
|
||
|
const char* srcPath,
|
||
|
const char* destPath)
|
||
|
: m_srcPath(srcPath),
|
||
|
const std::string& srcPath,
|
||
|
const std::string& destPath,
|
||
|
bool disableLog,
|
||
|
bool logToStderr,
|
||
|
const std::string& logFilePath,
|
||
|
int logLevel,
|
||
|
uint32_t flowCtrlThreshold,
|
||
|
uint32_t numProcThreads,
|
||
|
bool copyTopLevel)
|
||
|
: r_srcPath(srcPath),
|
||
|
m_destPath(destPath),
|
||
|
m_logLevel(LOG_LEVEL_DEFAULT),
|
||
|
m_flowControlThreshold(FC_THRESHOLD_DEFAULT),
|
||
|
m_numProcThreads(NUM_PROC_THREADS_DEFAULT)
|
||
|
m_disableLog(disableLog),
|
||
|
m_logToStderr(logToStderr),
|
||
|
r_logFilePath(logFilePath),
|
||
|
m_logLevel(logLevel),
|
||
|
m_flowControlThreshold(flowCtrlThreshold),
|
||
|
m_numCopyThreads(numProcThreads),
|
||
|
m_copyTopLevel(copyTopLevel)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
DBS::CopyManagerOptions::CopyManagerOptions(
|
||
|
const std::string srcPath,
|
||
|
const std::string destPath)
|
||
|
: m_srcPath(srcPath),
|
||
|
m_destPath(destPath),
|
||
|
m_logLevel(LOG_LEVEL_DEFAULT),
|
||
|
m_flowControlThreshold(FC_THRESHOLD_DEFAULT),
|
||
|
m_numProcThreads(NUM_PROC_THREADS_DEFAULT)
|
||
|
DBS::CopyManagerOptions::~CopyManagerOptions()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
DBS::CopyManagerOptions::~CopyManagerOptions()
|
||
|
{
|
||
|
|
||
|
}
|
||
First mostly functional version; let's call it v0.1.0.