Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

baci::BACIProperty Class Reference

#include <baciBACIProperty.h>

Collaboration diagram for baci::BACIProperty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BACIProperty (const ACE_CString &name_, PropertyImplementator *propertyImplementator_, CharacteristicModelImpl *characteristicModel_, const BACIValue &defaultValue_, BACIComponent *component_p)
 ~BACIProperty ()
const char * getName () const
BACIValue::Type getType () const
PropertyImplementatorgetPropertyImplementator () const
CharacteristicModelImplgetCharacteristicModel () const
void getValue (BACIProperty *property, BACIValue *value, Completion &completion, CBDescOut &descOut)
BACIComponentgetComponent () const
int getMonitorCount () const
BACIMonitorgetMonitorAt (int pos) const
bool hasTriggerOnValueMonitor () const
TimeInterval getPollInterval () const
TimeInterval getLastPollTime () const
TimeInterval getMonMinTriggerTime () const
BACIValue getLastValue () const
void setPollInterval (const TimeInterval &_pollInterval)
void setLastPollTime (const TimeInterval &_lastPollTime)
void setMonMinTriggerTime (const TimeInterval &_interval)
void setLastValue (const BACIValue &_lastValue)
void dispatchMonitors (Completion &completion, CBDescOut &descOut)
void updateMonitorStates ()
bool isInDestructionState () const

Protected Member Functions

void addMonitor (BACIMonitor *monitor)
void removeMonitor (BACIMonitor *monitor)
TimeInterval GCD (TimeInterval t1, TimeInterval t2)

Private Member Functions

void operator= (const BACIProperty &)
 BACIProperty (const BACIProperty &)

Private Attributes

ACE_CString name_m
PropertyImplementatorpropertyImplementator_mp
CharacteristicModelImplcharacteristicModel_mp
BACIValue lastValue_m
BACIComponentcomponent_mp
BACIMonitorVector monitorVector_m
bool triggerOnValueMonitor_m
TimeInterval pollInterval_m
TimeInterval lastPollTime_m
TimeInterval monMinTriggerTime_m
BACIMonitorarchiver_mp
BACIValue::Type type_m
bool inDestructionState_m
BACIMutex monitorVectorMutex_m

Friends

class BACIComponent
class BACIMonitor

Detailed Description

Class represeting BACI Property (Paramenter)
Author:
Matej Sekoranja, Jozef Stefan Institute, Slovenia


Constructor & Destructor Documentation

baci::BACIProperty::BACIProperty const ACE_CString &  name_,
PropertyImplementator propertyImplementator_,
CharacteristicModelImpl characteristicModel_,
const BACIValue defaultValue_,
BACIComponent component_p
 

Constructor

Parameters:
name_ property name
propertyImplementator_ property implementator refernce
characteristicModel characteristic model to be used to retrieve data
defaultValue_ property default value (identifies type of this property - value MUST NOT BE NullValue!!!)
component_p property owner

baci::BACIProperty::~BACIProperty  ) 
 

Destructor

baci::BACIProperty::BACIProperty const BACIProperty  )  [private]
 

ALMA C++ coding standards state copy constructors should be disabled.


Member Function Documentation

void baci::BACIProperty::addMonitor BACIMonitor monitor  )  [protected]
 

void baci::BACIProperty::dispatchMonitors Completion completion,
CBDescOut descOut
 

TimeInterval baci::BACIProperty::GCD TimeInterval  t1,
TimeInterval  t2
[protected]
 

CharacteristicModelImpl* baci::BACIProperty::getCharacteristicModel  )  const [inline]
 

BACIComponent* baci::BACIProperty::getComponent  )  const [inline]
 

TimeInterval baci::BACIProperty::getLastPollTime  )  const [inline]
 

BACIValue baci::BACIProperty::getLastValue  )  const [inline]
 

BACIMonitor* baci::BACIProperty::getMonitorAt int  pos  )  const [inline]
 

int baci::BACIProperty::getMonitorCount  )  const [inline]
 

TimeInterval baci::BACIProperty::getMonMinTriggerTime  )  const [inline]
 

const char* baci::BACIProperty::getName void   )  const [inline]
 

TimeInterval baci::BACIProperty::getPollInterval  )  const [inline]
 

PropertyImplementator* baci::BACIProperty::getPropertyImplementator  )  const [inline]
 

BACIValue::Type baci::BACIProperty::getType  )  const [inline]
 

void baci::BACIProperty::getValue BACIProperty property,
BACIValue value,
Completion completion,
CBDescOut descOut
[inline]
 

Get value method (value accessor)

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

bool baci::BACIProperty::hasTriggerOnValueMonitor  )  const [inline]
 

bool baci::BACIProperty::isInDestructionState  )  const [inline]
 

void baci::BACIProperty::operator= const BACIProperty  )  [private]
 

ALMA C++ coding standards state assignment operators should be disabled.

void baci::BACIProperty::removeMonitor BACIMonitor monitor  )  [protected]
 

void baci::BACIProperty::setLastPollTime const TimeInterval _lastPollTime  )  [inline]
 

void baci::BACIProperty::setLastValue const BACIValue _lastValue  )  [inline]
 

void baci::BACIProperty::setMonMinTriggerTime const TimeInterval _interval  )  [inline]
 

void baci::BACIProperty::setPollInterval const TimeInterval _pollInterval  )  [inline]
 

void baci::BACIProperty::updateMonitorStates  ) 
 


Friends And Related Function Documentation

friend class BACIComponent [friend]
 

friend class BACIMonitor [friend]
 


Member Data Documentation

BACIMonitor* baci::BACIProperty::archiver_mp [private]
 

CharacteristicModelImpl* baci::BACIProperty::characteristicModel_mp [private]
 

BACIComponent* baci::BACIProperty::component_mp [private]
 

bool baci::BACIProperty::inDestructionState_m [private]
 

TimeInterval baci::BACIProperty::lastPollTime_m [private]
 

BACIValue baci::BACIProperty::lastValue_m [private]
 

BACIMonitorVector baci::BACIProperty::monitorVector_m [private]
 

BACIMutex baci::BACIProperty::monitorVectorMutex_m [private]
 

TimeInterval baci::BACIProperty::monMinTriggerTime_m [private]
 

ACE_CString baci::BACIProperty::name_m [private]
 

TimeInterval baci::BACIProperty::pollInterval_m [private]
 

PropertyImplementator* baci::BACIProperty::propertyImplementator_mp [private]
 

bool baci::BACIProperty::triggerOnValueMonitor_m [private]
 

BACIValue::Type baci::BACIProperty::type_m [private]
 


The documentation for this class was generated from the following file:
Generated on Sun Oct 29 02:31:46 2006 for ACS C++ API by doxygen 1.3.6