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

#include <TSample.hpp>

Inheritance diagram for dds::sub::Sample< T, DELEGATE >:
Inheritance graph
[legend]

Public Types

typedef T DataType
 

Public Member Functions

Sample() Sample (const T &data, const SampleInfo &info)
 
 Sample (const Sample &other)
 
const DataTypedata () const
 
void data (const DataType &d)
 
const SampleInfoinfo () const
 
void info (const SampleInfo &i)
 
- Public Member Functions inherited from dds::core::Value< DELEGATE< T > >
 Value (const ARG &arg)
 
 Value (const ARG1 &arg1, const ARG2 &arg2)
 
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3)
 
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4)
 
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4, const ARG5 &arg5)
 
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4, const ARG5 &arg5, const ARG6 &arg6)
 
 ~Value ()
 
const DELEGATE< T > & delegate () const
 
DELEGATE< T > & delegate ()
 
 operator const DELEGATE< T > & () const
 
 operator DELEGATE< T > & ()
 
bool operator!= (const Value &other) const
 
const DELEGATE< T > * operator-> () const
 
DELEGATE< T > * operator-> ()
 
Valueoperator= (const Value &other)
 
bool operator== (const Value &other) const
 

Additional Inherited Members

- Protected Member Functions inherited from dds::core::Value< DELEGATE< T > >
 Value ()
 
 Value (const Value &p)
 
- Protected Attributes inherited from dds::core::Value< DELEGATE< T > >
DELEGATE< T > d_
 

Detailed Description

template<typename T, template< typename Q > class DELEGATE>
class dds::sub::Sample< T, DELEGATE >

This class encapsulate the data and meta-data associated with DDS samples.

Definition at line 37 of file TSample.hpp.

Member Typedef Documentation

template<typename T , template< typename Q > class DELEGATE>
typedef T dds::sub::Sample< T, DELEGATE >::DataType

Definition at line 40 of file TSample.hpp.

Constructor & Destructor Documentation

template<typename T , template< typename Q > class DELEGATE>
Sample () dds::sub::Sample< T, DELEGATE >::Sample ( const T &  data,
const SampleInfo info 
)

Create a sample with invalid data.

template<typename T , template< typename Q > class DELEGATE>
dds::sub::Sample< T, DELEGATE >::Sample ( const Sample< T, DELEGATE > &  other)

Member Function Documentation

template<typename T , template< typename Q > class DELEGATE>
const DataType& dds::sub::Sample< T, DELEGATE >::data ( ) const
template<typename T , template< typename Q > class DELEGATE>
void dds::sub::Sample< T, DELEGATE >::data ( const DataType d)
template<typename T , template< typename Q > class DELEGATE>
const SampleInfo& dds::sub::Sample< T, DELEGATE >::info ( ) const
template<typename T , template< typename Q > class DELEGATE>
void dds::sub::Sample< T, DELEGATE >::info ( const SampleInfo i)

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