$search

Aseba::Message Class Reference
[Messages exchanged over the network]

Parent class of any message exchanged over the network. More...

#include <msg.h>

Inheritance diagram for Aseba::Message:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<>
void add (const string &val)
void dump (std::wostream &stream) const
void dumpBuffer (std::wostream &stream) const
 Message (uint16 type)
void serialize (Dashel::Stream *stream)
virtual ~Message ()

Static Public Member Functions

static Messagereceive (Dashel::Stream *stream)

Public Attributes

uint16 source
uint16 type

Protected Member Functions

template<typename T >
void add (const T &val)
virtual void deserializeSpecific ()=0
virtual void dumpSpecific (std::wostream &stream) const =0
template<typename T >
get ()
virtual operator const char * () const
virtual void serializeSpecific ()=0

Protected Attributes

std::vector< uint8rawData
size_t readPos

Detailed Description

Parent class of any message exchanged over the network.

Definition at line 46 of file msg.h.


Constructor & Destructor Documentation

Aseba::Message::Message ( uint16  type  ) 

Definition at line 126 of file msg.cpp.

Aseba::Message::~Message (  )  [virtual]

Definition at line 133 of file msg.cpp.


Member Function Documentation

template<>
void Aseba::Message::add ( const string &  val  )  [inline]

Definition at line 226 of file msg.cpp.

template<typename T >
void Aseba::Message::add ( const T &  val  )  [inline, protected]

Definition at line 214 of file msg.cpp.

virtual void Aseba::Message::deserializeSpecific (  )  [protected, pure virtual]
void Aseba::Message::dump ( std::wostream &  stream  )  const
void Aseba::Message::dumpBuffer ( std::wostream &  stream  )  const

Definition at line 206 of file msg.cpp.

virtual void Aseba::Message::dumpSpecific ( std::wostream &  stream  )  const [protected, pure virtual]
string Aseba::Message::get (  )  [inline, protected]

Definition at line 243 of file msg.cpp.

virtual Aseba::Message::operator const char * (  )  const [inline, protected, virtual]
Message * Aseba::Message::receive ( Dashel::Stream stream  )  [static]

Definition at line 162 of file msg.cpp.

void Aseba::Message::serialize ( Dashel::Stream stream  ) 

Definition at line 138 of file msg.cpp.

virtual void Aseba::Message::serializeSpecific (  )  [protected, pure virtual]

Member Data Documentation

std::vector<uint8> Aseba::Message::rawData [protected]

Definition at line 72 of file msg.h.

size_t Aseba::Message::readPos [protected]

Definition at line 73 of file msg.h.

Definition at line 49 of file msg.h.

Definition at line 50 of file msg.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


aseba
Author(s): Stéphane Magnenat
autogenerated on Sat Mar 2 12:31:54 2013