Go to the documentation of this file.00001 #ifndef _baciRWcommonImpl_T_H_
00002 #define _baciRWcommonImpl_T_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00034 #ifndef __cplusplus
00035 #error This is a C++ include file and cannot be used from plain C
00036 #endif
00037
00038 #include <baciPcommonImpl_T.h>
00039
00043 #define ACS_RW_C ACS_P_C, class TIN
00044
00047 #define ACS_RW_TL ACS_P_TL, TIN
00048
00051 #define ACS_RW_T(T, TC) ACS_P_T(T, TC), POA_ACS::RW##T, TC
00052
00053
00057 #define GET_ACTION 0
00058
00061 #define SET_ACTION 1
00062
00063 namespace baci {
00064
00070 template <ACS_RW_C>
00071 class baci_EXPORT RWcommonImpl : public virtual POA_SK,
00072 public PcommonImpl<ACS_P_TL>
00073 {
00074
00075
00076 public:
00082 RWcommonImpl(const ACE_CString& name, BACIComponent *component_p, DevIO<TM> *devIO, bool flagdeldevIO);
00083
00088 RWcommonImpl(bool init, const ACE_CString& name, BACIComponent *component_p, DevIO<TM> *devIO, bool flagdeldevIO);
00089
00093 virtual ~RWcommonImpl();
00094
00095
00096
00097
00098 virtual ActionRequest setValueAction(BACIComponent* component_p,
00099 int callbackID,
00100 const CBDescIn& descIn,
00101 BACIValue* value,
00102 Completion& completion,
00103 CBDescOut& descOut);
00104
00105
00106
00124 virtual ActionRequest invokeAction(int function,
00125 BACIComponent* component_p,
00126 const int &callbackID,
00127 const CBDescIn& descIn,
00128 BACIValue* value,
00129 Completion& completion,
00130 CBDescOut& descOut);
00131
00132
00133
00142 virtual void setValue(BACIProperty* property,
00143 BACIValue* value,
00144 Completion &completion,
00145 CBDescOut& descOut);
00146
00147
00148
00149
00150
00151
00152
00153 virtual ACSErr::Completion * set_sync (
00154 TIN value
00155 );
00156
00157 virtual void set_async (
00158 TIN value,
00159 ACS::CBvoid_ptr cb,
00160 const ACS::CBDescIn & desc
00161 );
00162
00163 virtual void set_nonblocking (
00164 TIN value
00165
00166 );
00167
00168 };
00169
00170
00171
00172 };
00173
00174 #endif
00175
00176
00177
00178
00179
00180