$search

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.

Aseba::ThymioIRButton::~ThymioIRButton (  ) 

Definition at line 14 of file ThymioIRButtons.cpp.


Member Function Documentation

void Aseba::ThymioIRButton::accept ( ThymioIRVisitor visitor  ) 

Definition at line 84 of file ThymioIRButtons.cpp.

wstring Aseba::ThymioIRButton::getBasename (  )  const

Definition at line 63 of file ThymioIRButtons.cpp.

int Aseba::ThymioIRButton::getMemoryState (  )  const

Definition at line 48 of file ThymioIRButtons.cpp.

ThymioIRButtonName Aseba::ThymioIRButton::getName (  )  const

Definition at line 58 of file ThymioIRButtons.cpp.

int Aseba::ThymioIRButton::getNumStates (  )  const

Definition at line 33 of file ThymioIRButtons.cpp.

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

Definition at line 25 of file ThymioIRButtons.cpp.

bool Aseba::ThymioIRButton::isEventButton (  )  const

Definition at line 68 of file ThymioIRButtons.cpp.

bool Aseba::ThymioIRButton::isSet (  )  const

Definition at line 73 of file ThymioIRButtons.cpp.

void Aseba::ThymioIRButton::setBasename ( wstring  n  ) 

Definition at line 53 of file ThymioIRButtons.cpp.

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

Definition at line 19 of file ThymioIRButtons.cpp.

void Aseba::ThymioIRButton::setMemoryState ( int  s  ) 

Definition at line 43 of file ThymioIRButtons.cpp.

int Aseba::ThymioIRButton::size (  )  const

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:
 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