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

Hinge2Perceptor Class Reference

#include <hinge2perceptor.h>

Inheritance diagram for Hinge2Perceptor:

Inheritance graph
[legend]
Collaboration diagram for Hinge2Perceptor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Hinge2Perceptor ()
virtual ~Hinge2Perceptor ()
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::Hinge2JointmJoint
 cached reference to the monitor joint

Detailed Description

Definition at line 28 of file hinge2perceptor.h.


Constructor & Destructor Documentation

Hinge2Perceptor::Hinge2Perceptor  ) 
 

Definition at line 30 of file hinge2perceptor.cpp.

Hinge2Perceptor::~Hinge2Perceptor  )  [virtual]
 

Definition at line 34 of file hinge2perceptor.cpp.


Member Function Documentation

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

Definition at line 55 of file hinge2perceptor.cpp.

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

Here is the call graph for this function:

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

Definition at line 63 of file hinge2perceptor.cpp.

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

Here is the call graph for this function:

void Hinge2Perceptor::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 38 of file hinge2perceptor.cpp.

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

Here is the call graph for this function:

void Hinge2Perceptor::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 50 of file hinge2perceptor.cpp.

References mJoint.

bool Hinge2Perceptor::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::Hinge2Joint> Hinge2Perceptor::mJoint [protected]
 

cached reference to the monitor joint

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