DUNE: Uniform Navigational Environment  2.4.0
DUNE::IMC::InlineMessage< Type > Class Template Reference

Detailed Description

template<typename Type>
class DUNE::IMC::InlineMessage< Type >

Inline Message.

Public Member Functions

 InlineMessage (void)
 
 InlineMessage (const InlineMessage &other)
 
 ~InlineMessage (void)
 
void setParent (const Message *parent)
 
void set (const Type &msg)
 
void set (Type *msg)
 
void clear (void)
 
const Type * get (void) const
 
Type * get (void)
 
template<typename T >
bool get (const T *&m) const
 
template<typename T >
bool get (T *&m)
 
unsigned getSerializationSize (void) const
 
bool isNull (void) const
 
Type & operator* (void) const
 
Type * operator-> (void) const
 
InlineMessageoperator= (const InlineMessage &other)
 
bool operator== (const InlineMessage &other) const
 
bool operator!= (const InlineMessage &other) const
 
uint16_t serialize (uint8_t *bfr) const
 
uint16_t deserialize (const uint8_t *bfr, uint16_t &bfr_len)
 
uint16_t reverseDeserialize (const uint8_t *bfr, uint16_t &bfr_len)
 
void toJSON (std::ostream &os, const char *label, unsigned nindent, char prefix= ',') const
 

Constructor & Destructor Documentation

template<typename Type>
DUNE::IMC::InlineMessage< Type >::InlineMessage ( void  )
inline

Default constructor.

template<typename Type>
DUNE::IMC::InlineMessage< Type >::InlineMessage ( const InlineMessage< Type > &  other)
inline

Copy constructor.

template<typename Type>
DUNE::IMC::InlineMessage< Type >::~InlineMessage ( void  )
inline

Default destructor.

Member Function Documentation

template<typename Type>
uint16_t DUNE::IMC::InlineMessage< Type >::deserialize ( const uint8_t *  bfr,
uint16_t &  bfr_len 
)
inline
template<typename Type>
const Type* DUNE::IMC::InlineMessage< Type >::get ( void  ) const
inline
template<typename Type>
Type* DUNE::IMC::InlineMessage< Type >::get ( void  )
inline
template<typename Type>
template<typename T >
bool DUNE::IMC::InlineMessage< Type >::get ( const T *&  m) const
inline
template<typename Type>
template<typename T >
bool DUNE::IMC::InlineMessage< Type >::get ( T *&  m)
inline
template<typename Type>
unsigned DUNE::IMC::InlineMessage< Type >::getSerializationSize ( void  ) const
inline
template<typename Type>
bool DUNE::IMC::InlineMessage< Type >::operator!= ( const InlineMessage< Type > &  other) const
inline
template<typename Type>
Type& DUNE::IMC::InlineMessage< Type >::operator* ( void  ) const
inline
template<typename Type>
Type* DUNE::IMC::InlineMessage< Type >::operator-> ( void  ) const
inline
template<typename Type>
InlineMessage& DUNE::IMC::InlineMessage< Type >::operator= ( const InlineMessage< Type > &  other)
inline

Assignment operator.

template<typename Type>
bool DUNE::IMC::InlineMessage< Type >::operator== ( const InlineMessage< Type > &  other) const
inline
template<typename Type>
uint16_t DUNE::IMC::InlineMessage< Type >::reverseDeserialize ( const uint8_t *  bfr,
uint16_t &  bfr_len 
)
inline
template<typename Type>
uint16_t DUNE::IMC::InlineMessage< Type >::serialize ( uint8_t *  bfr) const
inline
template<typename Type>
void DUNE::IMC::InlineMessage< Type >::set ( const Type &  msg)
inline
template<typename Type>
void DUNE::IMC::InlineMessage< Type >::set ( Type *  msg)
inline
template<typename Type>
void DUNE::IMC::InlineMessage< Type >::setParent ( const Message parent)
inline
template<typename Type>
void DUNE::IMC::InlineMessage< Type >::toJSON ( std::ostream &  os,
const char *  label,
unsigned  nindent,
char  prefix = ',' 
) const
inline
Collaboration diagram for DUNE::IMC::InlineMessage< Type >:
Collaboration graph