#include <DataCollector.hh>
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 ¶m) |
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 ¶m) |
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 |
TransportClient * | m_cmdclient |
Implements the functionality of the File Writer application.