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

#include <In_PersonalityPattern.h>

Inheritance diagram for In_PersonalityPattern:
B_eInputData< Out_PersonalityPattern >

Public Member Functions

 In_PersonalityPattern (void)
 
bool translatePersonalityPattern (int patternID, int conditionID, std::vector< unsigned int > *moodIndeces, std::vector< unsigned int > *needIndeces, std::vector< unsigned int > *reactionIndeces, std::vector< float > *moodValues, std::map< unsigned int, std::vector< float >> *attitudeData, std::map< unsigned int, std::vector< float >> *standardData)
 

Additional Inherited Members

- Public Attributes inherited from B_eInputData< Out_PersonalityPattern >
Out_PersonalityPatternm_outputData
 
- Protected Member Functions inherited from B_eInputData< Out_PersonalityPattern >
 B_eInputData (void)
 

Detailed Description

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

DESCRIPTION

Holds all the nescessary dtata to create a personality pattern pool

Documantation optimized for doxygen.

Constructor & Destructor Documentation

In_PersonalityPattern::In_PersonalityPattern ( void  )

Standard constructor

Member Function Documentation

bool In_PersonalityPattern::translatePersonalityPattern ( int  patternID,
int  conditionID,
std::vector< unsigned int > *  moodIndeces,
std::vector< unsigned int > *  needIndeces,
std::vector< unsigned int > *  reactionIndeces,
std::vector< float > *  moodValues,
std::map< unsigned int, std::vector< float >> *  attitudeData,
std::map< unsigned int, std::vector< float >> *  standardData 
)

translates input data in an Out_PersonalityPatterns object.

Parameters
patternIDthe ID of the pattern, which gets created
conditionIDthe ID of the condition, this pattern is related to
moodIndecesa vector of all the feelings this patteren uses for a mood object
needIndecesa vector of all known needs, this pattern usese
reactionIndecesa vector of all known reaction, this pattern usese
moodValuesa vector of all the default feeling values this patteren uses for a mood object
attitudeDataa map key value pairs, which define and describe the attitudes of this pattern. key -> Attitude indece related to the conditions, value -> a vector of values definig the value of the related attitude. WARNING: COnsider the order of the values in the vector. The first will define the first value in the Attitude feelings vector, and so on.
standardDataa map key value pairs, which define and describe the standards of this pattern. key -> Satdanrd indece related to the conditions, value -> a vector of values definig the value of the related standard. WARNING: COnsider the order of the values in the vector. The first will define the first value in the Attitude feelings vector, and so on.
Returns
true, if worked as the translation worked as intended

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