JoystickCursorProcess Class Reference

#include <Joystick.h>

Inheritance diagram for JoystickCursorProcess:

Process List of all members.

Public Member Functions

 JoystickCursorProcess ()
 JoystickCursorProcess (Joystick js_, int x_axis_, int y_axis_)
virtual ~JoystickCursorProcess ()
 ENABLE_RUNTIME_CLASSTYPE ()
virtual bool run (const uint32 framenum)
bool loadData (IDataSource *ids, uint32 version)

Protected Member Functions

virtual void saveData (ODataSource *ods)

Protected Attributes

Joystick js
int x_axis
int y_axis
int ticks
int accel

Detailed Description

Definition at line 37 of file Joystick.h.


Constructor & Destructor Documentation

JoystickCursorProcess::JoystickCursorProcess (  ) 

Definition at line 84 of file Joystick.cpp.

JoystickCursorProcess::JoystickCursorProcess ( Joystick  js_,
int  x_axis_,
int  y_axis_ 
)

Definition at line 89 of file Joystick.cpp.

References Process::flags, joy, JOY_LAST, js, perr, Process::PROC_RUNPAUSED, Process::terminate(), Process::type, x_axis, and y_axis.

JoystickCursorProcess::~JoystickCursorProcess (  )  [virtual]

Definition at line 111 of file Joystick.cpp.


Member Function Documentation

JoystickCursorProcess::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from Process.

bool JoystickCursorProcess::loadData ( IDataSource ids,
uint32  version 
)

load Process data

Reimplemented from Process.

Definition at line 157 of file Joystick.cpp.

References Process::loadData(), and Process::terminateDeferred().

bool JoystickCursorProcess::run ( const uint32  framenum  )  [virtual]

CONSTANTS - and a lot of guess work.

Implements Process.

Definition at line 118 of file Joystick.cpp.

References accel, GUIApp::get_instance(), GUIApp::getMouseCoords(), joy, js, GUIApp::setMouseCoords(), ticks, x_axis, and y_axis.

void JoystickCursorProcess::saveData ( ODataSource ods  )  [protected, virtual]

save the Process data

Reimplemented from Process.

Definition at line 165 of file Joystick.cpp.

References Process::saveData().


Member Data Documentation

int JoystickCursorProcess::accel [protected]

Definition at line 54 of file Joystick.h.

Referenced by run().

Joystick JoystickCursorProcess::js [protected]

Definition at line 51 of file Joystick.h.

Referenced by JoystickCursorProcess(), and run().

int JoystickCursorProcess::ticks [protected]

Definition at line 53 of file Joystick.h.

Referenced by run().

int JoystickCursorProcess::x_axis [protected]

Definition at line 52 of file Joystick.h.

Referenced by JoystickCursorProcess(), and run().

int JoystickCursorProcess::y_axis [protected]

Definition at line 52 of file Joystick.h.

Referenced by JoystickCursorProcess(), and run().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:29 2007 for pentagram by  doxygen 1.4.7