TMCDB::MonitorComponent − |
#include <MonitorComponent.h> |
Public Member Functions |
MonitorComponent (ACS::CharacteristicComponent_ptr comp, maci::ContainerServices *cs) |
ctor where , MonitorDataBlock is also created. |
virtual ~MonitorComponent () |
void startMonitoring () |
void stopMonitoring () |
bool addProperty (const char *propName) |
bool addProperty (const char *propName, const char *pType, ACS::Property *propRef, ACS::TimeInterval &monitoringInterval) |
void addAllProperties () |
adds all component’s properties |
void fillSeq () |
MonitorDataBlock & getMonitorDataBlock () |
void setDeviceSerialNumber (serialNumberType sn) |
void setPropertySerialNumber (char *propertyName, serialNumberTypeSeq sn) |
void set_archiving_interval (const char *propertyName, ACS::TimeInterval time) |
void suppress_archiving (const char *propertyName) |
void enable_archiving (const char *propertyName) |
Private Member Functions |
ACS::TimeInterval propertyArchivingInterval (ACS::PropertyDesc *) |
Private Attributes |
std::vector< MonitorPointBase * > monitorPoints_m |
list of properties - points that we have to monitor |
ACS::CharacteristicComponent_var component_m |
component reference |
MonitorDataBlock monitorDataBlock_m |
here we collect data for the device |
unsigned int seqIndex_m |
index of last added property in monitorPoints_m and monitorDataBlock_m.monitorBlobs |
maci::ContainerServices * containerServices_m |
ACS::CharacteristicComponentDesc_var compDesc_m |
Description of the monitored characteristic component. |
CORBA::ULong numOfProp_m |
number of properties that monitored characteristic component has |
bool monitoring_m |
ACS::Time m_monitoringStartTime |
is monitoring turned on or off ? |
ACE_Thread_Mutex m_proMutex |
time when the monitoring started |
Class that represent a component/device whose properties are going to be monitored |
TMCDB::MonitorComponent::MonitorComponent (ACS::CharacteristicComponent_ptr comp, maci::ContainerServices * cs) |
ctor where , MonitorDataBlock is also created. |
virtual TMCDB::MonitorComponent::~MonitorComponent () [virtual] |
void TMCDB::MonitorComponent::addAllProperties () |
adds all component’s properties |
bool TMCDB::MonitorComponent::addProperty (const char * propName) adds a property with certain name the method has to find the type and monitoring interval |
bool TMCDB::MonitorComponent::addProperty (const char * propName, const char * pType, ACS::Property * propRef, ACS::TimeInterval & monitoringInterval) |
void TMCDB::MonitorComponent::enable_archiving (const char * propertyName) |
void TMCDB::MonitorComponent::fillSeq () |
MonitorDataBlock& TMCDB::MonitorComponent::getMonitorDataBlock () [inline] |
References monitorDataBlock_m. |
ACS::TimeInterval TMCDB::MonitorComponent::propertyArchivingInterval (ACS::PropertyDesc *) [private] returns archiving interval for the property if the interval is 0 means that shall not be archived for archive |
void TMCDB::MonitorComponent::set_archiving_interval (const char * propertyName, ACS::TimeInterval time) |
void TMCDB::MonitorComponent::setDeviceSerialNumber (serialNumberType sn) |
void TMCDB::MonitorComponent::setPropertySerialNumber (char * propertyName, serialNumberTypeSeq sn) |
void TMCDB::MonitorComponent::startMonitoring () |
void TMCDB::MonitorComponent::stopMonitoring () |
void TMCDB::MonitorComponent::suppress_archiving (const char * propertyName) |
ACS::CharacteristicComponentDesc_var TMCDB::MonitorComponent::compDesc_m [private] |
Description of the monitored characteristic component. |
ACS::CharacteristicComponent_var TMCDB::MonitorComponent::component_m [private] |
component reference |
maci::ContainerServices* TMCDB::MonitorComponent::containerServices_m [private] |
ACS::Time TMCDB::MonitorComponent::m_monitoringStartTime [private] |
is monitoring turned on or off ? |
ACE_Thread_Mutex TMCDB::MonitorComponent::m_proMutex [private] |
time when the monitoring started |
MonitorDataBlock TMCDB::MonitorComponent::monitorDataBlock_m [private] |
here we collect data for the device Referenced by getMonitorDataBlock(). |
bool TMCDB::MonitorComponent::monitoring_m [private] |
std::vector<MonitorPointBase*> TMCDB::MonitorComponent::monitorPoints_m [private] |
list of properties - points that we have to monitor |
CORBA::ULong TMCDB::MonitorComponent::numOfProp_m [private] |
number of properties that monitored characteristic component has |
unsigned int TMCDB::MonitorComponent::seqIndex_m [private] |
index of last added property in monitorPoints_m and monitorDataBlock_m.monitorBlobs |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |