Public Member Functions | Protected Attributes | Static Protected Attributes

TMCDB::MonitorPointBase Class Reference

#include <MonitorPoint.h>

Inheritance diagram for TMCDB::MonitorPointBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MonitorPointBase (const char *propertyName, const ACS::TimeInterval &archivingInterval, TMCDB::DataValueType typeOfData, MonitorBlob &mb)
virtual ~MonitorPointBase ()
void setPropertySerialNumber (serialNumberTypeSeq &sn)
ACE_CString & getPropertyName ()
CORBA::Boolean negotiate (ACS::TimeInterval, const ACS::CBDescOut &)
virtual void activate (maci::ContainerServices *cs)
 activate corba object
virtual void startMonitoring ()=0
 start monitoring the property (monitor point)
virtual void stopMonitoring ()=0
 stop monitoring the property (monitor point)
virtual void fillSeq ()=0
 method that puts sequence of data blobDataSeq to the any
virtual void set_archiving_interval (ACS::TimeInterval time)=0
virtual void suppress_archiving ()=0
virtual void enable_archiving ()=0

Protected Attributes

ACE_CString propertyName_m
ACS::TimeInterval archivingInterval_m
 property name
double valuePercentTrigger_m
MonitorBlob & monitorBlob_m
ACS::Monitor_var monitor_m
 here we put the values
ACS::OffShoot_var callback_m
 monitor of the property
unsigned int curSeqPos_m
 callback CORBA reference
unsigned int seqLen_m
 current position to write in the sequence
ACE_Thread_Mutex switchMutex_m
 sequence length
bool suppressed_m

Static Protected Attributes

static const unsigned int prealocSeqLen_m = 100

Detailed Description

Class to hold data of a monitor point


Constructor & Destructor Documentation

TMCDB::MonitorPointBase::MonitorPointBase ( const char *  propertyName,
const ACS::TimeInterval &  archivingInterval,
TMCDB::DataValueType  typeOfData,
MonitorBlob &  mb 
)
virtual TMCDB::MonitorPointBase::~MonitorPointBase (  )  [virtual]

Member Function Documentation

virtual void TMCDB::MonitorPointBase::activate ( maci::ContainerServices cs  )  [virtual]

activate corba object

virtual void TMCDB::MonitorPointBase::enable_archiving (  )  [pure virtual]
virtual void TMCDB::MonitorPointBase::fillSeq (  )  [pure virtual]

method that puts sequence of data blobDataSeq to the any

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >.

ACE_CString& TMCDB::MonitorPointBase::getPropertyName (  )  [inline]

References propertyName_m.

CORBA::Boolean TMCDB::MonitorPointBase::negotiate ( ACS::TimeInterval  ,
const ACS::CBDescOut  
) [inline]
virtual void TMCDB::MonitorPointBase::set_archiving_interval ( ACS::TimeInterval  time  )  [pure virtual]
void TMCDB::MonitorPointBase::setPropertySerialNumber ( serialNumberTypeSeq &  sn  ) 
virtual void TMCDB::MonitorPointBase::startMonitoring (  )  [pure virtual]

start monitoring the property (monitor point)

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >.

virtual void TMCDB::MonitorPointBase::stopMonitoring (  )  [pure virtual]

stop monitoring the property (monitor point)

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >.

virtual void TMCDB::MonitorPointBase::suppress_archiving (  )  [pure virtual]

Member Data Documentation

ACS::TimeInterval TMCDB::MonitorPointBase::archivingInterval_m [protected]

property name

ACS::OffShoot_var TMCDB::MonitorPointBase::callback_m [protected]

monitor of the property

unsigned int TMCDB::MonitorPointBase::curSeqPos_m [protected]

callback CORBA reference

ACS::Monitor_var TMCDB::MonitorPointBase::monitor_m [protected]

here we put the values

MonitorBlob& TMCDB::MonitorPointBase::monitorBlob_m [protected]
const unsigned int TMCDB::MonitorPointBase::prealocSeqLen_m = 100 [static, protected]
ACE_CString TMCDB::MonitorPointBase::propertyName_m [protected]

Referenced by getPropertyName().

unsigned int TMCDB::MonitorPointBase::seqLen_m [protected]

current position to write in the sequence

ACE_Thread_Mutex TMCDB::MonitorPointBase::switchMutex_m [protected]

sequence length


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