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

TimePerceptor Class Reference

#include <timeperceptor.h>

Inheritance diagram for TimePerceptor:

Inheritance graph
[legend]
Collaboration diagram for TimePerceptor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TimePerceptor ()
virtual ~TimePerceptor ()
bool Percept (boost::shared_ptr< oxygen::PredicateList > predList)

Protected Member Functions

virtual void OnLink ()
 This method is called, when the hierarchy object has been linked to a parent.
virtual void OnUnlink ()
 This rountine is called, before the hierarchy object is removed from the parent.

Protected Attributes

boost::shared_ptr< oxygen::SimulationServermSimulationServer
 cached reference to the SimulationServer

Detailed Description

Definition at line 28 of file timeperceptor.h.


Constructor & Destructor Documentation

TimePerceptor::TimePerceptor  ) 
 

Definition at line 30 of file timeperceptor.cpp.

TimePerceptor::~TimePerceptor  )  [virtual]
 

Definition at line 34 of file timeperceptor.cpp.


Member Function Documentation

void TimePerceptor::OnLink  )  [protected, virtual]
 

This method is called, when the hierarchy object has been linked to a parent.

At that point, traversal can commence. It can be overridden to support custom 'link' behavior.

Reimplemented from zeitgeist::Leaf.

Definition at line 38 of file timeperceptor.cpp.

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

Here is the call graph for this function:

void TimePerceptor::OnUnlink  )  [protected, virtual]
 

This rountine is called, before the hierarchy object is removed from the parent.

It can be overridden to support custom 'unlink' behavior.

Reimplemented from zeitgeist::Leaf.

Definition at line 50 of file timeperceptor.cpp.

References mSimulationServer.

bool TimePerceptor::Percept boost::shared_ptr< oxygen::PredicateList predList  )  [virtual]
 

Returns:
true, if valid data is available and false otherwise.

Implements oxygen::Perceptor.


Member Data Documentation

boost::shared_ptr<oxygen::SimulationServer> TimePerceptor::mSimulationServer [protected]
 

cached reference to the SimulationServer

Definition at line 43 of file timeperceptor.h.

Referenced by OnLink(), and OnUnlink().


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