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

oxygen::BodyController Class Reference

baseclass for nodes that control the motion of an associated body. More...

#include <bodycontroller.h>

Inheritance diagram for oxygen::BodyController:

Inheritance graph
[legend]
Collaboration diagram for oxygen::BodyController:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BodyController ()
virtual ~BodyController ()

Protected Member Functions

virtual void OnLink ()
 sets up the reference to the controlled body
virtual void OnUnlink ()
 resets the reference to the controlled body

Protected Attributes

boost::shared_ptr< BodymBody
 the reference to the controlled body

Detailed Description

baseclass for nodes that control the motion of an associated body.

Definition at line 34 of file bodycontroller.h.


Constructor & Destructor Documentation

oxygen::BodyController::BodyController  )  [inline]
 

Definition at line 37 of file bodycontroller.h.

virtual oxygen::BodyController::~BodyController  )  [inline, virtual]
 

Definition at line 38 of file bodycontroller.h.


Member Function Documentation

void BodyController::OnLink  )  [protected, virtual]
 

sets up the reference to the controlled body

Reimplemented from zeitgeist::Leaf.

Definition at line 30 of file bodycontroller.cpp.

References zeitgeist::Object::GetLog(), zeitgeist::Leaf::GetParentSupportingClass(), and mBody.

Here is the call graph for this function:

void BodyController::OnUnlink  )  [protected, virtual]
 

resets the reference to the controlled body

Reimplemented from zeitgeist::Leaf.

Definition at line 42 of file bodycontroller.cpp.

References mBody.


Member Data Documentation

boost::shared_ptr<Body> oxygen::BodyController::mBody [protected]
 

the reference to the controlled body

Definition at line 49 of file bodycontroller.h.

Referenced by OnLink(), OnUnlink(), oxygen::VelocityController::PrePhysicsUpdateInternal(), oxygen::FPSController::PrePhysicsUpdateInternal(), and oxygen::DragController::PrePhysicsUpdateInternal().


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