Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gator::TetherOperator Class Reference

TetherOperator sets two entities equal to each other. More...

#include <TetherOperator.h>

Inheritance diagram for gator::TetherOperator:

ani::Operator< ani::Body > ani::Memory List of all members.

Public Types

typedef boost::shared_ptr<

Public Methods

 TetherOperator (EntityTypePtr &e1, EntityTypePtr &e2)
virtual ~TetherOperator ()
void setEntities (EntityTypePtr &e1, EntityTypePtr &e2)
 e1 is tethered to e2. More...

virtual void exec (ani::DynamicSystem< ani::Body > &ps, float timeDelta)
 apply this force function to the particle. More...

Detailed Description

TetherOperator sets two entities equal to each other.

Definition at line 10 of file TetherOperator.h.

Member Typedef Documentation

typedef boost::shared_ptr<ani::Body> gator::TetherOperator::EntityTypePtr

Definition at line 13 of file TetherOperator.h.

Referenced by setEntities(), and TetherOperator().

Constructor & Destructor Documentation

gator::TetherOperator::TetherOperator EntityTypePtr   e1,
EntityTypePtr   e2

Definition at line 16 of file TetherOperator.h.

References EntityTypePtr, and ani::Operator< ani::Body >::Operator().

virtual gator::TetherOperator::~TetherOperator   [inline, virtual]

Definition at line 22 of file TetherOperator.h.

Member Function Documentation

void gator::TetherOperator::setEntities EntityTypePtr   e1,
EntityTypePtr   e2

e1 is tethered to e2.

Definition at line 27 of file TetherOperator.h.

References EntityTypePtr.

virtual void gator::TetherOperator::exec ani::DynamicSystem< ani::Body > &    ps,
float    timeDelta
[inline, virtual]

apply this force function to the particle.

Implements ani::Operator< ani::Body >.

Definition at line 34 of file TetherOperator.h.

The documentation for this class was generated from the following file:
Generated on Wed Jun 12 01:54:09 2002 for Animaniac by doxygen1.2.15