RefleX
Build DDS Applications in Modern C++ without IDL
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Public Member Functions | List of all members
reflex::sub::Sample< T > Class Template Reference

A valuetype that combines an instance of type T (data) and DDS_SampleInfo. More...

#include <sample.h>

Public Member Functions

 Sample ()
 
 Sample (T &t, DDS_SampleInfo &i)
 
T & data ()
 
const T & data () const
 
const DDS_SampleInfo & info () const
 
DDS_SampleInfo & info ()
 
T * operator-> ()
 
const T * operator-> () const
 

Detailed Description

template<class T>
class reflex::sub::Sample< T >

A valuetype that combines an instance of type T (data) and DDS_SampleInfo.

Constructor & Destructor Documentation

template<class T >
reflex::sub::Sample< T >::Sample ( )
inline
template<class T >
reflex::sub::Sample< T >::Sample ( T &  t,
DDS_SampleInfo &  i 
)
inline

Member Function Documentation

template<class T >
T& reflex::sub::Sample< T >::data ( )
inline
template<class T >
const T& reflex::sub::Sample< T >::data ( ) const
inline
template<class T >
const DDS_SampleInfo& reflex::sub::Sample< T >::info ( ) const
inline
template<class T >
DDS_SampleInfo& reflex::sub::Sample< T >::info ( )
inline
template<class T >
T* reflex::sub::Sample< T >::operator-> ( )
inline
template<class T >
const T* reflex::sub::Sample< T >::operator-> ( ) const
inline

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