! order of inheritance is important: RWcommonImpl has to become befor PcontImpl
More...
#include <baciRWcontImpl_T.h>
List of all members.
Public Member Functions |
| RWcontImpl (const ACE_CString &name, BACIComponent *component_p, DevIO< TM > *devIO=0, bool flagdeldevIO=false) |
| RWcontImpl (bool initValue, const ACE_CString &name, BACIComponent *component_p, DevIO< TM > *devIO=0, bool flagdeldevIO=false) |
virtual | ~RWcontImpl () |
virtual ActionRequest | invokeAction (int function, BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual void | setValue (BACIProperty *property, BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual ActionRequest | incrementAction (BACIComponent *component_p, int callbackID, const CBDescIn &descIn, BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual ActionRequest | decrementAction (BACIComponent *component_p, int callbackID, const CBDescIn &descIn, BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual TS | min_value () |
virtual TS | max_value () |
virtual void | increment (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void | decrement (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
Protected Member Functions |
virtual bool | readCharacteristics () |
Private Attributes |
TSM | min_value_m |
TSM | max_value_m |
Detailed Description
template<ACS_RW_C>
class baci::RWcontImpl< ACS_RW_C >
! order of inheritance is important: RWcommonImpl has to become befor PcontImpl
Implementation of RWcontImpl property
- Warning:
- We have virtual inheritance from PortableServer::RefCountServantBase because of a bug in gcc 2.95 (see SPR. ALMASW2001075)
Constructor & Destructor Documentation
Constuctor
- Parameters:
-
| name | property name (e.q. AMSMount:decliantion) |
| component_p | parent of the property |
Constuctor that has to be called from superclasses
- Parameters:
-
| name | property name (e.q. AMSMount:decliantion) |
| component_p | parent of the property |
Member Function Documentation
Action dispatcher function (overrides from Pcommon)
- Parameters:
-
| function | action funtion to be invoked |
| component_p | owner of the action |
| callbackID | id of the callback to be notified |
| descIn | callback descriptor (passed by client) |
| value | action data (e.g. value to be set) |
| completion | error handing structure |
| descOut | callback descriptor which will be passed to client |
- Returns:
- request to be performed by BACI
-
reqNone - do nothing (action will be kept in queue)
-
reqInvokeWorking - invoke <type>Callback::working
-
reqInvokeDone - invoke <type>Callback::done and destroy callback
-
reqDestroy - destroy callback (callback should has been called already by function)
template<ACS_RW_C >
virtual bool baci::RWcontImpl< ACS_RW_C >::readCharacteristics |
( |
|
) |
[protected, virtual] |
Set value method (value mutator) overriden from RWcommon To make RW property simetric to RO property
- Parameters:
-
| property | property which requested value |
| value | value to be returned |
| completion | error handling structure |
| descOut | callback descriptor |
Reimplemented in PowerSupplyCurrent, and baci::RWSeqContImpl< ACS_RW_C >.
Member Data Documentation
The documentation for this class was generated from the following file: