lobot::SpinArbiter::Vote Class Reference

#include <Robots/LoBot/control/LoSpinArbiter.H>

List of all members.

Public Member Functions

 Vote (float spin=0)
float spin () const
 Retrieving the specified spin.

Detailed Description

To spin the robot, each behaviour must vote for the desired amount of rotation. These votes are represented by this inner class. In order to vote, a behaviour must instantiate this class with the new operator, fill out the voting structure properly and then pass it to the arbiter's vote() method.

Definition at line 100 of file LoSpinArbiter.H.


Constructor & Destructor Documentation

lobot::SpinArbiter::Vote::Vote ( float  spin = 0  ) 

Filling out a speed arbiter vote object simply involves passing the desired spin amount to the constructor.

Definition at line 62 of file LoSpinArbiter.C.


Member Function Documentation

float lobot::SpinArbiter::Vote::spin (  )  const [inline]

Retrieving the specified spin.

Definition at line 113 of file LoSpinArbiter.H.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:44:28 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3