Aseba Namespace Reference

Classes

class  AbsentNodeTab
class  AeslEditor
struct  AeslEditorUserData
class  AeslHighlighter
class  ArrayAccessOutOfBounds
 Exception: an array acces attempted to read past memory. More...
struct  ArrayReadNode
struct  ArrayWriteNode
class  AsebaNetworkInterface
 DBus interface for aseba network. More...
struct  AssignmentNode
struct  BinaryArithmeticNode
struct  BlockNode
 Node for "block", i.e. a vector of statements. More...
class  BootloaderAck
 Message for bootloader: acknowledge, with optional error code. More...
class  BootloaderDataRead
 Message for bootloader: data from the flash. More...
class  BootloaderDescription
 Message for bootloader: description of the flash memory layout. More...
class  BootloaderInterface
 Manage interactions with an aseba-compatible bootloader. More...
class  BootloaderPageDataWrite
 Message for bootloader: data for flash. More...
class  BootloaderReadPage
 Message for bootloader: read a page of flash. More...
class  BootloaderReset
 Message for bootloader: reset node. More...
class  BootloaderWritePage
 Message for bootloader: write a page of flash. More...
class  BreakpointClear
 Clear a breakpoint on a node. More...
class  BreakpointClearAll
 Clear all breakpoints on a node. More...
class  BreakpointSet
 Set a breakpoint on a node. More...
class  BreakpointSetResult
 A breakpoint has been set. More...
struct  BytecodeElement
 A bytecode element. More...
struct  BytecodeVector
 Bytecode array in the form of a dequeue, for construction. More...
struct  CallNode
struct  CallSubNode
class  ClickableLabel
class  CmdMessage
 Commands messages talk to a specific node. More...
struct  CommonDefinitions
 Definitions common to several nodes, such as events or some constants. More...
class  CompilationLogDialog
class  Compiler
 Aseba Event Scripting Language compiler. More...
class  DashelConnectionDialog
class  DashelInterface
class  DashelTarget
class  Description
 Description of a node, local events and native functions are omitted and further received by other messages. More...
class  DescriptionsManager
class  Disconnected
 A node has disconnected from the network. More...
class  DivisionByZero
 Exception: division by zero. More...
class  DraggableListWidget
class  Dump
class  EditorsPlotsTabWidget
struct  EmitNode
struct  Error
 Compilation error. More...
struct  EventDeclNode
class  EventExecutionKilled
 Exception: an event execution was killed by a new event. More...
class  EventFilterInterface
 DBus interface for an event filter. More...
class  ExecutionStateChanged
 The Program Counter or the flags have changed. More...
class  FixedWidthTableView
struct  FoldedIfWhenNode
struct  FoldedWhileNode
class  FormatableString
class  FunctionParametersDialog
 Dialog that let the user choose setup parameters for functions. More...
class  GetDescription
 Request nodes to send their description. More...
class  GetExecutionState
 Request the current execution state of a node. More...
class  GetVariables
 Read some variables from a node. More...
class  HexFile
class  Hub
struct  IfWhenNode
struct  ImmediateNode
class  LinearCameraViewPlugin
class  LinearCameraViewVariablesDialog
struct  LoadNode
class  LocalEventDescription
 Description of a local event available on a node, the description of the node itself must have been sent first. More...
class  LocalVirtualMachine
 The virtual machine running in local. More...
class  MainWindow
class  Message
 Parent class of any message exchanged over the network. More...
class  MessageTypesInitializer
 Static class that fills a table of known messages types in its constructor. More...
struct  NamedValue
 A name - value pair. More...
struct  NamedValuesVector
 Generic vector of name - value pairs. More...
class  NamedValuesVectorModel
class  NamedVariableDescription
 Description of a named variable available on a node, the description of the node itself must have been sent first. More...
class  NativeFunctionDescription
 Description of a native function available on a node, the description of the node itself must have been sent first. More...
struct  Node
 An abstract node of syntax tree. More...
class  NodeSpecificError
 A node as produced an error specific to it. More...
class  NodeTab
class  Pause
 Pause a node. More...
class  Player
struct  PreLinkBytecode
 Bytecode use for compilation previous to linking. More...
struct  ProgramNode
 Node for "program", i.e. a block node with some special behaviour later on. More...
class  Reboot
 Reboot a node, useful to go into its bootloader, if present. More...
class  Recorder
class  Reset
 Reset a node. More...
class  Run
 Run a node. More...
class  ScriptTab
class  SetBytecode
 Upload bytecode to a node. More...
class  SetVariables
 Set some variables on a node. More...
class  SignalingDescriptionsManager
 Provides a signal/slot interface for the description manager. More...
class  Sleep
struct  SourcePos
 Position in a source file or string. First is line, second is column. More...
class  SpinBoxDelegate
class  Step
 Step a node. More...
class  Stop
 Stop a node. More...
struct  StoreNode
struct  SubDeclNode
class  Switch
class  Target
 The interface to an aseba network. Used to interact with the nodes. More...
struct  TargetDescription
 Description of target VM. More...
class  TargetFunctionsModel
class  TargetVariablesModel
struct  UnaryArithmeticNode
struct  UnifiedTime
 Time or durations, in milliseconds. More...
class  UserMessage
 Any message sent by a script on a node. More...
class  Variables
 Content of some variables. More...
class  VariablesViewPlugin
struct  WhileNode
class  WriteBytecode
 Save the current bytecode of a node. More...

Typedefs

typedef NamedValue ConstantDefinition
 An constant definition is a name - value pair.
typedef NamedValuesVector ConstantsDefinitions
 Vector of constants definitions.
typedef NamedValue EventDescription
 An event description is a name - value pair.
typedef NamedValuesVector EventsDescriptionsVector
 Vector of events descriptions.
typedef std::vector< short int > VariablesDataVector
 Vector of data of variables.
typedef std::vector< std::string > VariablesNamesVector
 Vector of names of variables.

Enumerations

enum  InNextState { NOT_IN_NEXT, WAITING_INITAL_PC, WAITING_LINE_CHANGE }

Functions

std::string binaryOperatorToString (AsebaBinaryOperator op)
 Return the string corresponding to the binary operator.
void dumpCommandList (ostream &stream)
 Show list of known commands.
void dumpHelp (ostream &stream, const char *programName)
 Show usage.
void dumpTime (std::ostream &stream, bool raw=false)
 Dump the current time to a stream.
void errorHexFile (const string &message)
 Produce an error message and quit.
void errorMissingArgument (const char *programName)
 Produce an error message and dump help and quit.
void errorOpenFile (const char *fileName)
 Produce an error message and quit.
void errorReadPage (unsigned pageIndex, unsigned pagesStart, unsigned pagesCount)
 Produce an error message and quit.
void errorReadPage (unsigned pageIndex)
 Produce an error message and quit.
void errorReadPage (int pageNumber)
 Produce an error message and quit.
void errorServerDisconnected ()
 Produce an error message and quit.
void errorUnknownCommand (const char *cmd)
 Produce an error message and dump help and quit.
void errorWriteFile (const char *fileName)
 Produce an error message and quit.
void errorWritePage (unsigned pageIndex)
 Produce an error message and quit.
Values fromAsebaVector (const std::vector< sint16 > &values)
template<typename T >
bool isPOT (T number)
 Return true if number is a power of two.
int processCommand (Stream *stream, int argc, char *argv[])
 Process a command, return the number of arguments eaten (not counting the command itself).
void 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 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 >
unsigned shiftFromPOT (T number)
 If number is a power of two, number = (1 << shift) and this function returns shift, otherwise return value is undefined.
std::vector< sint16toAsebaVector (const Values &values)
std::string unaryOperatorToString (AsebaUnaryOperator op)
 Return the string corresponding to the unary operator.

Variables

class
Aseba::MessageTypesInitializer 
messageTypesInitializer
 Static class that fills a table of known messages types in its constructor.

Function Documentation

void Aseba::dumpCommandList ( ostream &  stream  ) 

Show list of known commands.

Definition at line 33 of file cmd.cpp.

void Aseba::dumpHelp ( ostream &  stream,
const char *  programName 
)

Show usage.

Definition at line 46 of file cmd.cpp.

void Aseba::errorHexFile ( const string &  message  ) 

Produce an error message and quit.

Definition at line 100 of file cmd.cpp.

void Aseba::errorMissingArgument ( const char *  programName  ) 

Produce an error message and dump help and quit.

Definition at line 55 of file cmd.cpp.

void Aseba::errorOpenFile ( const char *  fileName  ) 

Produce an error message and quit.

Definition at line 79 of file cmd.cpp.

void Aseba::errorReadPage ( unsigned  pageIndex,
unsigned  pagesStart,
unsigned  pagesCount 
)

Produce an error message and quit.

Definition at line 121 of file cmd.cpp.

void Aseba::errorReadPage ( unsigned  pageIndex  ) 

Produce an error message and quit.

Definition at line 114 of file cmd.cpp.

void Aseba::errorReadPage ( int  pageNumber  ) 

Produce an error message and quit.

Definition at line 72 of file cmd.cpp.

void Aseba::errorServerDisconnected (  ) 

Produce an error message and quit.

Definition at line 93 of file cmd.cpp.

void Aseba::errorUnknownCommand ( const char *  cmd  ) 

Produce an error message and dump help and quit.

Definition at line 63 of file cmd.cpp.

void Aseba::errorWriteFile ( const char *  fileName  ) 

Produce an error message and quit.

Definition at line 86 of file cmd.cpp.

void Aseba::errorWritePage ( unsigned  pageIndex  ) 

Produce an error message and quit.

Definition at line 107 of file cmd.cpp.

int Aseba::processCommand ( Stream *  stream,
int  argc,
char *  argv[] 
)

Process a command, return the number of arguments eaten (not counting the command itself).

Definition at line 403 of file cmd.cpp.


Variable Documentation

Static class that fills a table of known messages types in its constructor.

static instance, used only to have its constructor called on startup

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:42:12 2011