Any message sent by a script on a node. More...
#include <msg.h>
Public Types | |
typedef std::vector< sint16 > | DataVector |
Public Member Functions | |
UserMessage () | |
UserMessage (uint16 type, const DataVector &data=DataVector()) | |
UserMessage (uint16 type, const sint16 *data, const size_t length) | |
Public Attributes | |
DataVector | data |
Protected Member Functions | |
virtual void | deserializeSpecific () |
virtual void | dumpSpecific (std::wostream &stream) const |
virtual | operator const char * () const |
virtual void | serializeSpecific () |
typedef std::vector<sint16> Aseba::UserMessage::DataVector |
Aseba::UserMessage::UserMessage | ( | ) | [inline] |
Aseba::UserMessage::UserMessage | ( | uint16 | type, |
const DataVector & | data = DataVector() |
||
) | [inline] |
Aseba::UserMessage::UserMessage | ( | uint16 | type, |
const sint16 * | data, | ||
const size_t | length | ||
) |
void Aseba::UserMessage::deserializeSpecific | ( | ) | [protected, virtual] |
Implements Aseba::Message.
void Aseba::UserMessage::dumpSpecific | ( | std::wostream & | stream | ) | const [protected, virtual] |
Implements Aseba::Message.
virtual Aseba::UserMessage::operator const char * | ( | ) | const [inline, protected, virtual] |
Reimplemented from Aseba::Message.
void Aseba::UserMessage::serializeSpecific | ( | ) | [protected, virtual] |
Implements Aseba::Message.