CButton Class Reference

Button (Hardware abstraction). More...

#include <wrapper.h>

Inheritance diagram for CButton:

CIdentifiable List of all members.

Public Types

enum  BUTTON_STATES { BUTTON_PRESSED, BUTTON_NOT_PRESSED }
 Button states. More...

Public Member Functions

 CButton ()
byte isPressed ()
 Returns button state.
void readFromRobot ()
 Reads current state from robot.

Private Attributes

byte pressed

Detailed Description

Button (Hardware abstraction).


Member Enumeration Documentation

enum CButton::BUTTON_STATES

Button states.

Enumerator:
BUTTON_PRESSED 
BUTTON_NOT_PRESSED 


Constructor & Destructor Documentation

CButton::CButton (  ) 


Member Function Documentation

byte CButton::isPressed (  ) 

Returns button state.

See also:
BUTTON_STATES

void CButton::readFromRobot (  ) 

Reads current state from robot.


Member Data Documentation

byte CButton::pressed [private]


The documentation for this class was generated from the following files:
Generated on Mon Apr 21 23:27:43 2008 for BioloidControl by  doxygen 1.5.2