Interaction Class Reference

#include <Interaction.h>

Inherits InteractionInterface.

Collaboration diagram for Interaction:

List of all members.


Classes

class  ConverterToV1_0a4

Public Member Functions

 Interaction ()
 ~Interaction ()
virtual bool loadConfig (std::string configFile)
virtual void cleanup ()
virtual std::string getName ()
virtual void destroyEntityNotification (Entity *entity)
virtual void update (float dt)
INTERACTIONSTATE getState ()
StateActionModelgetSelectionActionModel ()
StateActionModelgetManipulationActionModel ()
SelectionChangeModelgetSelectionChangeModel ()
ManipulationChangeModelgetManipulationTerminationModel ()

Static Public Member Functions

static void registerSelectionChangeModelFactory (SelectionChangeModelFactory *newSelectionChangeModelFactory)
static void registerManipulationChangeModelFactory (ManipulationChangeModelFactory *newManipulationChangeModelFactory)
static void registerStateActionModelFactory (StateActionModelFactory *newStateActionModelFactory)

Protected Member Functions

bool setSelectionChangeModel (std::string newSelectionChangeModel, ArgumentVector *argVec)
bool setUnselectionChangeModel (std::string newUnselectionChangeModel, ArgumentVector *argVec)
bool setManipulationConfirmationModel (std::string newManipulationConfirmationModel, ArgumentVector *argVec)
bool setManipulationTerminationModel (std::string newManipulationTerminationModel, ArgumentVector *argVec)
bool setIdleActionModel (std::string newIdleActionModel, ArgumentVector *argVec)
bool setSelectionActionModel (std::string newSelectionActionModel, ArgumentVector *argVec)
bool setManipulationActionModel (std::string newManipulationActionModel, ArgumentVector *argVec)
void addToList (std::vector< PICKEDENTITY > *dst, std::vector< PICKEDENTITY > *src)
void removeFromList (std::vector< PICKEDENTITY > *dst, std::vector< PICKEDENTITY > *removeMe)

Protected Attributes

EventPipeincomingEvents
SelectionChangeModelselectionChangeModel
SelectionChangeModelunselectionChangeModel
ManipulationChangeModelmanipulationConfirmationModel
ManipulationChangeModelmanipulationTerminationModel
StateActionModelidleActionModel
StateActionModelselectionActionModel
StateActionModelmanipulationActionModel
SharedManipulationMergerFactorysharedManipulationMergerFactory
INTERACTIONSTATE state
std::vector< PICKEDENTITYselectedEntitiesList
std::vector< PICKEDENTITYentitiesToSelect

Static Protected Attributes

static std::vector
< SelectionChangeModelFactory * > 
selectionChangeModelFactoryList
static std::vector
< ManipulationChangeModelFactory * > 
manipulationChangeModelFactoryList
static std::vector
< StateActionModelFactory * > 
actionModelFactoryList

Static Private Attributes

static XmlConfigurationLoader xmlConfigLoader

Friends

class InteractionChangeStateEvent

Constructor & Destructor Documentation

Interaction::Interaction (  ) 

Interaction::~Interaction (  ) 


Member Function Documentation

void Interaction::addToList ( std::vector< PICKEDENTITY > *  dst,
std::vector< PICKEDENTITY > *  src 
) [protected]

void Interaction::cleanup (  )  [virtual]

Instruct the module to free all memory allocated internally.

Implements InteractionInterface.

void Interaction::destroyEntityNotification ( Entity entity  )  [virtual]

Reimplemented from InteractionInterface.

StateActionModel * Interaction::getManipulationActionModel (  ) 

ManipulationChangeModel * Interaction::getManipulationTerminationModel (  ) 

std::string Interaction::getName (  )  [virtual]

Return the unique name of the module.

Implements InteractionInterface.

StateActionModel * Interaction::getSelectionActionModel (  ) 

SelectionChangeModel * Interaction::getSelectionChangeModel (  ) 

Interaction::INTERACTIONSTATE Interaction::getState (  )  [virtual]

Implements InteractionInterface.

bool Interaction::loadConfig ( std::string  configFile  )  [virtual]

Instruct the module to read its configuration from a file.

Returns:
true on success.
Parameters:
configFile path of the XML-file.

Implements ModuleInterface.

void Interaction::registerManipulationChangeModelFactory ( ManipulationChangeModelFactory newManipulationChangeModelFactory  )  [static]

void Interaction::registerSelectionChangeModelFactory ( SelectionChangeModelFactory newSelectionChangeModelFactory  )  [static]

void Interaction::registerStateActionModelFactory ( StateActionModelFactory newStateActionModelFactory  )  [static]

void Interaction::removeFromList ( std::vector< PICKEDENTITY > *  dst,
std::vector< PICKEDENTITY > *  removeMe 
) [protected]

bool Interaction::setIdleActionModel ( std::string  newIdleActionModel,
ArgumentVector argVec 
) [protected]

bool Interaction::setManipulationActionModel ( std::string  newManipulationActionModel,
ArgumentVector argVec 
) [protected]

bool Interaction::setManipulationConfirmationModel ( std::string  newManipulationConfirmationModel,
ArgumentVector argVec 
) [protected]

bool Interaction::setManipulationTerminationModel ( std::string  newManipulationTerminationModel,
ArgumentVector argVec 
) [protected]

bool Interaction::setSelectionActionModel ( std::string  newSelectionActionModel,
ArgumentVector argVec 
) [protected]

bool Interaction::setSelectionChangeModel ( std::string  newSelectionChangeModel,
ArgumentVector argVec 
) [protected]

bool Interaction::setUnselectionChangeModel ( std::string  newUnselectionChangeModel,
ArgumentVector argVec 
) [protected]

void Interaction::update ( float  dt  )  [virtual]

Updates the module every frame

Implements InteractionInterface.


Friends And Related Function Documentation

friend class InteractionChangeStateEvent [friend]


Member Data Documentation

std::vector< StateActionModelFactory * > Interaction::actionModelFactoryList [static, protected]

std::vector<PICKEDENTITY> Interaction::entitiesToSelect [protected]


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:11:57 2010 for inVRs by doxygen 1.5.8