Cern
LibTmsApi 2.3.0
Tms::TmsEventServerList Class Reference

#include <TmsEventServerList.h>

Public Member Functions

 TmsEventServerList ()
 
 ~TmsEventServerList ()
 
BError append (BString name)
 
BError del (BString name)
 
BError errorEvent (BUInt32 cycleNumber, BError error)
 This event function gets called on a system error. The errorEvent object contains and error number and string describing the error. The getStatus() call can be used to fetch further information.
 
BError cycleStartEvent (BUInt32 cycleNumber)
 This event function gets called on the CYCLE_START event with the cycle number about to be processed.
 
BError cycleStopEvent (BUInt32 cycleNumber)
 This event function gets called on the CYCLE_END event with the cycle number completed.
 
BError dataEvent (DataInfo dataInfo)
 This event function gets called when some requested data becomes available. The DataInfo object contains information on the data. The getData() call can be used to fetch the actual data.
 

Private Attributes

BMutex olock
 
BList< TmsEvent * > oeventServers
 

Constructor & Destructor Documentation

◆ TmsEventServerList()

Tms::TmsEventServerList::TmsEventServerList ( )

◆ ~TmsEventServerList()

Tms::TmsEventServerList::~TmsEventServerList ( )

Member Function Documentation

◆ append()

BError Tms::TmsEventServerList::append ( BString  name)

◆ cycleStartEvent()

BError Tms::TmsEventServerList::cycleStartEvent ( BUInt32  cycleNumber)

This event function gets called on the CYCLE_START event with the cycle number about to be processed.

◆ cycleStopEvent()

BError Tms::TmsEventServerList::cycleStopEvent ( BUInt32  cycleNumber)

This event function gets called on the CYCLE_END event with the cycle number completed.

◆ dataEvent()

BError Tms::TmsEventServerList::dataEvent ( DataInfo  dataInfo)

This event function gets called when some requested data becomes available. The DataInfo object contains information on the data. The getData() call can be used to fetch the actual data.

◆ del()

BError Tms::TmsEventServerList::del ( BString  name)

◆ errorEvent()

BError Tms::TmsEventServerList::errorEvent ( BUInt32  cycleNumber,
BError  error 
)

This event function gets called on a system error. The errorEvent object contains and error number and string describing the error. The getStatus() call can be used to fetch further information.

Member Data Documentation

◆ oeventServers

BList<TmsEvent*> Tms::TmsEventServerList::oeventServers
private

◆ olock

BMutex Tms::TmsEventServerList::olock
private

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