Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

oxygen::ControlAspect Class Reference

#include <controlaspect.h>

Inheritance diagram for oxygen::ControlAspect:

Inheritance graph
[legend]
Collaboration diagram for oxygen::ControlAspect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ControlAspect ()
virtual ~ControlAspect ()
virtual void Update (float deltaTime)=0
 called during the update of the GameControlServer to allow the ControlAspect to perform any necessary checks.
boost::shared_ptr< SceneGetActiveScene ()
 queries the SceneServer for the currently active scene node
boost::shared_ptr< ControlAspectGetControlAspect (const std::string &name)
 returns a reference to a ControlAspect registered to the GameControlServer

Detailed Description

Definition at line 31 of file controlaspect.h.


Constructor & Destructor Documentation

oxygen::ControlAspect::ControlAspect  )  [inline]
 

Definition at line 34 of file controlaspect.h.

virtual oxygen::ControlAspect::~ControlAspect  )  [inline, virtual]
 

Definition at line 35 of file controlaspect.h.


Member Function Documentation

shared_ptr< Scene > ControlAspect::GetActiveScene  ) 
 

queries the SceneServer for the currently active scene node

Definition at line 33 of file controlaspect.cpp.

References zeitgeist::Object::GetCore(), and zeitgeist::Object::GetLog().

Referenced by SoccerControlAspect::OnLink().

Here is the call graph for this function:

boost::shared_ptr<ControlAspect> oxygen::ControlAspect::GetControlAspect const std::string &  name  ) 
 

returns a reference to a ControlAspect registered to the GameControlServer

Referenced by SoccerRuleAspect::OnLink(), and BallStateAspect::OnLink().

virtual void oxygen::ControlAspect::Update float  deltaTime  )  [pure virtual]
 

called during the update of the GameControlServer to allow the ControlAspect to perform any necessary checks.

Parameters:
time is the time passed since the last update in seconds

Implemented in BallStateAspect, GameStateAspect, and SoccerRuleAspect.


The documentation for this class was generated from the following files:
Generated on Thu Apr 6 15:44:18 2006 for rcssserver3d by  doxygen 1.4.4