ewmscp  ..
Public Member Functions | Public Attributes | List of all members
copyRequest::perThreadData Class Reference

class for thread-specific data More...

#include <copyRequest.h>

Collaboration diagram for copyRequest::perThreadData:
[legend]

Public Member Functions

 perThreadData ()
 

Public Attributes

inputHandler::baseInputHandler
 
outputHandler::baseOutputHandler
 
blockQueue freeBlocks
 

Detailed Description

class for thread-specific data

Definition at line 67 of file copyRequest.h.

Constructor & Destructor Documentation

◆ perThreadData()

copyRequest::perThreadData::perThreadData ( )

Definition at line 173 of file copyRequest.cpp.

173  {
176  #ifdef WithMagic
177  magicCookie = throwcall::badval(magic_open(MAGIC_NONE), nullptr, "can't init libmagic");
178  if (magic_load(magicCookie, nullptr) != 0) {
179  throw std::runtime_error(magic_error(magicCookie));
180  }
181  #endif
182 }

References throwcall::badval(), InputHandler, inputHandlerName, outputHandler::base::newHandler(), inputHandler::base::newHandler(), OutputHandler, and outputHandlerName.

Here is the call graph for this function:

Member Data Documentation

◆ freeBlocks

blockQueue copyRequest::perThreadData::freeBlocks

Definition at line 71 of file copyRequest.h.

◆ InputHandler

inputHandler::base* copyRequest::perThreadData::InputHandler

Definition at line 69 of file copyRequest.h.

Referenced by perThreadData().

◆ OutputHandler

outputHandler::base* copyRequest::perThreadData::OutputHandler

Definition at line 70 of file copyRequest.h.

Referenced by perThreadData().


The documentation for this class was generated from the following files:
inputHandler::base::newHandler
static base * newHandler(const std::string &name)
create an instance of an inputHandler, select by name
Definition: inputHandler.h:130
copyRequest::perThreadData::InputHandler
inputHandler::base * InputHandler
Definition: copyRequest.h:69
throwcall::badval
T badval(T call, t badvalue, const Args &... args)
template function to wrap system calls that return a special bad value on failure
Definition: throwcall.h:54
outputHandler::base::newHandler
static base * newHandler(const std::string &name)
Definition: outputHandler.h:80
outputHandlerName
options::single< std::string > outputHandlerName
inputHandlerName
options::single< std::string > inputHandlerName
copyRequest::perThreadData::OutputHandler
outputHandler::base * OutputHandler
Definition: copyRequest.h:70