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

phLinuxJoystick Class Reference

#include <phLinuxJoystick.h>

Inheritance diagram for phLinuxJoystick:

phThread phCondition phMutex phObject List of all members.

Detailed Description

Definition at line 10 of file phLinuxJoystick.h.

Public Member Functions

 phLinuxJoystick (const char *path=NULL)
 ~phLinuxJoystick ()
int isOpen ()
int setPath (const char *path)
const char * getPath ()
uint8_t getVersionMajor ()
uint8_t getVersionMinor ()
uint8_t getVersionRevision ()
uint8_t getAxisCount ()
uint8_t getButtonCount ()
const char * getName ()
int getData (phJoystickData &data)
phJoystickDatagetSource ()

Protected Member Functions

int wakeup ()
int run ()

Private Member Functions

int open ()
int close ()

Private Attributes

char * m_path
uint32_t m_path_size
int m_fd
uint8_t m_axis_count
uint8_t m_button_count
char m_name [phLinuxJoystick_NAMELENGTH]
uint8_t m_ver_maj
uint8_t m_ver_min
uint8_t m_ver_rev
phJoystickData m_data

The documentation for this class was generated from the following files:

Copyright (C) 2002 - 2007 Philip D.S. Thoren ( )
University Of Massachusetts at Lowell
Robotics Lab Logo

Generated on Sat Jun 16 02:44:57 2007 for phission by  doxygen 1.4.4