#include <ePersonalityHandler.h>
- Author
- Florian Harde flori.nosp@m.anha.nosp@m.rde@y.nosp@m.ahoo.nosp@m..de
DESCRIPTION
A singleton handling the personalitys inside the datacenter. Part of the runtime environment.
Documantation optimized for doxygen.
unsigned int ePersonalityHandler::createPersonality |
( |
ePersonalityPattern const * |
personalityPattern | ) |
|
creates and adds a personality and a unique id
- Parameters
-
personalityPattern | a pattern from wich a persobality get created via the factory |
- Returns
- the index of the personality, with which it can be adresses from outsied
ePersonality * ePersonalityHandler::getPersonality |
( |
unsigned int |
id | ) |
|
returns a personality
- Parameters
-
index | the index of the desired personality |
- Returns
- the personality or NULL, if an error occured
returns the ePersonalityHandler instance, if it exists, if not, one will be created
- Parameters
-
factory | a personality factory, responsible for creating personalitys |
- Returns
- the ePersonalityHandler instance
bool ePersonalityHandler::removePersonality |
( |
unsigned int |
id | ) |
|
removes a personality
- Parameters
-
index | the index of the personality, which should get reomoved |
- Returns
- true, if everything worked as intended
The documentation for this class was generated from the following files:
- MyDropbox/Dropbox/eMotion/Software/eMotionLib/eM_DataCenter_Lib/ePersonalityHandler.h
- MyDropbox/Dropbox/eMotion/Software/eMotionLib/eM_DataCenter_Lib/ePersonalityHandler.cpp