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

ONE::util::ActionControl Class Reference

Inheritance diagram for ONE::util::ActionControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

an action command Controls

The control holds the current mouse position as well as the action command. These controls come in the flavors START and END which represent the start and the end of an action, respectively.

Author:
Daniel Seibert


Public Types

enum  Type { START, END }

Public Member Functions

 ActionControl (const Command &c, Type t, const int &x, const int &y, const std::string &param="")
 ActionControl ()
void deserialize (BinaryInput &)
const CommandgetCommand () const
const std::string & getParameter () const
const int & getPositionX () const
const int & getPositionY () const
virtual int getRegTypeID ()
Type getType () const
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


Member Enumeration Documentation

enum ONE::util::ActionControl::Type
 

Enumerator:
START 
END 


Constructor & Destructor Documentation

ONE::util::ActionControl::ActionControl  )  [inline]
 

ONE::util::ActionControl::ActionControl const Command c,
Type  t,
const int &  x,
const int &  y,
const std::string &  param = ""
 


Member Function Documentation

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

Implements ONE::util::Serializable.

const Command & ONE::util::ActionControl::getCommand  )  const [inline]
 

const std::string & ONE::util::ActionControl::getParameter  )  const [inline]
 

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

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

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

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

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

Reimplemented from ONE::util::Serializable.

ActionControl::Type ONE::util::ActionControl::getType  )  const [inline]
 

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

Implements ONE::util::Serializable.

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

Reimplemented from ONE::util::Serializable.


Member Data Documentation

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

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


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