#include <baciCharacteristicComponentImpl.h>
Inheritance diagram for baci::CharacteristicComponentImpl:
Public Member Functions | |
CharacteristicComponentImpl (const ACE_CString &name, maci::ContainerServices *containerServices, bool monitoringProperties=true) | |
virtual | ~CharacteristicComponentImpl () |
BACIComponent * | getComponent () const |
virtual ACS::CharacteristicComponentDesc * | descriptor () |
void | addPropertyToDesc (ACS::Property_ptr prop) |
virtual void | __execute () |
virtual void | __aboutToAbort () |
virtual void | __cleanUp () |
void | startPropertiesMonitoring () |
void | stopPropertiesMonitoring () |
bool | isPropertiesMonitoringActive () |
Protected Attributes | |
ACS::CharacteristicComponentDesc_var | desc_m |
Private Member Functions | |
void | operator= (const CharacteristicComponentImpl &) |
CharacteristicComponentImpl (const CharacteristicComponentImpl &) | |
Private Attributes | |
bool | monitoringProperties_mp |
BACIComponent * | component_mp |
|
Constructor. The CharacteristicComponent shall be considered an abstract class and at the end of the constructor an CharacteristicComponent is not initilized (i.e. initilization() would return 1 == incomplete).
|
|
Destructor |
|
ALMA C++ coding standards state copy constructors should be disabled. |
|
The function stops the threads before calling aboutToAbort()
Reimplemented from acscomponent::ACSComponentImpl.
|
|
The function stops the threads before calling cleanUp()
Reimplemented from acscomponent::ACSComponentImpl.
|
|
The function creates and starts the thread before calling execute
Reimplemented from acscomponent::ACSComponentImpl.
|
|
Add a property to the descriptor desc_m
* |
|
Descriptor of the CharacteristicComponent This method returns a pointer to this CharacteristicComponent's descriptor. The descriptor contains data (i.e., DO reference, name, UID, etc) used by typical clients retrieved in only one network call. However, the descriptor ONLY contains named members that are declared by BACI and not a specific control system.
|
|
Get BACI Component instance of DO This function is used to return component_mp because inherited classes would not have access to it otherwise.
|
|
Returns true if monitoring of properties is turned on (=active), otherwise false
Reimplemented in BaciTestAlarmClassImpl, and BaciTestClassImpl.
|
|
ALMA C++ coding standards state assignment operators should be disabled. |
|
Method to start monitoring of the properties. If monitoring is already started it just remains active. If the thread has not been yet created, it creates one. If the thread has been already created, it just resumes it.
|
|
Method to stop monitoring of the properties. If the monitoring thread has not been created yet, or if monitring is already stopped (=monitoring thread is suspended), it just returns.
|
|
BACI Component instance This is a reference to the CORBA object |
|
ComponentDesc returned by the descriptor method. |
|
Signal if monitoring of properties is turned on or not. |