FastEcslent::SelectionMgr Class Reference

#include <selectionMgr.h>

Inheritance diagram for FastEcslent::SelectionMgr:

FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr

List of all members.

Public Member Functions

 SelectionMgr (Engine *eng, Options opts)
 SelectionMgr ()
void init ()
void tick (double dtime)
void reset ()
void resetAll ()
void unselect (int i)
void unselect (Entity *ent)
void select (int i)
void select (Entity *ent)
void dump ()
EntitygetPrimarySelection ()
Entity ** getSelectedEnts ()
int getNSelectedEnts ()
 SelectionMgr (Engine *eng, Options opts)
 SelectionMgr ()
void init ()
void tick (double dtime)
void reset ()
void resetAll ()
void unselect (int i)
void unselect (Entity *ent)
void select (int i)
void select (Entity *ent)
void dump ()
EntitygetPrimarySelection ()
Entity ** getSelectedEnts ()
int getNSelectedEnts ()
 SelectionMgr (Engine *eng, Options opts)
 SelectionMgr ()
void init ()
void tick (double dtime)
void reset ()
void resetAll ()
void unselect (int i)
void unselect (Entity *ent)
void select (int i)
void select (Entity *ent)
void dump ()
EntitygetPrimarySelection ()
Entity ** getSelectedEnts ()
int getNSelectedEnts ()
 SelectionMgr (Engine *eng, Options opts)
 SelectionMgr ()
void init ()
void tick (double dtime)
void reset ()
void resetAll ()
void unselect (int i)
void unselect (Entity *ent)
void select (int i)
void select (Entity *ent)
void dump ()
EntitygetPrimarySelection ()
Entity ** getSelectedEnts ()
int getNSelectedEnts ()
 SelectionMgr (Engine *eng, Options opts)
 SelectionMgr ()
void init ()
void tick (double dtime)
void reset ()
void resetAll ()
void unselect (int i)
void unselect (Entity *ent)
void select (int i)
void select (Entity *ent)
void dump ()
EntitygetPrimarySelection ()
Entity ** getSelectedEnts ()
int getNSelectedEnts ()

Public Attributes

std::map< Identity, Entity *,
EntityLessThan
selectedEnts
Options options
EntityprimarySelection
std::map< Identity, Entity *,
EntityLessThan
selectedEnts
EntityprimarySelection
std::map< Identity, Entity *,
EntityLessThan
selectedEnts
EntityprimarySelection
std::map< Identity, Entity *,
EntityLessThan
selectedEnts
EntityprimarySelection
std::map< Identity, Entity *,
EntityLessThan
selectedEnts
EntityprimarySelection

Private Member Functions

void updatePrimarySelection ()
void updatePrimarySelection ()
void updatePrimarySelection ()
void updatePrimarySelection ()
void updatePrimarySelection ()

Private Attributes

EntityselectedEntsArray [MaxEnts]
int nSelectedEnts
EntityselectedEntsArray [MaxEnts]
EntityselectedEntsArray [MaxEnts]
EntityselectedEntsArray [MaxEnts]
EntityselectedEntsArray [MaxEnts]


Detailed Description

Definition at line 25 of file selectionMgr.h.


Constructor & Destructor Documentation

FastEcslent::SelectionMgr::SelectionMgr ( Engine eng,
Options  opts 
)

Definition at line 34 of file selectionMgr.cpp.

References options, and resetAll().

FastEcslent::SelectionMgr::SelectionMgr (  ) 

FastEcslent::SelectionMgr::SelectionMgr ( Engine eng,
Options  opts 
)

FastEcslent::SelectionMgr::SelectionMgr (  ) 

FastEcslent::SelectionMgr::SelectionMgr ( Engine eng,
Options  opts 
)

FastEcslent::SelectionMgr::SelectionMgr (  ) 

FastEcslent::SelectionMgr::SelectionMgr ( Engine eng,
Options  opts 
)

FastEcslent::SelectionMgr::SelectionMgr (  ) 

FastEcslent::SelectionMgr::SelectionMgr ( Engine eng,
Options  opts 
)

FastEcslent::SelectionMgr::SelectionMgr (  ) 


Member Function Documentation

void FastEcslent::SelectionMgr::updatePrimarySelection (  )  [private]

Definition at line 53 of file selectionMgr.cpp.

References primarySelection, and selectedEnts.

Referenced by select(), and unselect().

void FastEcslent::SelectionMgr::init ( void   )  [virtual]

Reimplemented from FastEcslent::Mgr.

Definition at line 39 of file selectionMgr.cpp.

References DEBUG, and resetAll().

Referenced by FastEcslent::Engine::init().

void FastEcslent::SelectionMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

Definition at line 47 of file selectionMgr.cpp.

Referenced by FastEcslent::Engine::tickAll().

void FastEcslent::SelectionMgr::reset (  ) 

Definition at line 14 of file selectionMgr.cpp.

References primarySelection, and selectedEnts.

void FastEcslent::SelectionMgr::resetAll (  ) 

Definition at line 22 of file selectionMgr.cpp.

References FastEcslent::Mgr::engine, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::Entity::isSelected, FastEcslent::EntityMgr::nEnts, primarySelection, and selectedEnts.

Referenced by init(), SelectionMgr(), and FastEcslent::GameMgr::tester().

void FastEcslent::SelectionMgr::unselect ( int  i  ) 

Definition at line 77 of file selectionMgr.cpp.

References FastEcslent::Mgr::engine, FastEcslent::Entity::entityId, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().

Referenced by FastEcslent::Engine::runTests(), and FastEcslent::Entity::switchState().

void FastEcslent::SelectionMgr::unselect ( Entity ent  ) 

Definition at line 88 of file selectionMgr.cpp.

References FastEcslent::Entity::entityId, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().

void FastEcslent::SelectionMgr::select ( int  i  ) 

Definition at line 60 of file selectionMgr.cpp.

References FastEcslent::Mgr::engine, FastEcslent::Entity::entityId, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().

void FastEcslent::SelectionMgr::select ( Entity ent  ) 

Definition at line 69 of file selectionMgr.cpp.

References FastEcslent::Entity::entityId, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().

void FastEcslent::SelectionMgr::dump (  ) 

Definition at line 115 of file selectionMgr.cpp.

References DEBUG, and selectedEnts.

FastEcslent::Entity * FastEcslent::SelectionMgr::getPrimarySelection (  ) 

Definition at line 106 of file selectionMgr.cpp.

References primarySelection.

FastEcslent::Entity ** FastEcslent::SelectionMgr::getSelectedEnts (  ) 

Definition at line 97 of file selectionMgr.cpp.

References nSelectedEnts, selectedEnts, and selectedEntsArray.

Referenced by FastEcslent::Engine::runTests().

int FastEcslent::SelectionMgr::getNSelectedEnts (  ) 

Definition at line 110 of file selectionMgr.cpp.

References nSelectedEnts, and selectedEnts.

Referenced by FastEcslent::Engine::runTests().

void FastEcslent::SelectionMgr::updatePrimarySelection (  )  [private]

void FastEcslent::SelectionMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::reset (  ) 

void FastEcslent::SelectionMgr::resetAll (  ) 

void FastEcslent::SelectionMgr::unselect ( int  i  ) 

void FastEcslent::SelectionMgr::unselect ( Entity ent  ) 

void FastEcslent::SelectionMgr::select ( int  i  ) 

void FastEcslent::SelectionMgr::select ( Entity ent  ) 

void FastEcslent::SelectionMgr::dump (  ) 

Entity* FastEcslent::SelectionMgr::getPrimarySelection (  ) 

Entity** FastEcslent::SelectionMgr::getSelectedEnts (  ) 

int FastEcslent::SelectionMgr::getNSelectedEnts (  ) 

void FastEcslent::SelectionMgr::updatePrimarySelection (  )  [private]

void FastEcslent::SelectionMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::reset (  ) 

void FastEcslent::SelectionMgr::resetAll (  ) 

void FastEcslent::SelectionMgr::unselect ( int  i  ) 

void FastEcslent::SelectionMgr::unselect ( Entity ent  ) 

void FastEcslent::SelectionMgr::select ( int  i  ) 

void FastEcslent::SelectionMgr::select ( Entity ent  ) 

void FastEcslent::SelectionMgr::dump (  ) 

Entity* FastEcslent::SelectionMgr::getPrimarySelection (  ) 

Entity** FastEcslent::SelectionMgr::getSelectedEnts (  ) 

int FastEcslent::SelectionMgr::getNSelectedEnts (  ) 

void FastEcslent::SelectionMgr::updatePrimarySelection (  )  [private]

void FastEcslent::SelectionMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::reset (  ) 

void FastEcslent::SelectionMgr::resetAll (  ) 

void FastEcslent::SelectionMgr::unselect ( int  i  ) 

void FastEcslent::SelectionMgr::unselect ( Entity ent  ) 

void FastEcslent::SelectionMgr::select ( int  i  ) 

void FastEcslent::SelectionMgr::select ( Entity ent  ) 

void FastEcslent::SelectionMgr::dump (  ) 

Entity* FastEcslent::SelectionMgr::getPrimarySelection (  ) 

Entity** FastEcslent::SelectionMgr::getSelectedEnts (  ) 

int FastEcslent::SelectionMgr::getNSelectedEnts (  ) 

void FastEcslent::SelectionMgr::updatePrimarySelection (  )  [private]

void FastEcslent::SelectionMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::tick ( double  dtime  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::SelectionMgr::reset (  ) 

void FastEcslent::SelectionMgr::resetAll (  ) 

void FastEcslent::SelectionMgr::unselect ( int  i  ) 

void FastEcslent::SelectionMgr::unselect ( Entity ent  ) 

void FastEcslent::SelectionMgr::select ( int  i  ) 

void FastEcslent::SelectionMgr::select ( Entity ent  ) 

void FastEcslent::SelectionMgr::dump (  ) 

Entity* FastEcslent::SelectionMgr::getPrimarySelection (  ) 

Entity** FastEcslent::SelectionMgr::getSelectedEnts (  ) 

int FastEcslent::SelectionMgr::getNSelectedEnts (  ) 


Member Data Documentation

Entity* FastEcslent::SelectionMgr::selectedEntsArray[MaxEnts] [private]

Definition at line 29 of file selectionMgr.h.

Referenced by getSelectedEnts().

int FastEcslent::SelectionMgr::nSelectedEnts [private]

Definition at line 30 of file selectionMgr.h.

Referenced by getNSelectedEnts(), and getSelectedEnts().

std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts

Definition at line 33 of file selectionMgr.h.

Referenced by dump(), getNSelectedEnts(), getSelectedEnts(), reset(), resetAll(), select(), unselect(), and updatePrimarySelection().

Options FastEcslent::SelectionMgr::options

Definition at line 35 of file selectionMgr.h.

Referenced by SelectionMgr().

Entity* FastEcslent::SelectionMgr::primarySelection

Definition at line 36 of file selectionMgr.h.

Referenced by getPrimarySelection(), reset(), resetAll(), and updatePrimarySelection().

Entity* FastEcslent::SelectionMgr::selectedEntsArray[MaxEnts] [private]

Definition at line 29 of file selectionMgr.h.

std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts

Definition at line 33 of file selectionMgr.h.

Entity* FastEcslent::SelectionMgr::primarySelection

Definition at line 36 of file selectionMgr.h.

Entity* FastEcslent::SelectionMgr::selectedEntsArray[MaxEnts] [private]

Definition at line 29 of file selectionMgr.h.

std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts

Definition at line 33 of file selectionMgr.h.

Entity* FastEcslent::SelectionMgr::primarySelection

Definition at line 36 of file selectionMgr.h.

Entity* FastEcslent::SelectionMgr::selectedEntsArray[MaxEnts] [private]

Definition at line 29 of file selectionMgr.h.

std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts

Definition at line 33 of file selectionMgr.h.

Entity* FastEcslent::SelectionMgr::primarySelection

Definition at line 36 of file selectionMgr.h.

Entity* FastEcslent::SelectionMgr::selectedEntsArray[MaxEnts] [private]

Definition at line 29 of file selectionMgr.h.

std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts

Definition at line 33 of file selectionMgr.h.

Entity* FastEcslent::SelectionMgr::primarySelection

Definition at line 36 of file selectionMgr.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:21 2013 for FastECSLent by  doxygen 1.5.4