$search

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 (ThymioIRButtonSet *buttonSet)
virtual void visit (ThymioIRButton *button)
 ~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

Aseba::ThymioIRCodeGenerator::ThymioIRCodeGenerator (  ) 

Definition at line 163 of file ThymioIRVisitors.cpp.

Aseba::ThymioIRCodeGenerator::~ThymioIRCodeGenerator (  ) 

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.

int Aseba::ThymioIRCodeGenerator::buttonToCode ( int  id  )  const

Definition at line 203 of file ThymioIRVisitors.cpp.

void Aseba::ThymioIRCodeGenerator::clear (  ) 

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.

void Aseba::ThymioIRCodeGenerator::reset (  ) 

Definition at line 192 of file ThymioIRVisitors.cpp.

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

Reimplemented from Aseba::ThymioIRVisitor.

Definition at line 376 of file ThymioIRVisitors.cpp.

void Aseba::ThymioIRCodeGenerator::visit ( ThymioIRButton button  )  [virtual]

Reimplemented from Aseba::ThymioIRVisitor.

Definition at line 211 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:
 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:56 2013