XBox360RemoteControlI Class Reference

Inheritance diagram for XBox360RemoteControlI:
Inheritance graph
[legend]
Collaboration diagram for XBox360RemoteControlI:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XBox360RemoteControlI (int id, OptionManager &mgr, const std::string &descrName="XBox360RemoteControl", const std::string &tagName="XBox360RemoteControl")
virtual void evolve ()
 Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here.
virtual void updateMessage (const RobotSimEvents::EventMessagePtr &eMsg, const Ice::Current &)
 Get a message.
virtual void registerTopics ()
 and registerPublisher calls that you would like to happen automatically after init.
void calibrate ()
void updateSetBtn (int btn)
void updateSetAxis (int axis)
void updateSetAxisInversion ()
bool isEnabled ()
bool isCalibrated ()

Public Attributes

std::map< int, int > itsTypeMappings
std::map< int, int > itsActionIds
std::map< int, int > itsAxisIndices
std::map< int, int > itsInversionMappings

Detailed Description

Definition at line 129 of file XBox360RemoteControlI.H.


Member Function Documentation

void XBox360RemoteControlI::evolve (  )  [virtual]

Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here.

Reimplemented from RobotBrainComponent.

Definition at line 84 of file XBox360RemoteControlI.C.

void XBox360RemoteControlI::registerTopics (  )  [virtual]

and registerPublisher calls that you would like to happen automatically after init.

Register Topics: This function is called at the end of init, and is virtual so that is can be overloaded by chid classes. In your overloaded version you should put all of the registerSubsciption

Reimplemented from RobotBrainComponent.

Definition at line 73 of file XBox360RemoteControlI.C.

References RobotBrainComponent::registerPublisher().

void XBox360RemoteControlI::updateMessage ( const RobotSimEvents::EventMessagePtr &  eMsg,
const Ice::Current &   
) [virtual]

Get a message.

Reimplemented from RobotBrainComponent.

Definition at line 235 of file XBox360RemoteControlI.C.


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