TMCDB::MonitorPointBase

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

TMCDB::MonitorPointBase −

SYNOPSIS

#include <MonitorPoint.h>

Inherited by TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TBASE >, TMCDB::EnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >.

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)=0

activate corba object

virtual void deactivate (maci::ContainerServices *cs)=0

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::Subscription_var subscription_m

monitor of the property

ACS::OffShoot_var monitorCallback_m

Subscription for the alarm of the property.

ACS::OffShoot_var alarmCallback_m

callback CORBA reference

unsigned int curSeqPos_m

callback CORBA reference

unsigned int curSeqInit_m

current position to write in the sequence

bool bufferFull

current init of the circular buffer

unsigned int seqLen_m

status of buffer. If false data is sorted normally. If true buffer is full (data is stored but old data lost)

ACE_Thread_Mutex switchMutex_m

sequence length

bool monitorSuppressed_m

bool alarmSuppressed_m

double alarmTimerTrigger_m

CORBA::Long backLogSize_m

Static Protected Attributes

static const unsigned int maxSeqSegments_m = 2

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) [pure virtual]

activate corba object

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >, TMCDB::ROMonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TACB, TBASE, TSEQ, TALARM >, TMCDB::EnumMonitorPoint, TMCDB::ROEnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TBASE >.

virtual void TMCDB::MonitorPointBase::deactivate (maci::ContainerServices * cs) [pure virtual]

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >, TMCDB::ROMonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TACB, TBASE, TSEQ, TALARM >, TMCDB::EnumMonitorPoint, TMCDB::ROEnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TBASE >.

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

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >, TMCDB::ROMonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TACB, TBASE, TSEQ, TALARM >, TMCDB::EnumMonitorPoint, TMCDB::ROEnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TBASE >.

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 >, TMCDB::EnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, 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]

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

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 >, TMCDB::ROMonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TACB, TBASE, TSEQ, TALARM >, TMCDB::EnumMonitorPoint, TMCDB::ROEnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TBASE >.

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

stop monitoring the property (monitor point)

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >, TMCDB::ROMonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TACB, TBASE, TSEQ, TALARM >, TMCDB::EnumMonitorPoint, TMCDB::ROEnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TBASE >.

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

Implemented in TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TCB, TBASE >, TMCDB::ROMonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TACB, TBASE, TSEQ, TALARM >, TMCDB::EnumMonitorPoint, TMCDB::ROEnumMonitorPoint, and TMCDB::MonitorPoint< T, TBLOB_SEQ, TPROP, TMCB, TBASE >.

Member Data Documentation

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

callback CORBA reference

bool TMCDB::MonitorPointBase::alarmSuppressed_m [protected]

double TMCDB::MonitorPointBase::alarmTimerTrigger_m [protected]

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

property name

CORBA::Long TMCDB::MonitorPointBase::backLogSize_m [protected]

bool TMCDB::MonitorPointBase::bufferFull [protected]

current init of the circular buffer

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

current position to write in the sequence

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

callback CORBA reference

const unsigned int TMCDB::MonitorPointBase::maxSeqSegments_m = 2 [static, protected]

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

here we put the values

MonitorBlob& TMCDB::MonitorPointBase::monitorBlob_m [protected]

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

Subscription for the alarm of the property.

bool TMCDB::MonitorPointBase::monitorSuppressed_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]

status of buffer. If false data is sorted normally. If true buffer is full (data is stored but old data lost)

ACS::Subscription_var TMCDB::MonitorPointBase::subscription_m [protected]

monitor of the property

ACE_Thread_Mutex TMCDB::MonitorPointBase::switchMutex_m [protected]

sequence length

double TMCDB::MonitorPointBase::valuePercentTrigger_m [protected]

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.