ADTF  3.18.3
comsupport.h
Go to the documentation of this file.
1 
7 #ifndef _COM_SUPPORT_CLASS_HEADER_
8 #define _COM_SUPPORT_CLASS_HEADER_
9 
10 #ifdef WIN32
11 
12 namespace A_UTILS_NS
13 {
14 
21 class DOEXPORT cComSupport
22 {
23  public:
24  static tUInt32 m_nLastError;
25 
26  public:
27 
39  static tBool RegisterObject(const cFilename& strFilename);
40 
52  static tBool UnRegisterObject(const cFilename& strFilename);
53 
62  static tUInt32 GetLastError();
63 
64  protected:
66  typedef enum
67  {
68  CF_REGISTER_SERVER,
69  CF_UNREGISTER_SERVER
70  } tComFunction;
71 
82  static tBool AccessObject(const cFilename& strFilename, tComFunction eFunctionCode);
83 };
84 
85 } // namespace A_UTILS_NS
86 
87 #endif // WIN32
88 
89 #endif // _COM_SUPPORT_CLASS_HEADER_
bool tBool
The tBool defines the type for the Values tTrue and tFalse (platform and compiler dependent).
uint32_t tUInt32
type definition for unsigned integer values (32bit) (platform and compiler independent type).
ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.
Definition: d_ptr.h:11