DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
dds::code::xtypes::TDynamicData< DELEGATE > Class Template Reference

#include <TDynamicData.hpp>

Inheritance diagram for dds::code::xtypes::TDynamicData< DELEGATE >:
Inheritance graph
[legend]

Public Member Functions

 TDynamicData (const DynamicType &type)
 
uint32_t member_id (const std::string &name) const
 
MemberType member_type (uint32_t id) const
 
MemberType member_type (const std::string &name) const
 
DynamicType type () const
 
template<typename T >
void value (uint32_T mid, const T &v) const
 
template<typename T >
value (const std::string &mid, const T &v) const
 
template<typename T >
value (uint32_T mid) const
 
template<typename T >
value (const std::string &mid) const
 

Additional Inherited Members

- Private Member Functions inherited from dds::core::Reference< DELEGATE >
 Reference (dds::core::null_type &)
 
 Reference (const Reference &ref)
 
template<typename D >
 Reference (const Reference< D > &ref)
 
 Reference (DELEGATE_T *p)
 
 ~Reference ()
 
const DELEGATE_REF_T & delegate () const
 
DELEGATE_REF_T & delegate ()
 
bool is_nil () const
 
 operator const DELEGATE_REF_T & () const
 
 operator DELEGATE_REF_T () const
 
 operator DELEGATE_REF_T & ()
 
template<typename R >
bool operator!= (const R &ref) const
 
bool operator!= (const null_type nil) const
 
DELEGATE * operator-> ()
 
const DELEGATE * operator-> () const
 
template<typename D >
Referenceoperator= (const Reference< D > &that)
 
template<typename R >
Referenceoperator= (const R &rhs)
 
Referenceoperator= (const null_type)
 
template<typename R >
bool operator== (const R &ref) const
 
bool operator== (const null_type) const
 

Detailed Description

template<typename DELEGATE>
class dds::code::xtypes::TDynamicData< DELEGATE >

This class is used to read/write data for DynamicTypes. It allows to read/write samples in a type-safe manner but w/o any compile-time knowledge of the type being read/written.

Definition at line 37 of file TDynamicData.hpp.

Constructor & Destructor Documentation

template<typename DELEGATE >
dds::code::xtypes::TDynamicData< DELEGATE >::TDynamicData ( const DynamicType &  type)

Member Function Documentation

template<typename DELEGATE >
uint32_t dds::code::xtypes::TDynamicData< DELEGATE >::member_id ( const std::string &  name) const
template<typename DELEGATE >
MemberType dds::code::xtypes::TDynamicData< DELEGATE >::member_type ( uint32_t  id) const
template<typename DELEGATE >
MemberType dds::code::xtypes::TDynamicData< DELEGATE >::member_type ( const std::string &  name) const
template<typename DELEGATE >
DynamicType dds::code::xtypes::TDynamicData< DELEGATE >::type ( ) const
template<typename DELEGATE >
template<typename T >
void dds::code::xtypes::TDynamicData< DELEGATE >::value ( uint32_T  mid,
const T &  v 
) const
template<typename DELEGATE >
template<typename T >
T dds::code::xtypes::TDynamicData< DELEGATE >::value ( const std::string &  mid,
const T &  v 
) const
template<typename DELEGATE >
template<typename T >
T dds::code::xtypes::TDynamicData< DELEGATE >::value ( uint32_T  mid) const
template<typename DELEGATE >
template<typename T >
T dds::code::xtypes::TDynamicData< DELEGATE >::value ( const std::string &  mid) const

The documentation for this class was generated from the following file: