Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

Référence de la classe ExCFluxAction

#include <ExCFluxAction.h>

Graphe d'héritage de la classe ExCFluxAction

ExCAction

Membres publics

 ExCFluxAction ()
 ~ExCFluxAction ()
void Push (ExCAction Action)
ExCAction Pop (void)
int GetSize (void)
void SetParam (std::string Param)
void SetParam (int ParamNumber, std::string Param)
void SetParam1 (std::string Param)
void SetParam2 (std::string Param)
std::string GetParam (void)
std::string GetParam (int ParamNumber)
std::string GetParam1 (void)
std::string GetParam2 (void)
int GetParamAsInt (int ParamNumber)
float GetParamAsFloat (int ParamNumber)
double GetParamAsDouble (int ParamNumber)
bool GetParamAsBool (int ParamNumber)
int GetNumberParam (void)
bool AllActionDone ()

Attributs Publics

int m_Action
int m_ActionNumber
std::vector< std::string > m_VecParam
std::string m_Param
std::string m_Param1
std::string m_Param2
double m_StartingLife
double m_ExecutingLife
bool m_executed
int m_NumberOfExecution
ExCActionm_NextAction

Attributs Protégés

std::vector< ExCActionm_VecAction

Amis (friends)

std::ostream & operator<< (std::ostream &s, const ExCAction &action)
std::ostrstream & operator<< (std::ostrstream &s, const ExCAction &action)

Documentation des contructeurs et destructeurs

ExCFluxAction::ExCFluxAction  ) 
 

Définition à la ligne 3 du fichier ExCFluxAction.cpp.

Références ExCFluxAction(), Guard, et UnGuard.

Référencé par ExCFluxAction(), et ~ExCFluxAction().

00004 {
00005 Guard(ExCFluxAction::ExCFluxAction())
00006 UnGuard
00007 }

ExCFluxAction::~ExCFluxAction  ) 
 

Définition à la ligne 9 du fichier ExCFluxAction.cpp.

Références ExCFluxAction(), Guard, et UnGuard.

00010 {
00011 Guard(ExCFluxAction::~ExCFluxAction())
00012 UnGuard
00013 }


Documentation des méthodes

bool ExCAction::AllActionDone  )  [inherited]
 

Définition à la ligne 122 du fichier ExCAction.cpp.

Références ExCAction::AllActionDone(), Guard, ExCAction::m_executed, ExCAction::m_NextAction, et UnGuard.

Référencé par ExCAction::AllActionDone(), et ExManagerCommand::ProcesExCAction().

00123 {
00124 Guard(bool ExCAction::AllActionDone())
00125         while(this->m_NextAction!=NULL)
00126         {
00127                 if(this->m_executed==false)
00128                 {
00129                         return false;//one action is not done return false to keep action
00130                 }
00131         }
00132         return true;
00133 UnGuard
00134 }

int ExCAction::GetNumberParam void   )  [inline, inherited]
 

Définition à la ligne 108 du fichier ExCAction.h.

Références ExCAction::m_VecParam.

Référencé par ExCAction::SetParam().

00108 {return (int) m_VecParam.size();}

std::string ExCAction::GetParam int  ParamNumber  )  [inherited]
 

std::string ExCAction::GetParam void   )  [inline, inherited]
 

Définition à la ligne 97 du fichier ExCAction.h.

Références ExCAction::m_Param.

00097 {return m_Param;}

std::string ExCAction::GetParam1 void   )  [inline, inherited]
 

Définition à la ligne 98 du fichier ExCAction.h.

Références ExCAction::m_Param1.

00098 {return m_Param1;}

std::string ExCAction::GetParam2 void   )  [inline, inherited]
 

Définition à la ligne 99 du fichier ExCAction.h.

Références ExCAction::m_Param2.

00099 {return m_Param2;}

bool ExCAction::GetParamAsBool int  ParamNumber  )  [inherited]
 

double ExCAction::GetParamAsDouble int  ParamNumber  )  [inherited]
 

float ExCAction::GetParamAsFloat int  ParamNumber  )  [inherited]
 

int ExCAction::GetParamAsInt int  ParamNumber  )  [inherited]
 

Définition à la ligne 98 du fichier ExCAction.cpp.

Références ExCAction::GetParamAsInt(), Guard, ExCAction::m_Param, ExCAction::m_Param1, ExCAction::m_Param2, et UnGuard.

Référencé par ExCAction::GetParamAsInt(), et ExManagerObjectWindow::InputAction().

00099 {
00100 Guard(int ExCAction::GetParamAsInt(int ParamNumber))
00101         switch(ParamNumber) 
00102         {
00103         case 0:return atoi(m_Param.data());
00104         case 1:return atoi(m_Param1.data());
00105         case 2:return atoi(m_Param2.data());
00106         default:return -1;
00107         }
00108 /*      if(GetNumberParam()<ParamNumber)throw ExCExpParameterBadNumberParam();
00109         try
00110         {
00111                 return atoi(m_VecParam.at(ParamNumber).data());
00112         }catch (...) 
00113         {
00114                 throw ExCExpParameterConversionError();
00115         }
00116         return true;*/
00117 UnGuard
00118 }

int ExCFluxAction::GetSize void   ) 
 

Définition à la ligne 39 du fichier ExCFluxAction.cpp.

Références GetSize(), Guard, m_VecAction, et UnGuard.

Référencé par ExManagerCommand::ApplyAction(), et GetSize().

00040 {
00041 Guard(int ExCFluxAction::GetSize(void))
00042         return m_VecAction.size();
00043 UnGuard
00044 }

ExCAction ExCFluxAction::Pop void   ) 
 

Définition à la ligne 22 du fichier ExCFluxAction.cpp.

Références ExCAction::ExCAction(), Guard, ExCAction::m_ExecutingLife, ExCAction::m_Param, m_VecAction, Pop(), et UnGuard.

Référencé par ExManagerCommand::ApplyAction(), et Pop().

00023 {
00024 Guard(ExCAction ExCFluxAction::Pop(void))
00025 
00026         if(m_VecAction.size()>0)
00027         {
00028                 std::vector<ExCAction>::iterator        m_ItVecAction;
00029                 m_ItVecAction=m_VecAction.begin();
00030                 ExCAction retAction(m_ItVecAction->m_Action);
00031                 retAction.m_Param=m_ItVecAction->m_Param;
00032                 retAction.m_ExecutingLife=m_ItVecAction->m_ExecutingLife;
00033                 m_VecAction.erase(m_ItVecAction);
00034                 return retAction;
00035         }else return ExCAction(0);
00036 UnGuard
00037 }

void ExCFluxAction::Push ExCAction  Action  ) 
 

Définition à la ligne 15 du fichier ExCFluxAction.cpp.

Références Guard, m_VecAction, Push(), et UnGuard.

Référencé par ExManagerWindow::Apply(), ExCAnimation::Draw(), ExManagerCommand::LoadExecFile(), Push(), et ExManagerSpecialEffect::Specialeffect().

00016 {
00017 Guard(void ExCFluxAction::Push(ExCAction Action))
00018         m_VecAction.push_back(Action);
00019 UnGuard
00020 }

void ExCAction::SetParam int  ParamNumber,
std::string  Param
[inherited]
 

Définition à la ligne 90 du fichier ExCAction.cpp.

Références ExCAction::GetNumberParam(), Guard, ExCAction::m_VecParam, ExCAction::SetParam(), et UnGuard.

00091 {
00092         Guard(void ExCAction::SetParam(int ParamNumber,std::string Param))
00093         if(GetNumberParam()<ParamNumber)throw ExCExpParameterBadNumberParam();
00094         m_VecParam.at(ParamNumber)=Param;
00095 UnGuard
00096 }

void ExCAction::SetParam std::string  Param  )  [inline, inherited]
 

Définition à la ligne 94 du fichier ExCAction.h.

Références ExCAction::m_Param.

Référencé par ExManagerConsole::ApplyBuffCommand(), ExCInterface::InputCommand(), ExManagerCommand::LoadFile(), ExManagerLoad::LoadSetOfFile(), et ExCAction::SetParam().

00094 {m_Param=Param;}

void ExCAction::SetParam1 std::string  Param  )  [inline, inherited]
 

Définition à la ligne 95 du fichier ExCAction.h.

Références ExCAction::m_Param1.

00095 {m_Param1=Param;}

void ExCAction::SetParam2 std::string  Param  )  [inline, inherited]
 

Définition à la ligne 96 du fichier ExCAction.h.

Références ExCAction::m_Param2.

00096 {m_Param2=Param;}


Documentation des fonctions amies et associées

std::ostrstream& operator<< std::ostrstream &  s,
const ExCAction action
[friend, inherited]
 

Définition à la ligne 81 du fichier ExCAction.cpp.

00082 {
00083         s<<" Action :"<<action.m_Action<<" Param :"<<action.m_Param;
00084         s<<" Param1 :"<<action.m_Param1<<" Param2 :"<<action.m_Param2<<std::endl;
00085         return s;
00086 }

std::ostream& operator<< std::ostream &  s,
const ExCAction action
[friend, inherited]
 

Définition à la ligne 75 du fichier ExCAction.cpp.

00076 {
00077         s<<" Action :"<<action.m_Action<<" Param :"<<action.m_Param;
00078         s<<" Param1 :"<<action.m_Param1<<" Param2 :"<<action.m_Param2<<std::endl;
00079         return s;
00080 }


Documentation des données imbriquées

int ExCAction::m_Action [inherited]
 

Définition à la ligne 65 du fichier ExCAction.h.

Référencé par ExManagerCommand::AddAction(), ExManagerCommand::AddNewAction(), ExManagerCommand::AddRepAction(), ExManagerConsole::ApplyBuffCommand(), ExCAction::ExCAction(), ExManagerWindow::InputAction(), ExManagerTexture::InputAction(), ExManagerSpecialEffect::InputAction(), ExManagerSound::InputAction(), ExManagerPVS::InputAction(), ExManagerParticuleSystem::InputAction(), ExManagerObjectWindow::InputAction(), ExManagerNetwork::InputAction(), ExManagerModel::InputAction(), ExManagerMesh::InputAction(), ExManagerMap::InputAction(), ExManagerLoad::InputAction(), ExManagerInterface::InputAction(), ExManagerId::InputAction(), ExManagerFog::InputAction(), ExManagerEntity::InputAction(), ExManagerConsole::InputAction(), ExManagerCommand::InputAction(), ExManagerCamera::InputAction(), ExManagerAnimation::InputAction(), ExCWindowObject::InputAction(), ExCWindowEditLabel::InputAction(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCInterface::InputCommand(), ExManagerCommand::LoadExecFile(), ExManagerCommand::LoadFile(), ExCAnimation::LoadFile(), operator<<(), ExManagerCommand::ProcesExCAction(), et ExManagerCommand::RemoveRepAction().

int ExCAction::m_ActionNumber [inherited]
 

Définition à la ligne 66 du fichier ExCAction.h.

Référencé par ExCAction::ExCAction(), et ExManagerCommand::ProcesExCAction().

bool ExCAction::m_executed [inherited]
 

Définition à la ligne 76 du fichier ExCAction.h.

Référencé par ExCAction::AllActionDone(), ExCAction::ExCAction(), et ExManagerCommand::ProcesExCAction().

double ExCAction::m_ExecutingLife [inherited]
 

Définition à la ligne 75 du fichier ExCAction.h.

Référencé par ExCAction::ExCAction(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), Pop(), et ExManagerCommand::ProcesExCAction().

ExCAction* ExCAction::m_NextAction [inherited]
 

Définition à la ligne 79 du fichier ExCAction.h.

Référencé par ExCAction::AllActionDone(), ExCAction::ExCAction(), ExManagerTexture::InputAction(), ExManagerSpecialEffect::InputAction(), ExManagerSound::InputAction(), ExManagerPVS::InputAction(), ExManagerParticuleSystem::InputAction(), ExManagerObjectWindow::InputAction(), ExManagerNetwork::InputAction(), ExManagerModel::InputAction(), ExManagerMesh::InputAction(), ExManagerMap::InputAction(), ExManagerLoad::InputAction(), ExManagerInterface::InputAction(), ExManagerId::InputAction(), ExManagerFog::InputAction(), ExManagerEntity::InputAction(), ExManagerConsole::InputAction(), ExManagerCommand::InputAction(), ExCWindowObject::InputAction(), ExCInterface::InputCommand(), et ExManagerCommand::ProcesExCAction().

int ExCAction::m_NumberOfExecution [inherited]
 

Définition à la ligne 78 du fichier ExCAction.h.

Référencé par ExCAction::ExCAction().

std::string ExCAction::m_Param [inherited]
 

Définition à la ligne 70 du fichier ExCAction.h.

Référencé par ExCAction::ExCAction(), ExCAction::GetParam(), ExCAction::GetParamAsInt(), ExManagerTexture::InputAction(), ExManagerSound::InputAction(), ExManagerParticuleSystem::InputAction(), ExManagerObjectWindow::InputAction(), ExManagerModel::InputAction(), ExManagerLoad::InputAction(), ExManagerInterface::InputAction(), ExManagerFog::InputAction(), ExManagerEntity::InputAction(), ExManagerConsole::InputAction(), ExManagerCommand::InputAction(), ExManagerCamera::InputAction(), ExManagerAnimation::InputAction(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), operator<<(), Pop(), ExManagerCommand::ProcesExCAction(), ExManagerObjectWindow::ReadWindowControlObject(), ExCWindow::ReadWindowControlObject(), ExCAction::SetParam(), et ExManagerSpecialEffect::Specialeffect().

std::string ExCAction::m_Param1 [inherited]
 

Définition à la ligne 71 du fichier ExCAction.h.

Référencé par ExCAction::ExCAction(), ExCAction::GetParam1(), ExCAction::GetParamAsInt(), ExManagerModel::InputAction(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), operator<<(), et ExCAction::SetParam1().

std::string ExCAction::m_Param2 [inherited]
 

Définition à la ligne 72 du fichier ExCAction.h.

Référencé par ExCAction::ExCAction(), ExCAction::GetParam2(), ExCAction::GetParamAsInt(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), operator<<(), et ExCAction::SetParam2().

double ExCAction::m_StartingLife [inherited]
 

Définition à la ligne 74 du fichier ExCAction.h.

Référencé par ExManagerConsole::ApplyBuffCommand(), ExCAction::ExCAction(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), et ExManagerCommand::ProcesExCAction().

std::vector<ExCAction> ExCFluxAction::m_VecAction [protected]
 

Définition à la ligne 65 du fichier ExCFluxAction.h.

Référencé par GetSize(), Pop(), et Push().

std::vector<std::string> ExCAction::m_VecParam [inherited]
 

Définition à la ligne 68 du fichier ExCAction.h.

Référencé par ExCAction::GetNumberParam(), et ExCAction::SetParam().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Oct 28 12:43:45 2003 pour ExNihilo par doxygen 1.3.4