DDS-PSM-C++ 1.0 ISO C++ API for OpenSplice DDS |
#include <TDynamicData.hpp>
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 > | |
T | value (const std::string &mid, const T &v) const |
template<typename T > | |
T | value (uint32_T mid) const |
template<typename T > | |
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 > | |
Reference & | operator= (const Reference< D > &that) |
template<typename R > | |
Reference & | operator= (const R &rhs) |
Reference & | operator= (const null_type) |
template<typename R > | |
bool | operator== (const R &ref) const |
bool | operator== (const null_type) const |
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.
dds::code::xtypes::TDynamicData< DELEGATE >::TDynamicData | ( | const DynamicType & | type | ) |
uint32_t dds::code::xtypes::TDynamicData< DELEGATE >::member_id | ( | const std::string & | name | ) | const |
MemberType dds::code::xtypes::TDynamicData< DELEGATE >::member_type | ( | uint32_t | id | ) | const |
MemberType dds::code::xtypes::TDynamicData< DELEGATE >::member_type | ( | const std::string & | name | ) | const |
DynamicType dds::code::xtypes::TDynamicData< DELEGATE >::type | ( | ) | const |
void dds::code::xtypes::TDynamicData< DELEGATE >::value | ( | uint32_T | mid, |
const T & | v | ||
) | const |
T dds::code::xtypes::TDynamicData< DELEGATE >::value | ( | const std::string & | mid, |
const T & | v | ||
) | const |
T dds::code::xtypes::TDynamicData< DELEGATE >::value | ( | uint32_T | mid | ) | const |
T dds::code::xtypes::TDynamicData< DELEGATE >::value | ( | const std::string & | mid | ) | const |