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

HingePerceptor Class Reference

#include <hingeperceptor.h>

Inheritance diagram for HingePerceptor:

Inheritance graph
[legend]
Collaboration diagram for HingePerceptor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HingePerceptor ()
virtual ~HingePerceptor ()
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.
void InsertAxisAngle (oxygen::Predicate &predicate)
void InsertAxisRate (oxygen::Predicate &predicate)

Protected Attributes

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

Detailed Description

Definition at line 26 of file hingeperceptor.h.


Constructor & Destructor Documentation

HingePerceptor::HingePerceptor  ) 
 

Definition at line 28 of file hingeperceptor.cpp.

HingePerceptor::~HingePerceptor  )  [virtual]
 

Definition at line 32 of file hingeperceptor.cpp.


Member Function Documentation

void HingePerceptor::InsertAxisAngle oxygen::Predicate predicate  )  [protected]
 

Definition at line 53 of file hingeperceptor.cpp.

References zeitgeist::ParameterList::AddList(), zeitgeist::ParameterList::AddValue(), mJoint, and oxygen::Predicate::parameter.

Here is the call graph for this function:

void HingePerceptor::InsertAxisRate oxygen::Predicate predicate  )  [protected]
 

Definition at line 60 of file hingeperceptor.cpp.

References zeitgeist::ParameterList::AddList(), zeitgeist::ParameterList::AddValue(), mJoint, and oxygen::Predicate::parameter.

Here is the call graph for this function:

void HingePerceptor::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 36 of file hingeperceptor.cpp.

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

Here is the call graph for this function:

void HingePerceptor::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 48 of file hingeperceptor.cpp.

References mJoint.

bool HingePerceptor::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::HingeJoint> HingePerceptor::mJoint [protected]
 

cached reference to the monitor joint

Definition at line 44 of file hingeperceptor.h.

Referenced by InsertAxisAngle(), InsertAxisRate(), OnLink(), and OnUnlink().


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