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

Hinge2Effector Class Reference

#include <hinge2effector.h>

Inheritance diagram for Hinge2Effector:

Inheritance graph
[legend]
Collaboration diagram for Hinge2Effector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Hinge2Effector ()
virtual ~Hinge2Effector ()
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 Hinge2Joint parent node
virtual void OnUnlink ()
 remove the reference to the Hinge2Joint parent node

Protected Attributes

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

Detailed Description

Definition at line 28 of file hinge2effector.h.


Constructor & Destructor Documentation

Hinge2Effector::Hinge2Effector  ) 
 

Definition at line 30 of file hinge2effector.cpp.

References zeitgeist::Leaf::SetName().

Here is the call graph for this function:

Hinge2Effector::~Hinge2Effector  )  [virtual]
 

Definition at line 35 of file hinge2effector.cpp.


Member Function Documentation

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

constructs an Actionobject, describing a predicate

Implements oxygen::Effector.

Definition at line 63 of file hinge2effector.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 Hinge2Effector::GetPredicate  )  [inline, virtual]
 

returns the name of the predicate this effector implements.

Implements oxygen::Effector.

Definition at line 38 of file hinge2effector.h.

References zeitgeist::Leaf::GetName().

Referenced by GetActionObject().

Here is the call graph for this function:

void Hinge2Effector::OnLink  )  [protected, virtual]
 

setup the reference to the Hinge2Joint parent node

Reimplemented from zeitgeist::Leaf.

Definition at line 96 of file hinge2effector.cpp.

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

Here is the call graph for this function:

void Hinge2Effector::OnUnlink  )  [protected, virtual]
 

remove the reference to the Hinge2Joint parent node

Reimplemented from zeitgeist::Leaf.

Definition at line 108 of file hinge2effector.cpp.

References mJoint.

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

realizes the action described by the ActionObject

Implements oxygen::Effector.

Definition at line 39 of file hinge2effector.cpp.

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

Here is the call graph for this function:


Member Data Documentation

boost::shared_ptr<oxygen::Hinge2Joint> Hinge2Effector::mJoint [protected]
 

cached reference to the monitor joint

Definition at line 53 of file hinge2effector.h.

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


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