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

#include <ThymioIntermediateRepresentation.h>

List of all members.

Public Member Functions

void accept (ThymioIRVisitor *visitor)
wstring getBasename () const
int getMemoryState () const
ThymioIRButtonName getName () const
int getNumStates () const
int isClicked (int i) const
bool isEventButton () const
bool isSet () const
void setBasename (wstring n)
void setClicked (int i, int status)
void setMemoryState (int s)
int size () const
 ThymioIRButton (int size=0, ThymioIRButtonName n=THYMIO_BUTTONS_IR, int states=2)
 ~ThymioIRButton ()

Private Attributes

wstring basename
vector< int > buttons
int memory
ThymioIRButtonName name
int numStates

Detailed Description

Definition at line 47 of file ThymioIntermediateRepresentation.h.


Constructor & Destructor Documentation

Aseba::ThymioIRButton::ThymioIRButton ( int  size = 0,
ThymioIRButtonName  n = THYMIO_BUTTONS_IR,
int  states = 2 
)

Definition at line 6 of file ThymioIRButtons.cpp.

Definition at line 14 of file ThymioIRButtons.cpp.


Member Function Documentation

Definition at line 84 of file ThymioIRButtons.cpp.

Definition at line 63 of file ThymioIRButtons.cpp.

Definition at line 48 of file ThymioIRButtons.cpp.

Definition at line 58 of file ThymioIRButtons.cpp.

Definition at line 33 of file ThymioIRButtons.cpp.

int Aseba::ThymioIRButton::isClicked ( int  i) const

Definition at line 25 of file ThymioIRButtons.cpp.

Definition at line 68 of file ThymioIRButtons.cpp.

Definition at line 73 of file ThymioIRButtons.cpp.

Definition at line 53 of file ThymioIRButtons.cpp.

void Aseba::ThymioIRButton::setClicked ( int  i,
int  status 
)

Definition at line 19 of file ThymioIRButtons.cpp.

Definition at line 43 of file ThymioIRButtons.cpp.

Definition at line 38 of file ThymioIRButtons.cpp.


Member Data Documentation

Definition at line 74 of file ThymioIntermediateRepresentation.h.

vector<int> Aseba::ThymioIRButton::buttons [private]

Definition at line 70 of file ThymioIntermediateRepresentation.h.

Definition at line 71 of file ThymioIntermediateRepresentation.h.

Definition at line 73 of file ThymioIntermediateRepresentation.h.

Definition at line 72 of file ThymioIntermediateRepresentation.h.


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


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17