#include <ExCAction.h>
Graphe d'héritage de la classe ExCAction
Membres publics | |
ExCAction () | |
ExCAction (const ExCAction &Action) | |
ExCAction (int Action) | |
ExCAction (int Action, std::string Param) | |
ExCAction (int Action, std::string Param, std::string Param1) | |
ExCAction (int Action, std::string Param, std::string Param1, std::string Param2) | |
~ExCAction () | |
void | SetParam (std::string Param) |
void | SetParam1 (std::string Param) |
void | SetParam2 (std::string Param) |
std::string | GetParam (void) |
std::string | GetParam1 (void) |
std::string | GetParam2 (void) |
void | SetParam (int ParamNumber, std::string Param) |
int | GetParamAsInt (int ParamNumber) |
float | GetParamAsFloat (int ParamNumber) |
std::string | GetParam (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 |
ExCAction * | m_NextAction |
Amis (friends) | |
std::ostream & | operator<< (std::ostream &s, const ExCAction &action) |
std::ostrstream & | operator<< (std::ostrstream &s, const ExCAction &action) |
|
Définition à la ligne 6 du fichier ExCAction.cpp. Références ExCAction(), Guard, m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_NextAction, m_NumberOfExecution, m_Param, m_Param1, m_Param2, m_StartingLife, et UnGuard. Référencé par ExCAction(), ExCFluxAction::Pop(), et ~ExCAction().
00007 { 00008 Guard(ExCAction::ExCAction()) 00009 m_NextAction=NULL; 00010 m_Action=0; 00011 m_ActionNumber=0; 00012 m_executed=false; 00013 m_StartingLife=(double)((double)glutGet(GLUT_ELAPSED_TIME)/1000); 00014 m_ExecutingLife=-1; 00015 m_NumberOfExecution=1; 00016 m_Param="NULL"; 00017 m_Param1="NULL"; 00018 m_Param2="NULL"; 00019 UnGuard 00020 } |
|
Définition à la ligne 28 du fichier ExCAction.cpp. Références ExCAction(), Guard, m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_NextAction, m_NumberOfExecution, m_Param, m_Param1, m_Param2, m_StartingLife, et UnGuard.
00029 { 00030 Guard(ExCAction::ExCAction(const ExCAction& Action)) 00031 m_NextAction=Action.m_NextAction; 00032 m_Action=Action.m_Action; 00033 m_ActionNumber=0; 00034 m_NumberOfExecution=Action.m_NumberOfExecution; 00035 m_executed=Action.m_executed; 00036 m_StartingLife=Action.m_StartingLife; 00037 m_ExecutingLife=Action.m_ExecutingLife; 00038 m_Param=Action.m_Param; 00039 m_Param1=Action.m_Param1; 00040 m_Param2=Action.m_Param2; 00041 UnGuard 00042 } |
|
Définition à la ligne 44 du fichier ExCAction.cpp. Références ExCAction(), Guard, m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_NextAction, m_NumberOfExecution, m_Param, m_Param1, m_Param2, m_StartingLife, et UnGuard.
00045 { 00046 Guard(ExCAction::ExCAction(int Action)) 00047 m_NumberOfExecution=1; 00048 m_NextAction=NULL; 00049 m_Action=Action; 00050 m_ActionNumber=0; 00051 m_executed=false; 00052 m_StartingLife=(double)((double)glutGet(GLUT_ELAPSED_TIME)/1000); 00053 m_ExecutingLife=-1; 00054 m_Param="NULL"; 00055 m_Param1="NULL"; 00056 m_Param2="NULL"; 00057 UnGuard 00058 } |
|
Définition à la ligne 60 du fichier ExCAction.cpp. Références ExCAction(), Guard, m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_NextAction, m_NumberOfExecution, m_Param, m_StartingLife, et UnGuard.
00061 { 00062 Guard(ExCAction::ExCAction(int Action,std::string Param)) 00063 m_NumberOfExecution=1; 00064 m_NextAction=NULL; 00065 m_Action=Action; 00066 m_ActionNumber=0; 00067 m_executed=false; 00068 m_StartingLife=(double)((double)glutGet(GLUT_ELAPSED_TIME)/1000); 00069 m_ExecutingLife=-1; 00070 m_Param=Param; 00071 UnGuard 00072 } |
|
|
|
|
|
Définition à la ligne 22 du fichier ExCAction.cpp. Références ExCAction(), Guard, et UnGuard.
|
|
Définition à la ligne 122 du fichier ExCAction.cpp. Références AllActionDone(), Guard, m_executed, m_NextAction, et UnGuard. Référencé par 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 } |
|
Définition à la ligne 108 du fichier ExCAction.h. Références m_VecParam. Référencé par SetParam().
00108 {return (int) m_VecParam.size();} |
|
|
|
Définition à la ligne 97 du fichier ExCAction.h. Références m_Param.
00097 {return m_Param;} |
|
Définition à la ligne 98 du fichier ExCAction.h. Références m_Param1.
00098 {return m_Param1;} |
|
Définition à la ligne 99 du fichier ExCAction.h. Références m_Param2.
00099 {return m_Param2;} |
|
|
|
|
|
|
|
Définition à la ligne 98 du fichier ExCAction.cpp. Références GetParamAsInt(), Guard, m_Param, m_Param1, m_Param2, et UnGuard. Référencé par 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 } |
|
Définition à la ligne 90 du fichier ExCAction.cpp. Références GetNumberParam(), Guard, m_VecParam, 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 } |
|
Définition à la ligne 94 du fichier ExCAction.h. Références m_Param. Référencé par ExManagerConsole::ApplyBuffCommand(), ExCInterface::InputCommand(), ExManagerCommand::LoadFile(), ExManagerLoad::LoadSetOfFile(), et SetParam().
00094 {m_Param=Param;} |
|
Définition à la ligne 95 du fichier ExCAction.h. Références m_Param1.
00095 {m_Param1=Param;} |
|
Définition à la ligne 96 du fichier ExCAction.h. Références m_Param2.
00096 {m_Param2=Param;} |
|
Définition à la ligne 81 du fichier ExCAction.cpp.
|
|
Définition à la ligne 75 du fichier ExCAction.cpp.
|
|
|
Définition à la ligne 66 du fichier ExCAction.h. Référencé par ExCAction(), et ExManagerCommand::ProcesExCAction(). |
|
Définition à la ligne 76 du fichier ExCAction.h. Référencé par AllActionDone(), ExCAction(), et ExManagerCommand::ProcesExCAction(). |
|
Définition à la ligne 75 du fichier ExCAction.h. Référencé par ExCAction(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), ExCFluxAction::Pop(), et ExManagerCommand::ProcesExCAction(). |
|
|
Définition à la ligne 78 du fichier ExCAction.h. Référencé par ExCAction(). |
|
|
Définition à la ligne 71 du fichier ExCAction.h. Référencé par ExCAction(), GetParam1(), GetParamAsInt(), ExManagerModel::InputAction(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), operator<<(), et SetParam1(). |
|
Définition à la ligne 72 du fichier ExCAction.h. Référencé par ExCAction(), GetParam2(), GetParamAsInt(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), operator<<(), et SetParam2(). |
|
Définition à la ligne 74 du fichier ExCAction.h. Référencé par ExManagerConsole::ApplyBuffCommand(), ExCAction(), ExManagerCommand::LoadExecFile(), ExCAnimation::LoadFile(), et ExManagerCommand::ProcesExCAction(). |
|
Définition à la ligne 68 du fichier ExCAction.h. Référencé par GetNumberParam(), et SetParam(). |