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

UniversalJointPerceptor Class Reference

#include <universaljointperceptor.h>

Inheritance diagram for UniversalJointPerceptor:

Inheritance graph
[legend]
Collaboration diagram for UniversalJointPerceptor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UniversalJointPerceptor ()
virtual ~UniversalJointPerceptor ()
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, oxygen::Joint::EAxisIndex idx)
void InsertAxisRate (oxygen::Predicate &predicate, oxygen::Joint::EAxisIndex idx)

Protected Attributes

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

Detailed Description

Definition at line 26 of file universaljointperceptor.h.


Constructor & Destructor Documentation

UniversalJointPerceptor::UniversalJointPerceptor  ) 
 

Definition at line 28 of file universaljointperceptor.cpp.

UniversalJointPerceptor::~UniversalJointPerceptor  )  [virtual]
 

Definition at line 32 of file universaljointperceptor.cpp.


Member Function Documentation

void UniversalJointPerceptor::InsertAxisAngle oxygen::Predicate predicate,
oxygen::Joint::EAxisIndex  idx
[protected]
 

Definition at line 53 of file universaljointperceptor.cpp.

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

Here is the call graph for this function:

void UniversalJointPerceptor::InsertAxisRate oxygen::Predicate predicate,
oxygen::Joint::EAxisIndex  idx
[protected]
 

Definition at line 68 of file universaljointperceptor.cpp.

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

Here is the call graph for this function:

void UniversalJointPerceptor::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 universaljointperceptor.cpp.

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

Here is the call graph for this function:

void UniversalJointPerceptor::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 universaljointperceptor.cpp.

References mJoint.

bool UniversalJointPerceptor::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::UniversalJoint> UniversalJointPerceptor::mJoint [protected]
 

cached reference to the monitor joint

Definition at line 44 of file universaljointperceptor.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:41:46 2006 for rcssserver3d by  doxygen 1.4.4