# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAINIMAT::CMotivationEnergy Class Reference

A Class for manage witch source motivate a CS or an action. More...

#include <classifier.h>

List of all members.

Public Methods

 CMotivationEnergy ()
virtual ~CMotivationEnergy ()
sint16 getSumValue () const
void removeProvider (std::string providerName)
void addProvider (std::string providerName, const CMotivationEnergy &providerMotivation)
void setMotivationPP (std::string motivationName, sint16 PP)
 Donne la Puissance Propre d'une Motivation. More...

void setMotivationValue (std::string motivationName, sint16 value)
 Fixe la valeur d'une motivation. More...

void getDebugString (std::string &t) const
 Chaine de debug. More...


Private Types

typedef std::map< std::string,
CMotivationValue
TEnergyByMotivation

Private Methods

void computeMotivationValue ()

Private Attributes

sint16 _SumValue
std::map< std::string, TEnergyByMotivation_MotivationProviders
TEnergyByMotivation _EnergyByMotivation


Detailed Description

A Class for manage witch source motivate a CS or an action.

Author:
Gabriel ROBERT , Nevrax France
Date:
2002

Definition at line 149 of file classifier.h.


Member Typedef Documentation

typedef std::map< std::string , CMotivationValue> NLAINIMAT::CMotivationEnergy::TEnergyByMotivation [private]
 

Definition at line 163 of file classifier.h.

Referenced by computeMotivationValue.


Constructor & Destructor Documentation

NLAINIMAT::CMotivationEnergy::CMotivationEnergy  
 

Definition at line 274 of file classifier.cpp.

NLAINIMAT::CMotivationEnergy::~CMotivationEnergy   [virtual]
 

Definition at line 279 of file classifier.cpp.


Member Function Documentation

void NLAINIMAT::CMotivationEnergy::addProvider std::string    providerName,
const CMotivationEnergy &    providerMotivation
 

Definition at line 294 of file classifier.cpp.

References _MotivationProviders, and computeMotivationValue.

void NLAINIMAT::CMotivationEnergy::computeMotivationValue   [private]
 

Definition at line 300 of file classifier.cpp.

References _EnergyByMotivation, _MotivationProviders, _SumValue, and TEnergyByMotivation.

Referenced by addProvider, and removeProvider.

void NLAINIMAT::CMotivationEnergy::getDebugString std::string &    t const
 

Chaine de debug.

Definition at line 358 of file classifier.cpp.

References _EnergyByMotivation, t, and NLMISC::toString.

sint16 NLAINIMAT::CMotivationEnergy::getSumValue   const
 

Definition at line 283 of file classifier.cpp.

References _SumValue.

void NLAINIMAT::CMotivationEnergy::removeProvider std::string    providerName
 

Definition at line 288 of file classifier.cpp.

References _MotivationProviders, and computeMotivationValue.

void NLAINIMAT::CMotivationEnergy::setMotivationPP std::string    motivationName,
sint16    PP
 

Donne la Puissance Propre d'une Motivation.

Definition at line 342 of file classifier.cpp.

References _EnergyByMotivation, and _SumValue.

void NLAINIMAT::CMotivationEnergy::setMotivationValue std::string    motivationName,
sint16    value
 

Fixe la valeur d'une motivation.

Definition at line 350 of file classifier.cpp.

References _EnergyByMotivation, _SumValue, and value.


Member Data Documentation

TEnergyByMotivation NLAINIMAT::CMotivationEnergy::_EnergyByMotivation [private]
 

Definition at line 187 of file classifier.h.

Referenced by computeMotivationValue, getDebugString, setMotivationPP, and setMotivationValue.

std::map<std::string, TEnergyByMotivation> NLAINIMAT::CMotivationEnergy::_MotivationProviders [private]
 

Definition at line 186 of file classifier.h.

Referenced by addProvider, computeMotivationValue, and removeProvider.

sint16 NLAINIMAT::CMotivationEnergy::_SumValue [private]
 

Definition at line 185 of file classifier.h.

Referenced by computeMotivationValue, getSumValue, setMotivationPP, and setMotivationValue.


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