#include <baciAlarm_T.h>
Public Member Functions | |
AlarmEventStrategy (TPROP *property, EventDispatcher *eventDispatcher) | |
AlarmEventStrategy (Callback_ptr callback_p, const CBDescIn &descIn, const ACS::TimeInterval &interval, TPROP *property, EventDispatcher *eventDispatcher) | |
virtual | ~AlarmEventStrategy () |
bool | failed () |
void | succeeded () |
CORBA::Object_ptr | getCORBAReference () const |
virtual bool | isSuspended () |
virtual int | getId (void) |
virtual const char * | getName (void) |
virtual const char * | getObjectState (void) |
virtual void | setObjectState (const char *state) |
virtual void | suspend () |
virtual void | resume () |
virtual void | destroy () |
Static Public Attributes | |
static const int | maxFailureCount |
Protected Attributes | |
TPROP * | property_mp |
TALARM * | callback_mp |
int | alarmRaised_m |
Private Member Functions | |
void | operator= (const AlarmEventStrategy &) |
AlarmEventStrategy (const AlarmEventStrategy &) | |
Private Attributes | |
ACE_CString | name_m |
bool | suspended_m |
int | failureCount_m |
CBDescIn | desc_mIn |
ACS::TimeInterval | interval_m |
EventDispatcher * | eventDispatcher_mp |
CORBA::Object_ptr | reference_mp |
baci::AlarmEventStrategy< T, TPROP, TALARM >::AlarmEventStrategy | ( | TPROP * | property, | |
EventDispatcher * | eventDispatcher | |||
) |
baci::AlarmEventStrategy< T, TPROP, TALARM >::AlarmEventStrategy | ( | Callback_ptr | callback_p, | |
const CBDescIn & | descIn, | |||
const ACS::TimeInterval & | interval, | |||
TPROP * | property, | |||
EventDispatcher * | eventDispatcher | |||
) |
virtual baci::AlarmEventStrategy< T, TPROP, TALARM >::~AlarmEventStrategy | ( | ) | [virtual] |
baci::AlarmEventStrategy< T, TPROP, TALARM >::AlarmEventStrategy | ( | const AlarmEventStrategy< T, TPROP, TALARM > & | ) | [private] |
ALMA C++ coding standards state copy constructors should be disabled.
virtual void baci::AlarmEventStrategy< T, TPROP, TALARM >::destroy | ( | ) | [virtual] |
Destroy event subscription
Implements baci::EventStrategy.
bool baci::AlarmEventStrategy< T, TPROP, TALARM >::failed | ( | ) |
CORBA::Object_ptr baci::AlarmEventStrategy< T, TPROP, TALARM >::getCORBAReference | ( | ) | const [inline] |
virtual int baci::AlarmEventStrategy< T, TPROP, TALARM >::getId | ( | void | ) | [virtual] |
Get object's "recovery" id; each object type sould have unique id
Implements baci::EventStrategy.
virtual const char* baci::AlarmEventStrategy< T, TPROP, TALARM >::getName | ( | void | ) | [virtual] |
Returns objects name; each instance should have unique name
Implements baci::EventStrategy.
virtual const char* baci::AlarmEventStrategy< T, TPROP, TALARM >::getObjectState | ( | void | ) | [virtual] |
Get object's state represented as string
Implements baci::EventStrategy.
virtual bool baci::AlarmEventStrategy< T, TPROP, TALARM >::isSuspended | ( | ) | [inline, virtual] |
Is suspended
Implements baci::EventStrategy.
void baci::AlarmEventStrategy< T, TPROP, TALARM >::operator= | ( | const AlarmEventStrategy< T, TPROP, TALARM > & | ) | [private] |
ALMA C++ coding standards state assignment operators should be disabled.
virtual void baci::AlarmEventStrategy< T, TPROP, TALARM >::resume | ( | ) | [virtual] |
Resume suspended event subscription
Implements baci::EventStrategy.
virtual void baci::AlarmEventStrategy< T, TPROP, TALARM >::setObjectState | ( | const char * | state | ) | [virtual] |
Set object's state stored in given string
stringified | object's state |
Implements baci::EventStrategy.
void baci::AlarmEventStrategy< T, TPROP, TALARM >::succeeded | ( | ) |
virtual void baci::AlarmEventStrategy< T, TPROP, TALARM >::suspend | ( | ) | [virtual] |
Suspend event subscription
Implements baci::EventStrategy.
int baci::AlarmEventStrategy< T, TPROP, TALARM >::alarmRaised_m [protected] |
TALARM* baci::AlarmEventStrategy< T, TPROP, TALARM >::callback_mp [protected] |
CBDescIn baci::AlarmEventStrategy< T, TPROP, TALARM >::desc_mIn [private] |
EventDispatcher* baci::AlarmEventStrategy< T, TPROP, TALARM >::eventDispatcher_mp [private] |
int baci::AlarmEventStrategy< T, TPROP, TALARM >::failureCount_m [private] |
ACS::TimeInterval baci::AlarmEventStrategy< T, TPROP, TALARM >::interval_m [private] |
const int baci::AlarmEventStrategy< T, TPROP, TALARM >::maxFailureCount [static] |
ACE_CString baci::AlarmEventStrategy< T, TPROP, TALARM >::name_m [private] |
TPROP* baci::AlarmEventStrategy< T, TPROP, TALARM >::property_mp [protected] |
CORBA::Object_ptr baci::AlarmEventStrategy< T, TPROP, TALARM >::reference_mp [private] |
bool baci::AlarmEventStrategy< T, TPROP, TALARM >::suspended_m [private] |