TestJoyStickListener Class Reference

A simple joystick listener. More...

#include <Robots/SeaBeeIII/XBox360RemoteControlI.H>

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

List of all members.

Public Member Functions

 TestJoyStickListener (const nub::soft_ref< Beowulf > b)
virtual void axis (const uint num, const int16 val)
 An axis changed.
virtual void button (const uint num, const bool state)
 A button changed.
virtual void sendData ()
virtual void axis (const uint num, const int16 val)
 An axis changed.
virtual void button (const uint num, const bool state)
 A button changed.
 TestJoyStickListener (rutz::shared_ptr< XBox360RemoteControlI > remote)
virtual void axis (const uint num, const int16 val)
 An axis changed.
virtual void button (const uint num, const bool state)
 A button changed.
virtual void axis (const uint num, const int16 val)
 An axis changed.
virtual void button (const uint num, const bool state)
 A button changed.
virtual void axis (const uint num, const int16 val)
 An axis changed.
virtual void button (const uint num, const bool state)
 A button changed.

Public Attributes

Image< float > data
nub::soft_ref< Beowulfbeo
rutz::shared_ptr
< XBox360RemoteControlI
itsRemote

Detailed Description

A simple joystick listener.

Definition at line 44 of file test-BeoJoyStick.C.


Member Function Documentation

virtual void TestJoyStickListener::axis ( const uint  num,
const int16  val 
) [inline, virtual]

An axis changed.

Parameters:
num axis number
val new axis value

Implements JoyStickListener.

Definition at line 72 of file test-SeaBeeJoyStick.C.

References TCPmessage::addFloat(), TCPmessage::addInt32(), and TCPmessage::reset().

virtual void TestJoyStickListener::axis ( const uint  num,
const int16  val 
) [inline, virtual]

An axis changed.

Parameters:
num axis number
val new axis value

Implements JoyStickListener.

Definition at line 93 of file seaBeeJoyStick-master.C.

References TCPmessage::addFloat(), TCPmessage::addInt32(), and TCPmessage::reset().

virtual void TestJoyStickListener::axis ( const uint  num,
const int16  val 
) [inline, virtual]

An axis changed.

Parameters:
num axis number
val new axis value

Implements JoyStickListener.

Definition at line 203 of file XBox360RemoteControlI.H.

References abs().

virtual void TestJoyStickListener::axis ( const uint  num,
const int16  val 
) [inline, virtual]

An axis changed.

Parameters:
num axis number
val new axis value

Implements JoyStickListener.

Definition at line 52 of file test-JoyStick.C.

virtual void TestJoyStickListener::axis ( const uint  num,
const int16  val 
) [inline, virtual]

An axis changed.

Parameters:
num axis number
val new axis value

Implements JoyStickListener.

Definition at line 53 of file test-BeoJoyStick.C.

References Image< T >::setVal().

virtual void TestJoyStickListener::button ( const uint  num,
const bool  state 
) [inline, virtual]

A button changed.

Parameters:
num button number
state new button state (true = pressed)

Implements JoyStickListener.

Definition at line 117 of file test-SeaBeeJoyStick.C.

virtual void TestJoyStickListener::button ( const uint  num,
const bool  state 
) [inline, virtual]

A button changed.

Parameters:
num button number
state new button state (true = pressed)

Implements JoyStickListener.

Definition at line 135 of file seaBeeJoyStick-master.C.

virtual void TestJoyStickListener::button ( const uint  num,
const bool  state 
) [inline, virtual]

A button changed.

Parameters:
num button number
state new button state (true = pressed)

Implements JoyStickListener.

Definition at line 257 of file XBox360RemoteControlI.H.

virtual void TestJoyStickListener::button ( const uint  num,
const bool  state 
) [inline, virtual]

A button changed.

Parameters:
num button number
state new button state (true = pressed)

Implements JoyStickListener.

Definition at line 55 of file test-JoyStick.C.

virtual void TestJoyStickListener::button ( const uint  num,
const bool  state 
) [inline, virtual]

A button changed.

Parameters:
num button number
state new button state (true = pressed)

Implements JoyStickListener.

Definition at line 87 of file test-BeoJoyStick.C.

References Image< T >::setVal().


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