Cyclone ISO C++ API Reference Guide
refmacros.hpp File Reference

Go to the source code of this file.

Macros

#define DECLARE_TYPE_TRAITS(TYPE)
 
#define OMG_DDS_EXPLICIT_REF_BASE(TYPE, FROM)
 
#define OMG_DDS_EXPLICIT_REF_BASE_DECL(TYPE, FROM)
 
#define OMG_DDS_IMPLICIT_REF_BASE(TYPE)
 
#define OMG_DDS_REF_TYPE_BASE(TYPE, BASE, DELEGATE)
 
#define OMG_DDS_REF_TYPE_DELEGATE_C(TYPE, BASE, DELEGATE)
 
#define OMG_DDS_REF_TYPE_NO_DC(TYPE, BASE, DELEGATE)
 
#define OMG_DDS_REF_TYPE_PROTECTED_DC(TYPE, BASE, DELEGATE)
 
#define OMG_DDS_REF_TYPE_PROTECTED_DC_T(TYPE, BASE, T_PARAM, DELEGATE)
 

Macro Definition Documentation

◆ DECLARE_TYPE_TRAITS

#define DECLARE_TYPE_TRAITS (   TYPE)
Value:
typedef TYPE TYPE##_T;\
typedef typename ::dds::core::smart_ptr_traits<TYPE>::ref_type TYPE##_REF_T;\
typedef typename ::dds::core::smart_ptr_traits<TYPE>::weak_ref_type TYPE##_WEAK_REF_T;

Definition at line 29 of file refmacros.hpp.

◆ OMG_DDS_EXPLICIT_REF_BASE

#define OMG_DDS_EXPLICIT_REF_BASE (   TYPE,
  FROM 
)

Definition at line 118 of file refmacros.hpp.

◆ OMG_DDS_EXPLICIT_REF_BASE_DECL

#define OMG_DDS_EXPLICIT_REF_BASE_DECL (   TYPE,
  FROM 
)
Value:
public:\
TYPE(const FROM& h); \
\
TYPE& \
operator=(const FROM& rhs);

Definition at line 111 of file refmacros.hpp.

◆ OMG_DDS_IMPLICIT_REF_BASE

#define OMG_DDS_IMPLICIT_REF_BASE (   TYPE)

Definition at line 75 of file refmacros.hpp.

◆ OMG_DDS_REF_TYPE_BASE

#define OMG_DDS_REF_TYPE_BASE (   TYPE,
  BASE,
  DELEGATE 
)

Definition at line 47 of file refmacros.hpp.

◆ OMG_DDS_REF_TYPE_DELEGATE_C

#define OMG_DDS_REF_TYPE_DELEGATE_C (   TYPE,
  BASE,
  DELEGATE 
)
Value:
OMG_DDS_REF_TYPE_PROTECTED_DC(TYPE, BASE, DELEGATE) \
public: \
TYPE(DELEGATE_T *impl) : dds::core::Reference< DELEGATE_T >(impl) { }

Definition at line 183 of file refmacros.hpp.

◆ OMG_DDS_REF_TYPE_NO_DC

#define OMG_DDS_REF_TYPE_NO_DC (   TYPE,
  BASE,
  DELEGATE 
)
Value:
public: \
typedef DELEGATE DELEGATE_T; \
OMG_DDS_REF_TYPE_BASE(TYPE, BASE, DELEGATE_T)

Definition at line 178 of file refmacros.hpp.

◆ OMG_DDS_REF_TYPE_PROTECTED_DC

#define OMG_DDS_REF_TYPE_PROTECTED_DC (   TYPE,
  BASE,
  DELEGATE 
)
Value:
public: \
typedef DELEGATE DELEGATE_T; \
OMG_DDS_REF_TYPE_BASE(TYPE, BASE, DELEGATE_T) \
protected: \
TYPE() { }

Definition at line 164 of file refmacros.hpp.

◆ OMG_DDS_REF_TYPE_PROTECTED_DC_T

#define OMG_DDS_REF_TYPE_PROTECTED_DC_T (   TYPE,
  BASE,
  T_PARAM,
  DELEGATE 
)
Value:
public: \
typedef DELEGATE<T_PARAM> DELEGATE_T; \
OMG_DDS_REF_TYPE_BASE(TYPE, BASE, DELEGATE_T) \
protected: \
TYPE() { }

Definition at line 171 of file refmacros.hpp.

OMG_DDS_REF_TYPE_PROTECTED_DC
#define OMG_DDS_REF_TYPE_PROTECTED_DC(TYPE, BASE, DELEGATE)
Definition: refmacros.hpp:164
dds
Definition: array.hpp:30