EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
TestProducer Class Reference
Inheritance diagram for TestProducer:
eudaq::Producer eudaq::CommandReceiver eudaq::DataSender

Public Member Functions

 TestProducer (const std::string &name, const std::string &runcontrol)
 
void Event (const std::string &str)
 
void Event (unsigned size)
 
virtual void OnConfigure (const eudaq::Configuration &param)
 
virtual void OnStartRun (unsigned param)
 
virtual void OnStopRun ()
 
virtual void OnTerminate ()
 
virtual void OnReset ()
 
virtual void OnConnectionState ()
 
virtual void OnUnrecognised (const std::string &cmd, const std::string &param)
 
- Public Member Functions inherited from eudaq::Producer
 Producer (const std::string &name, const std::string &runcontrol)
 
virtual void OnData (const std::string &param)
 
- 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 OnPrepareRun (unsigned)
 
virtual void OnStatus ()
 
virtual void OnLog (const std::string &)
 
virtual void OnServer ()
 
virtual void OnGetRun ()
 
virtual void OnIdle ()
 
virtual void OnClear ()
 
void Process (int timeout)
 
void CommandThread ()
 
void StartThread ()
 
- Public Member Functions inherited from eudaq::DataSender
 DataSender (const std::string &type, const std::string &name)
 
void Connect (const std::string &server)
 
void SendEvent (const Event &)
 
void SendPacket (const AidaPacket &)
 

Public Attributes

unsigned m_run
 
unsigned m_ev
 
bool done
 
unsigned eventsize
 

Additional Inherited Members

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

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