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

ONE::scene::User Class Reference

Inheritance diagram for ONE::scene::User:

Inheritance graph
[legend]
List of all members.

Detailed Description

a user's representation in the application

This class represents a user who is connected to the application logic. Users may react to ControlEvent s in order to update their internal state or similar.

Author:
Daniel Seibert, Manuel Kugelmann


Public Types

typedef ControlDispatcher Controller
 defines the Controller class
typedef ControllerCP
 pointer to Controller

Public Member Functions

void addController (const CP &)
 adds a controller
void clearControllers ()
 registers this from all controllers.
virtual void processControlEvent (util::ControlEvent &)
void removeController (const CP &)
 removes a controller
void shareControllers (Controlled *peer)
 shares the Controller s controlling this object with peer
void transferControllers (Controlled *peer)
 transfers the Controller s controlling this object to peer
 User (const util::Controlled::CP &c)


Member Typedef Documentation

typedef ControlDispatcher ONE::util::Controlled::Controller [inherited]
 

defines the Controller class

typedef Controller* ONE::util::Controlled::CP [inherited]
 

pointer to Controller


Constructor & Destructor Documentation

ONE::scene::User::User const util::Controlled::CP c  ) 
 


Member Function Documentation

void ONE::util::Controlled::addController const CP  )  [inherited]
 

adds a controller

This object is automatically registered with the controller.

void ONE::util::Controlled::clearControllers  )  [inherited]
 

registers this from all controllers.

virtual void ONE::scene::User::processControlEvent util::ControlEvent  )  [inline, virtual]
 

Implements ONE::util::ControlListener.

void ONE::util::Controlled::removeController const CP  )  [inherited]
 

removes a controller

Tis object is automatically de-registered from the controller.

void ONE::util::Controlled::shareControllers Controlled peer  )  [inherited]
 

shares the Controller s controlling this object with peer

The controllers stay in control of this object.

void ONE::util::Controlled::transferControllers Controlled peer  )  [inherited]
 

transfers the Controller s controlling this object to peer

The controllers no longer control this object.


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