dtCore::AxisListener Class Reference

An interface for objects interested in changes to axes. More...

#include <inputdevice.h>

Inheritance diagram for dtCore::AxisListener:

dtCore::AxesToAxis dtCore::AxisToAxis dtCore::ButtonAxisToAxis dtCore::FPSMotionModel::FPSAxisListener dtCore::InputMapper dtCore::OrbitMotionModel

List of all members.

Public Member Functions

virtual ~AxisListener ()
virtual bool AxisStateChanged (const Axis *axis, double oldState, double newState, double delta)=0
 Called when an axis' state has changed.


Detailed Description

An interface for objects interested in changes to axes.

Constructor & Destructor Documentation

virtual dtCore::AxisListener::~AxisListener (  )  [inline, virtual]


Member Function Documentation

virtual bool dtCore::AxisListener::AxisStateChanged ( const Axis axis,
double  oldState,
double  newState,
double  delta 
) [pure virtual]

Called when an axis' state has changed.

Parameters:
axis the changed axis
oldState the old state of the axis
newState the new state of the axis
delta a delta value indicating stateless motion

Implemented in dtCore::FPSMotionModel::FPSAxisListener, dtCore::InputMapper, dtCore::AxisToAxis, dtCore::AxesToAxis, dtCore::ButtonAxisToAxis, and dtCore::OrbitMotionModel.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008