Description of target VM. More...
#include <compiler.h>
Classes | |
struct | LocalEvent |
Description of local event;. More... | |
struct | NamedVariable |
Description of target VM named variable. More... | |
struct | NativeFunction |
Description of target VM native function. More... | |
struct | NativeFunctionParameter |
Typed parameter of native functions. More... | |
Public Member Functions | |
uint16 | crc () const |
Compute the XModem CRC of the description, as defined in AS001 at https://aseba.wikidot.com/asebaspecifications. | |
TargetDescription () | |
Public Attributes | |
unsigned | bytecodeSize |
total amount of bytecode space | |
std::vector< LocalEvent > | localEvents |
events available locally on target | |
std::wstring | name |
node name | |
std::vector< NamedVariable > | namedVariables |
named variables | |
std::vector< NativeFunction > | nativeFunctions |
native functions | |
unsigned | protocolVersion |
version of the aseba protocol | |
unsigned | stackSize |
depth of execution stack | |
unsigned | variablesSize |
total amount of variables space |
Description of target VM.
Definition at line 53 of file compiler.h.
Aseba::TargetDescription::TargetDescription | ( | ) | [inline] |
Definition at line 104 of file compiler.h.
total amount of bytecode space
Definition at line 96 of file compiler.h.
std::vector<LocalEvent> Aseba::TargetDescription::localEvents |
events available locally on target
Definition at line 101 of file compiler.h.
std::wstring Aseba::TargetDescription::name |
node name
Definition at line 93 of file compiler.h.
std::vector<NamedVariable> Aseba::TargetDescription::namedVariables |
named variables
Definition at line 100 of file compiler.h.
std::vector<NativeFunction> Aseba::TargetDescription::nativeFunctions |
native functions
Definition at line 102 of file compiler.h.
version of the aseba protocol
Definition at line 94 of file compiler.h.
unsigned Aseba::TargetDescription::stackSize |
depth of execution stack
Definition at line 98 of file compiler.h.
total amount of variables space
Definition at line 97 of file compiler.h.