#include <GlutIOModule.h>
Inherits fsf::CNode.
Public Member Functions | |
Creators | |
CJoystickState () | |
Default constructor. | |
CJoystickState (fsf::CNode *pParent, fsf::Time tTime=0) | |
2-parameter constructor: parent and time stamp | |
CJoystickState (std::string &strName, fsf::CNode *pParent=NULL, fsf::Time tTime=0) | |
3-parameter constructor: node name, parent and time stamp | |
CJoystickState (int buttonMask, int x, int y, int z, fsf::CNode *pParent=NULL, fsf::Time tTime=0) | |
6-parameter initialization constructor | |
CJoystickState (std::string &strName, int buttonMask, int x, int y, int z, fsf::CNode *pParent=NULL, fsf::Time tTime=0) | |
7-parameter inisitalization constructor | |
CJoystickState (const CJoystickState &rhs) | |
Copy constructor. | |
virtual fsf::CNode * | clone () const |
Cloning: necessary for run-time polymorphism. | |
Manipulators | |
CJoystickState & | operator= (const CJoystickState &) |
Assignment operator. | |
void | setButtonMask (int buttonMask) |
void | setX (int x) |
void | setY (int y) |
void | setZ (int z) |
Accessors | |
virtual void | getTypeID (std::string &str) const |
int | getButtonMask () const |
int | getX () const |
int | getY () const |
int | getZ () const |
glutio::CJoystickState::CJoystickState | ( | ) | [inline] |
Default constructor.
glutio::CJoystickState::CJoystickState | ( | fsf::CNode * | pParent, | |
fsf::Time | tTime = 0 | |||
) | [inline] |
2-parameter constructor: parent and time stamp
glutio::CJoystickState::CJoystickState | ( | std::string & | strName, | |
fsf::CNode * | pParent = NULL , |
|||
fsf::Time | tTime = 0 | |||
) | [inline] |
3-parameter constructor: node name, parent and time stamp
glutio::CJoystickState::CJoystickState | ( | int | buttonMask, | |
int | x, | |||
int | y, | |||
int | z, | |||
fsf::CNode * | pParent = NULL , |
|||
fsf::Time | tTime = 0 | |||
) | [inline] |
6-parameter initialization constructor
glutio::CJoystickState::CJoystickState | ( | std::string & | strName, | |
int | buttonMask, | |||
int | x, | |||
int | y, | |||
int | z, | |||
fsf::CNode * | pParent = NULL , |
|||
fsf::Time | tTime = 0 | |||
) | [inline] |
7-parameter inisitalization constructor
glutio::CJoystickState::CJoystickState | ( | const CJoystickState & | rhs | ) | [inline] |
Copy constructor.
virtual fsf::CNode* glutio::CJoystickState::clone | ( | ) | const [inline, virtual] |
int glutio::CJoystickState::getButtonMask | ( | ) | const [inline] |
virtual void glutio::CJoystickState::getTypeID | ( | std::string & | str | ) | const [inline, virtual] |
Reimplemented from fsf::CNode.
int glutio::CJoystickState::getX | ( | ) | const [inline] |
int glutio::CJoystickState::getY | ( | ) | const [inline] |
int glutio::CJoystickState::getZ | ( | ) | const [inline] |
CJoystickState & CJoystickState::operator= | ( | const CJoystickState & | rhs | ) |
Assignment operator.
void glutio::CJoystickState::setButtonMask | ( | int | buttonMask | ) | [inline] |
void glutio::CJoystickState::setX | ( | int | x | ) | [inline] |
void glutio::CJoystickState::setY | ( | int | y | ) | [inline] |
void glutio::CJoystickState::setZ | ( | int | z | ) | [inline] |