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

UniversalJointEffector Class Reference

#include <universaljointeffector.h>

Inheritance diagram for UniversalJointEffector:

Inheritance graph
[legend]
Collaboration diagram for UniversalJointEffector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UniversalJointEffector ()
virtual ~UniversalJointEffector ()
virtual bool Realize (boost::shared_ptr< oxygen::ActionObject > action)
 realizes the action described by the ActionObject
virtual std::string GetPredicate ()
 returns the name of the predicate this effector implements.
virtual boost::shared_ptr<
oxygen::ActionObject
GetActionObject (const oxygen::Predicate &predicate)
 constructs an Actionobject, describing a predicate

Protected Member Functions

virtual void OnLink ()
 setup the reference to the HingeJoint parent node
virtual void OnUnlink ()
 remove the reference to the HingeJoint parent node

Protected Attributes

boost::shared_ptr< oxygen::UniversalJointmJoint
 cached reference to the monitor joint

Detailed Description

Definition at line 26 of file universaljointeffector.h.


Constructor & Destructor Documentation

UniversalJointEffector::UniversalJointEffector  ) 
 

Definition at line 29 of file universaljointeffector.cpp.

References zeitgeist::Leaf::SetName().

Here is the call graph for this function:

UniversalJointEffector::~UniversalJointEffector  )  [virtual]
 

Definition at line 34 of file universaljointeffector.cpp.


Member Function Documentation

shared_ptr< ActionObject > UniversalJointEffector::GetActionObject const oxygen::Predicate predicate  )  [virtual]
 

constructs an Actionobject, describing a predicate

Implements oxygen::Effector.

Definition at line 62 of file universaljointeffector.cpp.

References oxygen::Predicate::AdvanceValue(), oxygen::Predicate::begin(), zeitgeist::Object::GetLog(), GetPredicate(), mJoint, and oxygen::Predicate::name.

Here is the call graph for this function:

virtual std::string UniversalJointEffector::GetPredicate  )  [inline, virtual]
 

returns the name of the predicate this effector implements.

Implements oxygen::Effector.

Definition at line 36 of file universaljointeffector.h.

References zeitgeist::Leaf::GetName().

Referenced by GetActionObject().

Here is the call graph for this function:

void UniversalJointEffector::OnLink  )  [protected, virtual]
 

setup the reference to the HingeJoint parent node

Reimplemented from zeitgeist::Leaf.

Definition at line 103 of file universaljointeffector.cpp.

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

Here is the call graph for this function:

void UniversalJointEffector::OnUnlink  )  [protected, virtual]
 

remove the reference to the HingeJoint parent node

Reimplemented from zeitgeist::Leaf.

Definition at line 114 of file universaljointeffector.cpp.

References mJoint.

virtual bool UniversalJointEffector::Realize boost::shared_ptr< oxygen::ActionObject action  )  [virtual]
 

realizes the action described by the ActionObject

Implements oxygen::Effector.


Member Data Documentation

boost::shared_ptr<oxygen::UniversalJoint> UniversalJointEffector::mJoint [protected]
 

cached reference to the monitor joint

Definition at line 51 of file universaljointeffector.h.

Referenced by GetActionObject(), OnLink(), and OnUnlink().


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