Public Member Functions | Private Member Functions | Private Attributes

MyROPatternProperty Class Reference

#include <baciTestAlarmClassImpl.h>

Inheritance diagram for MyROPatternProperty:
Inheritance graph
[legend]
Collaboration diagram for MyROPatternProperty:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyROPatternProperty (const ACE_CString &name, baci::BACIComponent *component_p, baci::ROpattern *roPatternProperty_p)
virtual void setValue (baci::BACIProperty *property_p, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut)

Private Member Functions

void operator= (const MyROPatternProperty &)

Private Attributes

baci::ROpatternm_roPatternProperty_p

Constructor & Destructor Documentation

MyROPatternProperty::MyROPatternProperty ( const ACE_CString &  name,
baci::BACIComponent component_p,
baci::ROpattern roPatternProperty_p 
)

Constuctor

Parameters:
name property name (e.q. rwDoubleProperty) This is also the name that will be used to find the configuration data for the property in the Configuration Database.
component_p parent of the property
roPatternProperty_p reference to the associated pattern property

Member Function Documentation

void MyROPatternProperty::operator= ( const MyROPatternProperty  )  [private]
virtual void MyROPatternProperty::setValue ( baci::BACIProperty property_p,
baci::BACIValue value_p,
Completion completion,
CBDescOut descOut 
) [virtual]

Set value method (value mutator) We add this to override the setValue method inherited from RWdouble. We do this to make the RW property symetric to the RO property passed to the constructor.

Parameters:
property_p property which requested value
value_p value to be returned
completion error handling structure
descOut callback descriptor


Member Data Documentation

m_roPatternProperty_p is never created in this class. It just points to the ROpattern passed to this class's constructor. This is done so that we can synchronize this class and the ROpattern's value.


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