otsdaq  v2_01_00
ots::DataManager Class Reference
Inheritance diagram for ots::DataManager:
ots::VStateMachine ots::Configurable ots::ARTDAQDataManager

Classes

struct  Buffer
 

Public Member Functions

 DataManager (const ConfigurationTree &theXDAQContextConfigTree, const std::string &supervisorConfigurationPath)
 
virtual void configure (void)
 
virtual void halt (void)
 
virtual void pause (void)
 
virtual void resume (void)
 
virtual void start (std::string runNumber)
 
virtual void stop (void)
 
template<class D , class H >
void configureBuffer (std::string bufferUID)
 
void registerProducer (std::string bufferUID, DataProducer *producer)
 
void registerConsumer (std::string bufferUID, DataConsumer *consumer, bool registerToBuffer=true)
 
- Public Member Functions inherited from ots::VStateMachine
virtual bool running (void)
 
virtual void paused (void)
 
virtual void halted (void)
 
virtual void configured (void)
 
virtual void initial (void)
 
virtual void inError (void)
 
- Public Member Functions inherited from ots::Configurable
 Configurable (const ConfigurationTree &theXDAQContextConfigTree, const std::string &theConfigurationPath)
 
ConfigurationTree getSelfNode () const
 
const ConfigurationManagergetConfigurationManager () const
 
const std::string & getContextUID () const
 
const std::string & getApplicationUID () const
 
unsigned int getApplicationLID () const
 
std::string getContextAddress () const
 
unsigned int getContextPort () const
 

Protected Types

enum  BufferStatus { Initialized, Running }
 

Protected Member Functions

void eraseAllBuffers (void)
 
void eraseBuffer (std::string bufferUID)
 !!!!Delete all Buffers and all the pointers of the producers and consumers
 
void startAllBuffers (std::string runNumber)
 !!!!Delete all the pointers of the producers and consumers
 
void stopAllBuffers (void)
 
void resumeAllBuffers (void)
 
void pauseAllBuffers (void)
 
void startBuffer (std::string bufferUID, std::string runNumber)
 
void stopBuffer (std::string bufferUID)
 
void resumeBuffer (std::string bufferUID)
 
void pauseBuffer (std::string bufferUID)
 
bool unregisterConsumer (std::string consumerID)
 
bool deleteBuffer (std::string bufferUID)
 

Protected Attributes

std::map< std::string, Bufferbuffers_
 
- Protected Attributes inherited from ots::Configurable
const ConfigurationTree theXDAQContextConfigTree_
 
const std::string theConfigurationPath_
 
const std::string theConfigurationRecordName_
 

Detailed Description

Definition at line 24 of file DataManager.h.


The documentation for this class was generated from the following files: