eMotion
 All Classes Functions Variables Enumerations
Public Member Functions | List of all members
ePersonalityPatternPool Class Reference

#include <ePersonalityPatternPool.h>

Public Member Functions

 ePersonalityPatternPool ()
 
ePersonalityPattern const * getPattern (int ID) const
 
int addPattern (ePersonalityPattern *newPattern)
 

Detailed Description

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

DESCRIPTION

A class holding all known personality patterns in the context of eMotion

Documantation optimized for doxygen.

Constructor & Destructor Documentation

ePersonalityPatternPool::ePersonalityPatternPool ( )

Constructor, which initiates the need pool

Parameters
personalityPatternsa vector with all known personality patterns

Member Function Documentation

int ePersonalityPatternPool::addPattern ( ePersonalityPattern newPattern)

Adds an Pattern via its ID to the pool.

Parameters
newPatterna pointer to the new pattern, which should get created.
Returns
the ID of th epattern.
ePersonalityPattern const * ePersonalityPatternPool::getPattern ( int  ID) const

Gets an Pattern via its ID.

Parameters
IDthe id of the pattern, which shall get returned
Returns
a pointer to a caonst pattern, if it was found or NULL otherwise.

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