$search

Messages exchanged over the network

Classes

class  Aseba::ArrayAccessOutOfBounds
 Exception: an array acces attempted to read past memory. More...
class  Aseba::BootloaderAck
 Message for bootloader: acknowledge, with optional error code. More...
class  Aseba::BootloaderDataRead
 Message for bootloader: data from the flash. More...
class  Aseba::BootloaderDescription
 Message for bootloader: description of the flash memory layout. More...
class  Aseba::BootloaderPageDataWrite
 Message for bootloader: data for flash. More...
class  Aseba::BootloaderReadPage
 Message for bootloader: read a page of flash. More...
class  Aseba::BootloaderReset
 Message for bootloader: reset node. More...
class  Aseba::BootloaderWritePage
 Message for bootloader: write a page of flash. More...
class  Aseba::BreakpointClear
 Clear a breakpoint on a node. More...
class  Aseba::BreakpointClearAll
 Clear all breakpoints on a node. More...
class  Aseba::BreakpointSet
 Set a breakpoint on a node. More...
class  Aseba::BreakpointSetResult
 A breakpoint has been set. More...
struct  Aseba::ByteSwapper
 ByteSwapper, code inspired by DPS (http://dps.epfl.ch/), released in GPL. More...
class  Aseba::CmdMessage
 Commands messages talk to a specific node. More...
class  Aseba::Description
 Description of a node, local events and native functions are omitted and further received by other messages. More...
class  Aseba::DescriptionsManager
class  Aseba::Disconnected
 A node has disconnected from the network. More...
class  Aseba::DivisionByZero
 Exception: division by zero. More...
class  Aseba::EventExecutionKilled
 Exception: an event execution was killed by a new event. More...
class  Aseba::ExecutionStateChanged
 The Program Counter or the flags have changed. More...
class  Aseba::GetDescription
 Request nodes to send their description. More...
class  Aseba::GetExecutionState
 Request the current execution state of a node. More...
class  Aseba::GetVariables
 Read some variables from a node. More...
class  Aseba::LocalEventDescription
 Description of a local event available on a node, the description of the node itself must have been sent first. More...
class  Aseba::Message
 Parent class of any message exchanged over the network. More...
class  Aseba::NamedVariableDescription
 Description of a named variable available on a node, the description of the node itself must have been sent first. More...
class  Aseba::NativeFunctionDescription
 Description of a native function available on a node, the description of the node itself must have been sent first. More...
class  Aseba::NodeSpecificError
 A node as produced an error specific to it. More...
class  Aseba::Pause
 Pause a node. More...
class  Aseba::Reboot
 Reboot a node, useful to go into its bootloader, if present. More...
class  Aseba::Reset
 Reset a node. More...
class  Aseba::Run
 Run a node. More...
class  Aseba::SetBytecode
 Upload bytecode to a node. More...
class  Aseba::SetVariables
 Set some variables on a node. More...
class  Aseba::Sleep
class  Aseba::Step
 Step a node. More...
class  Aseba::Stop
 Stop a node. More...
class  Aseba::UserMessage
 Any message sent by a script on a node. More...
class  Aseba::Variables
 Content of some variables. More...
class  Aseba::WriteBytecode
 Save the current bytecode of a node. More...

Functions

void Aseba::sendBytecode (std::vector< Message * > &messagesVector, uint16 dest, const std::vector< uint16 > &bytecode)
 Call the SetBytecode multiple time in order to send all the bytecode.
void Aseba::sendBytecode (Dashel::Stream *stream, uint16 dest, const std::vector< uint16 > &bytecode)
 Call the SetBytecode multiple time in order to send all the bytecode.
template<typename T >
void Aseba::swapEndian (T &v)
template<typename T >
Aseba::swapEndianCopy (const T &v)
template<size_t size>
static void Aseba::ByteSwapper::swapp (void *data)
 Swap bytes for 8-bit word, do nothing.

Detailed Description

Aseba messages payload data must be 512 bytes or smaller, which means that the total packets size (len + source + type + payload) must be 518 bytes or smaller.


Function Documentation

void Aseba::sendBytecode ( std::vector< Message * > &  messagesVector,
uint16  dest,
const std::vector< uint16 > &  bytecode 
)

Call the SetBytecode multiple time in order to send all the bytecode.

void Aseba::sendBytecode ( Dashel::Stream stream,
uint16  dest,
const std::vector< uint16 > &  bytecode 
)

Call the SetBytecode multiple time in order to send all the bytecode.

template<typename T >
void Aseba::swapEndian ( T &  v  )  [inline]

Definition at line 114 of file endian.h.

template<typename T >
T Aseba::swapEndianCopy ( const T &  v  )  [inline]

Definition at line 112 of file endian.h.

void Aseba::ByteSwapper::swapp< 8 > ( void *  data  )  [inline, static, inherited]

Swap bytes for 8-bit word, do nothing.

Swap bytes for 64-bit word.

Swap bytes for 32-bit word.

Swap bytes for 16-bit word.

Swap bytes at data (generic)

Parameters:
data pointer to data of size to swap

Definition at line 36 of file endian.h.

 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:49 2013