Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::LogicalInputEngine::AxisDriver Class Reference

An abstract interface to a driver for a logical axis created by the LogicalInputEngine. More...

#include <PhxLogicalInputEngine.h>

Inheritance diagram for Phx::LogicalInputEngine::AxisDriver:

Phx::LockedPtrInterface< AxisDriver > Phx::LogicalInputEngine::AnalogAxisDriver Phx::LogicalInputEngine::DigitalAxisDriver List of all members.

Public Types

typedef LogicalInputEngine::AxisState AxisState

Public Member Functions

virtual AxisState axisState (void) const =0
 Returns the state of the axis.
const String & name (void) const
 Returns the name of the logical axis this driver is used for.

Protected Member Functions

void setName (const String &name)

Detailed Description

An abstract interface to a driver for a logical axis created by the LogicalInputEngine.

See also:
AnalogAxisDriver

DigitalAxisDriver


Member Function Documentation

virtual AxisState Phx::LogicalInputEngine::AxisDriver::axisState void   )  const [pure virtual]
 

Returns the state of the axis.

Returns:
The current state of this logical button as determined by the driver subclass, in the range [-1, +1].

const String& Phx::LogicalInputEngine::AxisDriver::name void   )  const [inline]
 

Returns the name of the logical axis this driver is used for.

Returns:
The name of the axis this AxisDriver is driving.


The documentation for this class was generated from the following file:
Generated on Mon Jul 10 19:45:29 2006 for Phoenix OSFS by  doxygen 1.4.2