Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

baci::ROcommonImpl< ACS_RO_C > Class Template Reference

#include <baciROcommonImpl_T.h>

Inheritance diagram for baci::ROcommonImpl< ACS_RO_C >:
Inheritance graph
[legend]
Collaboration diagram for baci::ROcommonImpl< ACS_RO_C >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ROcommonImpl (const ACE_CString &name, BACIComponent *component_p, DevIO< TM > *devIO, bool flagdeldevIO)
 ROcommonImpl (bool init, const ACE_CString &name, BACIComponent *component_p, DevIO< TM > *devIO, bool flagdeldevIO)
virtual ~ROcommonImpl ()
void setAlarmFaultFamily (const char *ff)
void setAlarmFaultMember (const char *fm)
const char * getAlarmFaultFamily ()
const char * getAlarmFaultMember ()
int getAlarmLevel ()

Protected Member Functions

virtual bool readCharacteristics ()

Protected Attributes

EventDispatchermonitorEventDispatcher_mp
 Event dispatcher;.
ACS::TimeInterval alarmTimerTrig_m
ACE_CString alarmFaultFamily_m
ACE_CString alarmFaultMember_m
int alarmLevel_m
baci::AlarmSystemMonitorBasealarmSystemMonitor_mp

Private Member Functions

void operator= (const ROcommonImpl &)
 ROcommonImpl (const ROcommonImpl &)

Detailed Description

template<ACS_RO_C>
class baci::ROcommonImpl< ACS_RO_C >

Implementation of ROcommon property

Warning:
We have virtual inheritance from PortableServer::RefCountServantBase because of a bug in gcc 2.95 (see SPR. ALMASW2001075)

Constructor & Destructor Documentation

template<ACS_RO_C >
baci::ROcommonImpl< ACS_RO_C >::ROcommonImpl ( const ACE_CString &  name,
BACIComponent component_p,
DevIO< TM > *  devIO,
bool  flagdeldevIO 
)

Constuctor (old one)

Parameters:
name property name (e.q. AMSMount:decliantion)
component_p parent of the property Constuctor
name property name (e.q. AMSMount:decliantion)
component_p parent of the property
template<ACS_RO_C >
baci::ROcommonImpl< ACS_RO_C >::ROcommonImpl ( bool  init,
const ACE_CString &  name,
BACIComponent component_p,
DevIO< TM > *  devIO,
bool  flagdeldevIO 
)

Constuctor that just calls readCharacterstics

Parameters:
name property name (e.q. AMSMount:decliantion)
template<ACS_RO_C >
virtual baci::ROcommonImpl< ACS_RO_C >::~ROcommonImpl (  )  [virtual]

Destructor

template<ACS_RO_C >
baci::ROcommonImpl< ACS_RO_C >::ROcommonImpl ( const ROcommonImpl< ACS_RO_C > &   )  [private]

ALMA C++ coding standards state copy constructors should be disabled.


Member Function Documentation

template<ACS_RO_C >
const char* baci::ROcommonImpl< ACS_RO_C >::getAlarmFaultFamily (  )  [inline]

Accessor method for alarm fault family

template<ACS_RO_C >
const char* baci::ROcommonImpl< ACS_RO_C >::getAlarmFaultMember (  )  [inline]

Accessor method for alarm fault member

template<ACS_RO_C >
int baci::ROcommonImpl< ACS_RO_C >::getAlarmLevel (  )  [inline]

Accessor method for alarm level

template<ACS_RO_C >
void baci::ROcommonImpl< ACS_RO_C >::operator= ( const ROcommonImpl< ACS_RO_C > &   )  [private]

ALMA C++ coding standards state assignment operators should be disabled.

template<ACS_RO_C >
virtual bool baci::ROcommonImpl< ACS_RO_C >::readCharacteristics (  )  [protected, virtual]

Read characteristics from CDB

Parameters:
propertyName name of the property whose characteristics to read
Returns:
true on success, false on failure

Reimplemented from baci::PcommonImpl< ACS_P_TL >.

template<ACS_RO_C >
void baci::ROcommonImpl< ACS_RO_C >::setAlarmFaultFamily ( const char *  ff  ) 

Sets alarm fault family *

Exceptions:
ACSErrTypeCommon::NullPointerExImpl in case if the alarm is disabled (alarm_timer_trig==0) just a warning message is logged
Parameters:
fault family
Deprecated:
template<ACS_RO_C >
void baci::ROcommonImpl< ACS_RO_C >::setAlarmFaultMember ( const char *  fm  ) 

Sets alarm fault member.

Exceptions:
ACSErrTypeCommon::NullPointerExImpl in case if the alarm is disabled (alarm_timer_trig==0) just a warning message is logged
Parameters:
fault member
Deprecated:

Member Data Documentation

template<ACS_RO_C >
ACE_CString baci::ROcommonImpl< ACS_RO_C >::alarmFaultFamily_m [protected]
template<ACS_RO_C >
ACE_CString baci::ROcommonImpl< ACS_RO_C >::alarmFaultMember_m [protected]
template<ACS_RO_C >
int baci::ROcommonImpl< ACS_RO_C >::alarmLevel_m [protected]
template<ACS_RO_C >
baci::AlarmSystemMonitorBase* baci::ROcommonImpl< ACS_RO_C >::alarmSystemMonitor_mp [protected]

monitor which sends information (alarms) to the alarm system. It is pointer to the base class, and thus created in the inherted classes.

template<ACS_RO_C >
ACS::TimeInterval baci::ROcommonImpl< ACS_RO_C >::alarmTimerTrig_m [protected]
template<ACS_RO_C >
EventDispatcher* baci::ROcommonImpl< ACS_RO_C >::monitorEventDispatcher_mp [protected]

Event dispatcher;.


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