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

baci::RWcommonImpl<> Class Template Reference

#include <baciRWcommonImpl_T.h>

Inheritance diagram for baci::RWcommonImpl<>:

Inheritance graph
[legend]
Collaboration diagram for baci::RWcommonImpl<>:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RWcommonImpl (const ACE_CString &name, BACIComponent *component_p, DevIO< TM > *devIO, bool flagdeldevIO)
 RWcommonImpl (bool init, const ACE_CString &name, BACIComponent *component_p, DevIO< TM > *devIO, bool flagdeldevIO)
virtual ~RWcommonImpl ()
virtual ActionRequest setValueAction (BACIComponent *component_p, int callbackID, const CBDescIn &descIn, BACIValue *value, Completion &completion, CBDescOut &descOut)
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 ACSErr::Completionset_sync (TIN value)
virtual void set_async (TIN value, ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc)
virtual void set_nonblocking (TIN value)

Detailed Description

template<ACS_RW_C>
class baci::RWcommonImpl<>

Implementation of RWcommonImpl property
Warning:
We have virtual inheritance from PortableServer::RefCountServantBase because of a bug in gcc 2.95 (see SPR. ALMASW2001075)


Constructor & Destructor Documentation

template<ACS_RW_C >
baci::RWcommonImpl<>::RWcommonImpl const ACE_CString &  name,
BACIComponent component_p,
DevIO< TM > *  devIO,
bool  flagdeldevIO
 

Constuctor

Parameters:
name property name (e.q. AMSMount:decliantion)
component_p parent of the property

template<ACS_RW_C >
baci::RWcommonImpl<>::RWcommonImpl bool  init,
const ACE_CString &  name,
BACIComponent component_p,
DevIO< TM > *  devIO,
bool  flagdeldevIO
 

Constuctor that calls only readCharacteristics()

Parameters:
name property name (e.q. AMSMount:decliantion)

template<ACS_RW_C >
virtual baci::RWcommonImpl<>::~RWcommonImpl  )  [virtual]
 

Destructor


Member Function Documentation

template<ACS_RW_C >
virtual ActionRequest baci::RWcommonImpl<>::invokeAction int  function,
BACIComponent component_p,
const int &  callbackID,
const CBDescIn descIn,
BACIValue value,
Completion completion,
CBDescOut descOut
[virtual]
 

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)

Reimplemented from baci::PcommonImpl< ACS_P_TL >.

Reimplemented in baci::RWcontImpl<>, and baci::RWcontImpl< ACS_RW_TL >.

template<ACS_RW_C >
virtual void baci::RWcommonImpl<>::set_async TIN  value,
ACS::CBvoid_ptr  cb,
const ACS::CBDescIn desc
[virtual]
 

template<ACS_RW_C >
virtual void baci::RWcommonImpl<>::set_nonblocking TIN  value  )  [virtual]
 

template<ACS_RW_C >
virtual ACSErr::Completion* baci::RWcommonImpl<>::set_sync TIN  value  )  [virtual]
 

template<ACS_RW_C >
virtual void baci::RWcommonImpl<>::setValue BACIProperty property,
BACIValue value,
Completion completion,
CBDescOut descOut
[virtual]
 

Set value method (value mutator) 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, baci::RWcontImpl<>, baci::RWSeqContImpl<>, and baci::RWcontImpl< ACS_RW_TL >.

template<ACS_RW_C >
virtual ActionRequest baci::RWcommonImpl<>::setValueAction BACIComponent component_p,
int  callbackID,
const CBDescIn descIn,
BACIValue value,
Completion completion,
CBDescOut descOut
[virtual]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:37:19 2009 for ACS C++ API by doxygen 1.3.8