eMotion
 All Classes Functions Variables Enumerations
Static Public Member Functions | Public Attributes | List of all members
eDataPool Class Reference

#include <eDataPool.h>

Static Public Member Functions

static bool initDataPool (int poolID, Out_Akteurs *akteurData, Out_Objects *objectsData, Out_Feelings *feelingsData, Out_Attitudes *attitudesData, Out_Standards *standardsData, Out_Needs *needsData, Out_NeedCategory *needCategoryData, Out_Reactions *reactionData)
 
static eDataPool const * getDataPool (void)
 

Public Attributes

int const m_poolID
 
eFeelingPool const *const m_feelingPool
 
eAkteurPool const *const m_akteurPool
 
eObjectPool const *const m_objectPool
 
eAttitudePool const *const m_attitudePool
 
eStandardPool const *const m_standardPool
 
eNeedPool const *const m_needPool
 
eNeedCategory const *const m_needCategory
 
eReactionPool const *const m_reactionPool
 
eEventPool const *const m_eventPool
 
ePersonalityPatternPool *const m_personalityPatternPool
 

Detailed Description

Author
Florian Harde flori.nosp@m.anha.nosp@m.rde@y.nosp@m.ahoo.nosp@m..de

DESCRIPTION

A singleton holding the data for creating new personalitys, objects and akteurs. Part of the static enviroment (read only)

Documantation optimized for doxygen.

Member Function Documentation

eDataPool const * eDataPool::getDataPool ( void  )
static

returns the eDataPool instance, if initiated before

Returns
the eDataPool instance
bool eDataPool::initDataPool ( int  poolID,
Out_Akteurs akteurData,
Out_Objects objectsData,
Out_Feelings feelingsData,
Out_Attitudes attitudesData,
Out_Standards standardsData,
Out_Needs needsData,
Out_NeedCategory needCategoryData,
Out_Reactions reactionData 
)
static

inits the data pool an creates the singleton

Parameters
poolIDdefines the ID of this data pool
akteurDataa pointer to akteur data, which gets used to create the akteur pool
objectsDataa pointer to object data, which gets used to create the object pool
feelingsDataa pointer to feelings data, which gets used to create the feeling pool
attitudesDataa pointer to attitude data, which gets used to create the attitude pool
standardsDataa pointer to standard data, which gets used to create the standards pool
needsDataa pointer to needs data, which gets used to create the needs pool
needsCategoryDataa pointer to any need object in m_needPool that holds to the categoryObject, tp create a public refference
reactionssDataa pointer to reaction data, which gets used to create the reaction pool
Returns
true, if initiation suceeded

Member Data Documentation

eAkteurPool const* const eDataPool::m_akteurPool

member for the akteur pool

eAttitudePool const* const eDataPool::m_attitudePool

member for the attitude pool

eEventPool const* const eDataPool::m_eventPool

meber for the event pool (unused atm)

eFeelingPool const* const eDataPool::m_feelingPool

member for the feeling pool

eNeedCategory const* const eDataPool::m_needCategory

member for the need category

eNeedPool const* const eDataPool::m_needPool

member for the need pool

eObjectPool const* const eDataPool::m_objectPool

member for the object pool

ePersonalityPatternPool* const eDataPool::m_personalityPatternPool

member for the personality pattern pool

int const eDataPool::m_poolID

describes by an unique ID this pool. Used to check, if a personality Pattern can be used with this pool.

eReactionPool const* const eDataPool::m_reactionPool

member for the reaction pool

eStandardPool const* const eDataPool::m_standardPool

member for the standard pool


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