Public Member Functions

baci::RWcommonImpl< ACS_RW_C > Class Template Reference

#include <baciRWcommonImpl_T.h>

Inheritance diagram for baci::RWcommonImpl< ACS_RW_C >:
Inheritance graph
[legend]
Collaboration diagram for baci::RWcommonImpl< ACS_RW_C >:
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< ACS_RW_C >

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< ACS_RW_C >::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< ACS_RW_C >::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< ACS_RW_C >::~RWcommonImpl (  )  [virtual]

Destructor


Member Function Documentation

template<ACS_RW_C >
virtual ActionRequest baci::RWcommonImpl< ACS_RW_C >::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 >.

template<ACS_RW_C >
virtual void baci::RWcommonImpl< ACS_RW_C >::set_async ( TIN  value,
ACS::CBvoid_ptr  cb,
const ACS::CBDescIn desc 
) [virtual]
template<ACS_RW_C >
virtual void baci::RWcommonImpl< ACS_RW_C >::set_nonblocking ( TIN  value  )  [virtual]
template<ACS_RW_C >
virtual ACSErr::Completion* baci::RWcommonImpl< ACS_RW_C >::set_sync ( TIN  value  )  [virtual]
template<ACS_RW_C >
virtual void baci::RWcommonImpl< ACS_RW_C >::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
template<ACS_RW_C >
virtual ActionRequest baci::RWcommonImpl< ACS_RW_C >::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: