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

#include <Controller.hh>

Inheritance diagram for eudaq::Controller:
eudaq::CommandReceiver

Public Member Functions

 Controller (const std::string &name, const std::string &runcontrol)
 
- 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 OnConfigure (const Configuration &param)
 
virtual void OnPrepareRun (unsigned)
 
virtual void OnStartRun (unsigned)
 
virtual void OnStopRun ()
 
virtual void OnTerminate ()
 
virtual void OnReset ()
 
virtual void OnStatus ()
 
virtual void OnData (const std::string &)
 
virtual void OnLog (const std::string &)
 
virtual void OnServer ()
 
virtual void OnGetRun ()
 
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

The base class from which all Controllers should inherit. It is solely a CommandReceiver, listening to commands from RunControl.

Constructor & Destructor Documentation

eudaq::Controller::Controller ( const std::string &  name,
const std::string &  runcontrol 
)

The constructor.

Parameters
runcontrolA string containing the address of the RunControl to connect to.

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