EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Classes | Public Member Functions | List of all members
eudaq::DataCollector Class Reference

#include <DataCollector.hh>

Inheritance diagram for eudaq::DataCollector:
eudaq::CommandReceiver PyDataCollector TestDataCollector

Public Member Functions

 DataCollector (const std::string &name, const std::string &runcontrol, const std::string &listenaddress, const std::string &runnumberfile="../data/runnumber.dat")
 
virtual void OnConnect (const ConnectionInfo &id)
 
virtual void OnDisconnect (const ConnectionInfo &id)
 
virtual void OnServer ()
 
virtual void OnGetRun ()
 
virtual void OnConfigure (const Configuration &param)
 
virtual void OnPrepareRun (unsigned runnumber)
 
virtual void OnStopRun ()
 
virtual void OnReceive (const ConnectionInfo &id, std::shared_ptr< Event > ev)
 
virtual void OnCompleteEvent ()
 
virtual void OnStatus ()
 
void DataThread ()
 
- Public Member Functions inherited from eudaq::CommandReceiver
 CommandReceiver (const std::string &type, const std::string &name, const std::string &runcontrol, bool startthread=true)
 
void SetConnectionState (ConnectionState::State state=ConnectionState::STATE_UNCONF, const std::string &info="")
 
int GetConnectionState ()
 
virtual void OnInitialise (const Configuration &param)
 
virtual void OnStartRun (unsigned)
 
virtual void OnTerminate ()
 
virtual void OnReset ()
 
virtual void OnData (const std::string &)
 
virtual void OnLog (const std::string &)
 
virtual void OnIdle ()
 
virtual void OnClear ()
 
virtual void OnUnrecognised (const std::string &, const std::string &)
 
void Process (int timeout)
 
void CommandThread ()
 
void StartThread ()
 

Additional Inherited Members

- Protected Attributes inherited from eudaq::CommandReceiver
ConnectionState m_connectionstate
 
TransportClientm_cmdclient
 

Detailed Description

Implements the functionality of the File Writer application.


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