#include <universaljointeffector.h>
Inheritance diagram for UniversalJointEffector:
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::UniversalJoint > | mJoint |
cached reference to the monitor joint |
Definition at line 26 of file universaljointeffector.h.
|
Definition at line 29 of file universaljointeffector.cpp. References zeitgeist::Leaf::SetName(). Here is the call graph for this function: ![]() |
|
Definition at line 34 of file universaljointeffector.cpp. |
|
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: ![]() |
|
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: ![]() |
|
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: ![]() |
|
remove the reference to the HingeJoint parent node
Reimplemented from zeitgeist::Leaf. Definition at line 114 of file universaljointeffector.cpp. References mJoint. |
|
realizes the action described by the ActionObject
Implements oxygen::Effector. |
|
cached reference to the monitor joint
Definition at line 51 of file universaljointeffector.h. Referenced by GetActionObject(), OnLink(), and OnUnlink(). |