otsdaq  v1_01_04
 All Classes Namespaces Functions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ots::EventDataSaver Class Reference
+ Inheritance diagram for ots::EventDataSaver:

Public Member Functions

 EventDataSaver (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, ConsumerPriority priority)
 
void openFile (std::string fileName)
 
void closeFile (void)
 
void save (std::string &data)
 
std::string getName (void)
 
- Public Member Functions inherited from ots::DataConsumer
 DataConsumer (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, ConsumerPriority priority)
 
void registerToBuffer (void)
 
virtual void startProcessingData (std::string runNumber)
 
virtual void stopProcessingData (void)
 
template<class D , class H >
int read (D &buffer, H &header)
 
template<class D , class H >
int read (D *&buffer, H *&header)
 
template<class D , class H >
int setReadSubBuffer (void)
 
template<class D , class H >
int read (D &buffer)
 
ConsumerPriority getPriority (void)
 
- Public Member Functions inherited from ots::DataProcessor
 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)
 
- Public Member Functions inherited from ots::WorkLoop
 WorkLoop (std::string name)
 
void startWorkLoop (void)
 
bool stopWorkLoop (void)
 
bool isActive (void)
 

Protected Member Functions

void writeHeader (void)
 
bool workLoopThread (toolbox::task::WorkLoop *workLoop)
 
- Protected Member Functions inherited from ots::WorkLoop
const std::string & getWorkLoopName (void)
 

Protected Attributes

TFile * outFile_
 
EventanEvent_
 
TTree * outTree_
 
- Protected Attributes inherited from ots::DataProcessor
const std::string supervisorApplicationUID_
 
const std::string bufferUID_
 
const std::string processorUID_
 
CircularBufferBasetheCircularBuffer_
 
- Protected Attributes inherited from ots::WorkLoop
volatile bool continueWorkLoop_
 

Additional Inherited Members

- Public Types inherited from ots::DataConsumer
enum  ConsumerPriority { LowConsumerPriority, HighConsumerPriority }
 

Detailed Description

Definition at line 15 of file EventDataSaver.h.


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