RobotLib  1
A set of software wrappers for Rovio, Roomba and NXT robots written in C#.
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Properties | List of all members
Roomba.Sensors.Button Class Reference

The state of the four Roomba buttons: false = button not pressed, true = button pressed. More...

Inheritance diagram for Roomba.Sensors.Button:
Roomba.Component

Public Member Functions

 Button (Robot _robot)
 The constructor.
 
- Public Member Functions inherited from Roomba.Component
 Component (Robot _robot)
 The constructor.
 

Properties

bool Max [get]
 The state of the Max button.
 
bool Clean [get]
 The state of the Clean button.
 
bool Spot [get]
 The state of the Spot button.
 
bool Power [get]
 The state of the Power button.
 

Additional Inherited Members

- Public Attributes inherited from Roomba.Component
bool AutoUpdate = true
 Automatic update option for methods requesting more than one piece of information.
 
- Protected Attributes inherited from Roomba.Component
Robot robot
 The robot class, accessible by all dervied classes.
 

Detailed Description

The state of the four Roomba buttons: false = button not pressed, true = button pressed.

Constructor & Destructor Documentation

Roomba.Sensors.Button.Button ( Robot  _robot)

The constructor.

Property Documentation

bool Roomba.Sensors.Button.Clean
get

The state of the Clean button.

bool Roomba.Sensors.Button.Max
get

The state of the Max button.

bool Roomba.Sensors.Button.Power
get

The state of the Power button.

bool Roomba.Sensors.Button.Spot
get

The state of the Spot button.


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