baci::RecoverableObject − |
#include <baciRecoverableObject.h> Inherited by baci::EventStrategy, baci::Monitor< ACS_MONITOR_C >, and baci::MonitorBasic< ACS_MONITOR_BASIC_C >. |
Public Member Functions |
virtual ~RecoverableObject () |
virtual int getId (void)=0 |
virtual const char * getName (void)=0 |
virtual const char * getObjectState (void)=0 |
virtual void setObjectState (const char *state)=0 |
Interface which recoverable classes must implement This interface provides all methods needed by BACIRecoveryManager to create unique stringified data containing object state. Author: |
Matej Sekoranja, Jozef Stefan Institute, Slovenia |
See also: |
BACIRecoveryManager |
virtual baci::RecoverableObject::~RecoverableObject () [inline, virtual] Destructor |
virtual int baci::RecoverableObject::getId (void) [pure virtual] Get object’s ’recovery’ id; each object type sould have unique id |
Returns: |
object’s id |
Implemented in baci::AlarmEventStrategy< T, TPROP, TALARM >, baci::AlarmSystemMonitorBase, baci::EventStrategy, baci::AlarmEventStrategy< CORBA::Boolean, ROboolean, ACS::Alarmboolean >, baci::AlarmEventStrategy< ACS::booleanSeq, RObooleanSeq, ACS::Alarmboolean >, and baci::AlarmEventStrategy< ACS::pattern, ROpatternImpl, ACS::Alarmpattern >. |
virtual const char* baci::RecoverableObject::getName (void) [pure virtual] Returns objects name; each instance should have unique name |
Returns: |
object’s name |
Implemented in baci::AlarmEventStrategy< T, TPROP, TALARM >, baci::AlarmSystemMonitorBase, baci::EventStrategy, baci::AlarmEventStrategy< CORBA::Boolean, ROboolean, ACS::Alarmboolean >, baci::AlarmEventStrategy< ACS::booleanSeq, RObooleanSeq, ACS::Alarmboolean >, and baci::AlarmEventStrategy< ACS::pattern, ROpatternImpl, ACS::Alarmpattern >. |
virtual const char* baci::RecoverableObject::getObjectState (void) [pure virtual] Get object’s state represented as string |
Returns: |
pointer to stringified object’s state |
Implemented in baci::AlarmEventStrategy< T, TPROP, TALARM >, baci::AlarmSystemMonitorBase, baci::EventStrategy, baci::AlarmEventStrategy< CORBA::Boolean, ROboolean, ACS::Alarmboolean >, baci::AlarmEventStrategy< ACS::booleanSeq, RObooleanSeq, ACS::Alarmboolean >, and baci::AlarmEventStrategy< ACS::pattern, ROpatternImpl, ACS::Alarmpattern >. |
virtual void baci::RecoverableObject::setObjectState (const char * state) [pure virtual] Set object’s state stored in given string |
Parameters: |
stringified object’s state |
Implemented in baci::AlarmEventStrategy< T, TPROP, TALARM >, baci::AlarmSystemMonitorBase, baci::EventStrategy, baci::AlarmEventStrategy< CORBA::Boolean, ROboolean, ACS::Alarmboolean >, baci::AlarmEventStrategy< ACS::booleanSeq, RObooleanSeq, ACS::Alarmboolean >, and baci::AlarmEventStrategy< ACS::pattern, ROpatternImpl, ACS::Alarmpattern >. |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |