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

ani::GlobalOperator< __EntityType > Class Template Reference

global - acts on all entities in the system. More...

#include <GlobalOperator.h>

Inheritance diagram for ani::GlobalOperator< __EntityType >:

ani::Operator< __EntityType > ani::Memory ani::GlobalForceOperator< __EntityType > ani::AccelerationOperator< __EntityType > ani::CurrentOperator< __EntityType > ani::ViscousDragOperator< __EntityType > ani::GravityOperator< __EntityType > List of all members.

Public Types

typedef boost::shared_ptr<
__EntityType > 
EntityTypePtr

Public Methods

 GlobalOperator ()
virtual ~GlobalOperator ()
void ignore (EntityTypePtr p)
bool isIgnored (EntityTypePtr p)
 check whether to ignore an entity. More...


Protected Attributes

std::vector< EntityTypePtrmIgnoreList

Detailed Description

template<class __EntityType>
class ani::GlobalOperator< __EntityType >

global - acts on all entities in the system.

Definition at line 13 of file GlobalOperator.h.


Member Typedef Documentation

template<class __EntityType>
typedef boost::shared_ptr<__EntityType> ani::GlobalOperator< __EntityType >::EntityTypePtr
 

Definition at line 16 of file GlobalOperator.h.

Referenced by ani::ViscousDragOperator< __EntityType >::exec(), ani::GlobalForceOperator< __EntityType >::exec(), ani::CurrentOperator< __EntityType >::exec(), ani::AccelerationOperator< __EntityType >::exec(), ani::GlobalOperator< __EntityType >::ignore(), and ani::GlobalOperator< __EntityType >::isIgnored().


Constructor & Destructor Documentation

template<class __EntityType>
ani::GlobalOperator< __EntityType >::GlobalOperator   [inline]
 

Definition at line 19 of file GlobalOperator.h.

References ani::GlobalOperator< __EntityType >::mIgnoreList.

template<class __EntityType>
virtual ani::GlobalOperator< __EntityType >::~GlobalOperator   [inline, virtual]
 

Definition at line 20 of file GlobalOperator.h.


Member Function Documentation

template<class __EntityType>
void ani::GlobalOperator< __EntityType >::ignore EntityTypePtr    p [inline]
 

Definition at line 21 of file GlobalOperator.h.

References ani::GlobalOperator< __EntityType >::EntityTypePtr, and ani::GlobalOperator< __EntityType >::mIgnoreList.

template<class __EntityType>
bool ani::GlobalOperator< __EntityType >::isIgnored EntityTypePtr    p [inline]
 

check whether to ignore an entity.

Todo:
what the hell? what does this kill things?

Definition at line 31 of file GlobalOperator.h.

References ani::GlobalOperator< __EntityType >::EntityTypePtr, and ani::GlobalOperator< __EntityType >::mIgnoreList.

Referenced by ani::ViscousDragOperator< __EntityType >::exec(), ani::GlobalForceOperator< __EntityType >::exec(), ani::CurrentOperator< __EntityType >::exec(), and ani::AccelerationOperator< __EntityType >::exec().


Member Data Documentation

template<class __EntityType>
std::vector<EntityTypePtr> ani::GlobalOperator< __EntityType >::mIgnoreList [protected]
 

Definition at line 61 of file GlobalOperator.h.

Referenced by ani::GlobalOperator< __EntityType >::GlobalOperator(), ani::GlobalOperator< __EntityType >::ignore(), and ani::GlobalOperator< __EntityType >::isIgnored().


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