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

gator::SetEqualOperator Class Reference

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

#include <SetEqualOperator.h>

Inheritance diagram for gator::SetEqualOperator:

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

Public Types

typedef boost::shared_ptr<
ani::Body
EntityTypePtr

Public Methods

 SetEqualOperator (EntityTypePtr &e1, EntityTypePtr &e2)
virtual ~SetEqualOperator ()
void setOffset (const gmtl::Vec3f &offset)
 set offset of e1 to e2. More...

void setEntities (EntityTypePtr &e1, EntityTypePtr &e2)
 set e1 and e2. More...

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


Detailed Description

SetEqualOperator sets two entities equal to each other.

Definition at line 10 of file SetEqualOperator.h.


Member Typedef Documentation

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

Definition at line 13 of file SetEqualOperator.h.

Referenced by setEntities(), and SetEqualOperator().


Constructor & Destructor Documentation

gator::SetEqualOperator::SetEqualOperator EntityTypePtr   e1,
EntityTypePtr   e2
[inline]
 

Definition at line 16 of file SetEqualOperator.h.

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

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

Definition at line 23 of file SetEqualOperator.h.


Member Function Documentation

void gator::SetEqualOperator::setOffset const gmtl::Vec3f &    offset [inline]
 

set offset of e1 to e2.

Definition at line 28 of file SetEqualOperator.h.

Referenced by gator::SimpleFlyMethod::SimpleFlyMethod().

void gator::SetEqualOperator::setEntities EntityTypePtr   e1,
EntityTypePtr   e2
[inline]
 

set e1 and e2.

e1 will follow e2.

Definition at line 34 of file SetEqualOperator.h.

References EntityTypePtr.

virtual void gator::SetEqualOperator::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 41 of file SetEqualOperator.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