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

SoccerControlAspect Class Reference

base class for all ControlAspects implemented in the soccer bundle. More...

#include <soccercontrolaspect.h>

Inheritance diagram for SoccerControlAspect:

Inheritance graph
[legend]
Collaboration diagram for SoccerControlAspect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SoccerControlAspect ()
virtual ~SoccerControlAspect ()
boost::shared_ptr< oxygen::RecorderHandlerGetBallRecorder ()
 returns a reference to the RecorderHandler registered to the Ball node
boost::shared_ptr< oxygen::RecorderHandlerGetFieldRecorder ()
 returns a reference to the RecorderHandler registered to the FieldBox
boost::shared_ptr< oxygen::RecorderHandlerGetLeftGoalRecorder ()
 returns a reference to the RecorderHandler registered to the left goal box
boost::shared_ptr< oxygen::RecorderHandlerGetRightGoalRecorder ()
 returns a reference to the RecorderHandler registered to the left goal box

Protected Member Functions

virtual void OnLink ()
 queries the SceneServer for the currently active scene

Protected Attributes

std::string mScenePath
 cached scene path

Detailed Description

base class for all ControlAspects implemented in the soccer bundle.

It serves as a place to collect utility functions and type definitions common to all ControlAspects in the soccer simulation

Definition at line 43 of file soccercontrolaspect.h.


Constructor & Destructor Documentation

SoccerControlAspect::SoccerControlAspect  ) 
 

Definition at line 35 of file soccercontrolaspect.cpp.

SoccerControlAspect::~SoccerControlAspect  )  [virtual]
 

Definition at line 39 of file soccercontrolaspect.cpp.


Member Function Documentation

shared_ptr< RecorderHandler > SoccerControlAspect::GetBallRecorder  ) 
 

returns a reference to the RecorderHandler registered to the Ball node

Definition at line 56 of file soccercontrolaspect.cpp.

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

Referenced by BallStateAspect::OnLink().

Here is the call graph for this function:

shared_ptr< RecorderHandler > SoccerControlAspect::GetFieldRecorder  ) 
 

returns a reference to the RecorderHandler registered to the FieldBox

Definition at line 70 of file soccercontrolaspect.cpp.

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

Referenced by BallStateAspect::OnLink().

Here is the call graph for this function:

shared_ptr< RecorderHandler > SoccerControlAspect::GetLeftGoalRecorder  ) 
 

returns a reference to the RecorderHandler registered to the left goal box

Definition at line 84 of file soccercontrolaspect.cpp.

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

Referenced by BallStateAspect::OnLink().

Here is the call graph for this function:

shared_ptr< RecorderHandler > SoccerControlAspect::GetRightGoalRecorder  ) 
 

returns a reference to the RecorderHandler registered to the left goal box

Definition at line 98 of file soccercontrolaspect.cpp.

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

Referenced by BallStateAspect::OnLink().

Here is the call graph for this function:

void SoccerControlAspect::OnLink  )  [protected, virtual]
 

queries the SceneServer for the currently active scene

Reimplemented from zeitgeist::Leaf.

Reimplemented in BallStateAspect, GameStateAspect, and SoccerRuleAspect.

Definition at line 43 of file soccercontrolaspect.cpp.

References oxygen::ControlAspect::GetActiveScene(), zeitgeist::Object::GetLog(), and mScenePath.

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

Here is the call graph for this function:


Member Data Documentation

std::string SoccerControlAspect::mScenePath [protected]
 

cached scene path

Definition at line 71 of file soccercontrolaspect.h.

Referenced by GetBallRecorder(), GetFieldRecorder(), GetLeftGoalRecorder(), GetRightGoalRecorder(), and OnLink().


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