OpenDDS
Snapshot(2023/04/28-20:55)
|
#include <Sample.h>
Public Types | |
typedef DDSTraits< NativeType > | TraitsType |
typedef MarshalTraits< NativeType > | MarshalTraitsType |
typedef RcHandle< Sample_T< NativeType > > | Rch |
typedef DCPS::KeyOnly< const NativeType > | KeyOnlyType |
typedef DCPS::KeyOnly< NativeType > | MutableKeyOnlyType |
![]() | |
enum | Mutability { Mutable, ReadOnly } |
enum | Extent { Full, KeyOnly, NestedKeyOnly } |
Public Member Functions | |
Sample_T (const NativeType &data, Extent extent=Full) | |
Sample_T (const NativeType *data, Extent extent=Full) | |
Sample_T (NativeType &data, Extent extent=Full) | |
Sample_T (NativeType *data, Extent extent=Full) | |
virtual | ~Sample_T () |
const NativeType & | data () const |
NativeType & | mutable_data () const |
KeyOnlyType | key_only_data () const |
MutableKeyOnlyType | mutable_key_only_data () const |
bool | serialize (Serializer &ser) const |
bool | deserialize (Serializer &ser) |
size_t | serialized_size (const Encoding &enc) const |
bool | compare (const Sample &other) const |
bool | to_message_block (ACE_Message_Block &mb) const |
bool | from_message_block (const ACE_Message_Block &mb) |
Sample_rch | copy (Mutability mutability, Extent extent) const |
DDS::DynamicData_var | get_dynamic_data (DDS::DynamicType_ptr type) const |
const void * | native_data () const |
bool | eval (FilterEvaluator &evaluator, const DDS::StringSeq ¶ms) const |
![]() | |
Sample () | |
Sample (Mutability mutability, Extent extent) | |
virtual | ~Sample () |
bool | read_only () const |
bool | key_only () const |
Sample_rch | copy (Mutability mutability) const |
![]() | |
virtual | ~RcObject () |
virtual void | _add_ref () |
virtual void | _remove_ref () |
long | ref_count () const |
WeakObject * | _get_weak_object () const |
Private Attributes | |
const bool | owns_data_ |
const NativeType * | data_ |
DDS::DynamicData_var | dynamic_data_ |
Additional Inherited Members | |
![]() | |
RcObject () | |
![]() | |
Mutability | mutability_ |
Extent | extent_ |
typedef DCPS::KeyOnly<const NativeType> OpenDDS::DCPS::Sample_T< NativeType >::KeyOnlyType |
typedef MarshalTraits<NativeType> OpenDDS::DCPS::Sample_T< NativeType >::MarshalTraitsType |
typedef DCPS::KeyOnly<NativeType> OpenDDS::DCPS::Sample_T< NativeType >::MutableKeyOnlyType |
typedef RcHandle<Sample_T<NativeType> > OpenDDS::DCPS::Sample_T< NativeType >::Rch |
typedef DDSTraits<NativeType> OpenDDS::DCPS::Sample_T< NativeType >::TraitsType |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlinevirtual |
|
inlinevirtual |
Implements OpenDDS::DCPS::Sample.
Definition at line 219 of file Sample.h.
References OpenDDS::DCPS::Sample_T< NativeType >::data_, and OPENDDS_ASSERT.
|
inlinevirtual |
Implements OpenDDS::DCPS::Sample.
Definition at line 237 of file Sample.h.
References OpenDDS::DCPS::dynamic_rchandle_cast().
|
inline |
|
inlinevirtual |
Implements OpenDDS::DCPS::Sample.
Definition at line 201 of file Sample.h.
|
inlinevirtual |
Implements OpenDDS::DCPS::Sample.
Definition at line 269 of file Sample.h.
References OpenDDS::DCPS::FilterEvaluator::eval().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 182 of file Sample.h.
|
inline |
|
inline |
Definition at line 187 of file Sample.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements OpenDDS::DCPS::Sample.
Definition at line 210 of file Sample.h.
References OpenDDS::DCPS::serialized_size().
|
inlinevirtual |
|
private |
Definition at line 277 of file Sample.h.
Referenced by OpenDDS::DCPS::Sample_T< NativeType >::compare().
|
mutableprivate |
|
private |