otsdaq
v2_00_00
|
Public Member Functions | |
TCPDataListenerProducer (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, const ConfigurationTree &theXDAQContextConfigTree, const std::string &configurationPath) | |
![]() | |
DataProducer (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, unsigned int bufferSize=100) | |
void | registerToBuffer (void) |
virtual void | startProcessingData (std::string runNumber) |
virtual void | stopProcessingData (void) |
template<class D , class H > | |
int | attachToEmptySubBuffer (D *&data, H *&header) |
template<class D , class H > | |
int | setWrittenSubBuffer (void) |
template<class D , class H > | |
int | write (const D &buffer) |
template<class D , class H > | |
int | write (const D &buffer, const H &header) |
unsigned int | getBufferSize (void) |
![]() | |
DataProcessor (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID) | |
virtual void | pauseProcessingData (void) |
virtual void | resumeProcessingData (void) |
std::string | getProcessorID (void) |
void | setCircularBuffer (CircularBufferBase *circularBuffer) |
![]() | |
WorkLoop (std::string name) | |
void | startWorkLoop (void) |
bool | stopWorkLoop (void) |
bool | isActive (void) |
![]() | |
Configurable (const ConfigurationTree &theXDAQContextConfigTree, const std::string &theConfigurationPath) | |
ConfigurationTree | getSelfNode () const |
const ConfigurationManager * | getConfigurationManager () const |
const std::string & | getContextUID () const |
const std::string & | getApplicationUID () const |
unsigned int | getApplicationLID () const |
std::string | getContextAddress () const |
unsigned int | getContextPort () const |
![]() | |
TCPSocket (const std::string &senderHost, unsigned int senderPort, int receiveBufferSize=0x10000) | |
TCPSocket (unsigned int listenPort, int sendBufferSize=0x10000) | |
void | connect () |
int | send (const uint8_t *data, size_t size) |
int | send (const std::string &buffer) |
int | send (const std::vector< uint32_t > &buffer) |
int | send (const std::vector< uint16_t > &buffer) |
int | receive (uint8_t *buffer, unsigned int timeoutSeconds, unsigned int timeoutUSeconds) |
int | receive (std::string &buffer, unsigned int timeoutSeconds=1, unsigned int timeoutUSeconds=0) |
int | receive (std::vector< uint32_t > &buffer, unsigned int timeoutSeconds=1, unsigned int timeoutUSeconds=0) |
Protected Member Functions | |
bool | workLoopThread (toolbox::task::WorkLoop *workLoop) |
void | slowWrite (void) |
void | fastWrite (void) |
![]() | |
const std::string & | getWorkLoopName (void) |
Protected Attributes | |
std::string | data_ |
std::map< std::string, std::string > | header_ |
std::string * | dataP_ |
std::map< std::string, std::string > * | headerP_ |
std::string | ipAddress_ |
unsigned short | port_ |
![]() | |
const std::string | supervisorApplicationUID_ |
const std::string | bufferUID_ |
const std::string | processorUID_ |
CircularBufferBase * | theCircularBuffer_ |
![]() | |
volatile bool | continueWorkLoop_ |
![]() | |
const ConfigurationTree | theXDAQContextConfigTree_ |
const std::string | theConfigurationPath_ |
const std::string | theConfigurationRecordName_ |
![]() | |
std::string | host_ |
unsigned int | port_ |
int | TCPSocketNumber_ |
int | SendSocket_ |
bool | isSender_ |
int | bufferSize_ |
size_t | chunkSize_ |
std::mutex | socketMutex_ |
Definition at line 15 of file TCPDataListenerProducer.h.