Public Member Functions | Private Attributes
Aseba::ThymioIRCodeGenerator Class Reference

#include <ThymioIntermediateRepresentation.h>

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

List of all members.

Public Member Functions

vector< wstring >::const_iterator beginCode () const
int buttonToCode (int id) const
void clear ()
vector< wstring >::const_iterator endCode () const
void reset ()
 ThymioIRCodeGenerator ()
virtual void visit (ThymioIRButton *button)
virtual void visit (ThymioIRButtonSet *buttonSet)
 ~ThymioIRCodeGenerator ()

Private Attributes

vector< int > buttonToCodeMap
int currentBlock
vector< wstring > directions
map< ThymioIRButtonName, pair
< int, int > > 
editor
vector< wstring > generatedCode
bool inIfBlock

Detailed Description

Definition at line 151 of file ThymioIntermediateRepresentation.h.


Constructor & Destructor Documentation

Definition at line 163 of file ThymioIRVisitors.cpp.

Definition at line 179 of file ThymioIRVisitors.cpp.


Member Function Documentation

vector<wstring>::const_iterator Aseba::ThymioIRCodeGenerator::beginCode ( ) const [inline]

Definition at line 160 of file ThymioIntermediateRepresentation.h.

Definition at line 203 of file ThymioIRVisitors.cpp.

Definition at line 185 of file ThymioIRVisitors.cpp.

vector<wstring>::const_iterator Aseba::ThymioIRCodeGenerator::endCode ( ) const [inline]

Definition at line 161 of file ThymioIntermediateRepresentation.h.

Definition at line 192 of file ThymioIRVisitors.cpp.

Reimplemented from Aseba::ThymioIRVisitor.

Definition at line 211 of file ThymioIRVisitors.cpp.

void Aseba::ThymioIRCodeGenerator::visit ( ThymioIRButtonSet buttonSet) [virtual]

Reimplemented from Aseba::ThymioIRVisitor.

Definition at line 376 of file ThymioIRVisitors.cpp.


Member Data Documentation

Definition at line 174 of file ThymioIntermediateRepresentation.h.

Definition at line 172 of file ThymioIntermediateRepresentation.h.

vector<wstring> Aseba::ThymioIRCodeGenerator::directions [private]

Definition at line 171 of file ThymioIntermediateRepresentation.h.

Definition at line 168 of file ThymioIntermediateRepresentation.h.

Definition at line 170 of file ThymioIntermediateRepresentation.h.

Definition at line 173 of file ThymioIntermediateRepresentation.h.


The documentation for this class was generated from the following files:


aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:40