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

#include <LogCollector.hh>

Inheritance diagram for eudaq::LogCollector:
eudaq::CommandReceiver PyLogCollector TestLogCollector

Public Member Functions

 LogCollector (const std::string &runcontrol, const std::string &listenaddress)
 
virtual void OnConnect (const ConnectionInfo &)
 
virtual void OnDisconnect (const ConnectionInfo &)
 
virtual void OnServer ()
 
virtual void OnReceive (const LogMessage &msg)=0
 
virtual ~LogCollector ()
 
virtual void OnStopRun ()
 
void LogThread ()
 
- 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 OnTerminate ()
 
virtual void OnReset ()
 
virtual void OnStatus ()
 
virtual void OnData (const std::string &)
 
virtual void OnLog (const std::string &)
 
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

Implements the functionality of the File Writer application.

Constructor & Destructor Documentation

eudaq::LogCollector::~LogCollector ( )
virtual

if (m_thread)/ pthread_join(m_thread, 0);


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