Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::util::MotionControl Class Reference

Inheritance diagram for ONE::util::MotionControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

a mouse motion Controls

The control holds the current mouse position in pixel coordinates as well as the executed motion, i.e. the difference between the current and the last mouse position.

Author:
Daniel Seibert


Public Member Functions

void deserialize (BinaryInput &)
const int & getMotionX () const
const int & getMotionY () const
const int & getPositionX () const
const int & getPositionY () const
virtual int getRegTypeID ()
 MotionControl (const int &x, const int &y, const int &mx, const int &my)
 MotionControl ()
void serialize (BinaryOutput &) const

Static Public Member Functions

static int getStaticRegTypeID ()
static void setStaticRegTypeID (int id)

Static Protected Attributes

static int typeID
static int typeID


Constructor & Destructor Documentation

ONE::util::MotionControl::MotionControl  )  [inline]
 

ONE::util::MotionControl::MotionControl const int &  x,
const int &  y,
const int &  mx,
const int &  my
 


Member Function Documentation

void ONE::util::MotionControl::deserialize BinaryInput &   )  [virtual]
 

Implements ONE::util::Serializable.

const int & ONE::util::MotionControl::getMotionX  )  const [inline]
 

const int & ONE::util::MotionControl::getMotionY  )  const [inline]
 

const int & ONE::util::MotionControl::getPositionX  )  const [inline]
 

const int & ONE::util::MotionControl::getPositionY  )  const [inline]
 

virtual int ONE::util::MotionControl::getRegTypeID  )  [inline, virtual]
 

Implements ONE::util::RegisterableType< MotionControl >.

static int ONE::util::MotionControl::getStaticRegTypeID  )  [inline, static]
 

Reimplemented from ONE::util::Serializable.

void ONE::util::MotionControl::serialize BinaryOutput &   )  const [virtual]
 

Implements ONE::util::Serializable.

static void ONE::util::MotionControl::setStaticRegTypeID int  id  )  [inline, static]
 

Reimplemented from ONE::util::Serializable.


Member Data Documentation

int ONE::util::RegisterableType< MotionControl >::typeID [static, protected, inherited]
 

int ONE::util::RegisterableType< Serializable >::typeID [static, protected, inherited]
 


Generated on Wed Sep 7 19:03:32 2005 for ONEngine by  doxygen 1.4.3