#include <InputActionList.h>
Public Methods | |
SAction () | |
SAction (const SAction &Action) | |
SAction (int Action) | |
SAction (int Action, char *Param) | |
void | SetParam (const char *Param) |
bool | AllActionDone () |
Data Fields | |
int | m_Action |
int | m_ActionNumber |
char * | m_Param |
double | m_StartingLife |
double | m_ExecutingLife |
bool | m_executed |
SAction * | m_NextAction |
|
Definition at line 282 of file InputActionList.h. References m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_Param, and m_StartingLife.
00283 { 00284 m_NextAction=NULL; 00285 m_Action=0; 00286 m_ActionNumber=0; 00287 m_executed=false; 00288 m_StartingLife=(double)((double)glutGet(GLUT_ELAPSED_TIME)/1000); 00289 m_ExecutingLife=-1; 00290 m_Param=new char[4]; 00291 sprintf(m_Param,"NULL"); 00292 } |
|
Definition at line 293 of file InputActionList.h. References m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_NextAction, m_Param, and m_StartingLife.
00294 { 00295 m_NextAction=Action.m_NextAction; 00296 m_Action=Action.m_Action; 00297 m_ActionNumber=0; 00298 m_executed=Action.m_executed; 00299 m_StartingLife=Action.m_StartingLife; 00300 m_ExecutingLife=Action.m_ExecutingLife; 00301 m_Param=new char[strlen(Action.m_Param)]; 00302 sprintf(m_Param,"%s",Action.m_Param); 00303 } |
|
Definition at line 304 of file InputActionList.h. References m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_Param, and m_StartingLife.
00305 { 00306 m_NextAction=NULL; 00307 m_Action=Action; 00308 m_ActionNumber=0; 00309 m_executed=false; 00310 m_StartingLife=(double)((double)glutGet(GLUT_ELAPSED_TIME)/1000); 00311 m_ExecutingLife=-1; 00312 m_Param=new char[4]; 00313 sprintf(m_Param,"NULL"); 00314 } |
|
Definition at line 315 of file InputActionList.h. References m_Action, m_ActionNumber, m_executed, m_ExecutingLife, m_Param, and m_StartingLife.
00316 { 00317 m_NextAction=NULL; 00318 m_Action=Action; 00319 m_ActionNumber=0; 00320 m_executed=false; 00321 m_StartingLife=(double)((double)glutGet(GLUT_ELAPSED_TIME)/1000); 00322 m_ExecutingLife=-1; 00323 m_Param=new char[strlen(Param)]; 00324 sprintf(m_Param,"%s",Param); 00325 } |
|
Definition at line 331 of file InputActionList.h. References m_executed.
00332 { 00333 while(this->m_NextAction!=NULL) 00334 { 00335 if(this->m_executed==false) 00336 { 00337 return false;//one action is not done return false to keep action 00338 } 00339 } 00340 return true; 00341 } |
|
Definition at line 326 of file InputActionList.h. References m_Param. Referenced by ExCInterface::InputCommand(), ExManagerCommand::LoadExecFile(), ExManagerCommand::LoadFile(), ExManagerCommand::LoadSetOfFile(), and ExManagerCommand::ProcessAction().
|
|
Definition at line 272 of file InputActionList.h. Referenced by ExManagerCommand::AddAction(), ExManagerCommand::AddCommandAction(), ExManagerCommand::AddNewAction(), ExManagerCommand::AddRepAction(), ExCInterface::InputCommand(), ExManagerCommand::LoadExecFile(), ExManagerCommand::LoadFile(), ExManagerCommand::ProcessAction(), ExManagerCommand::RemoveRepAction(), and SAction(). |
|
Definition at line 273 of file InputActionList.h. Referenced by SAction(). |
|
Definition at line 278 of file InputActionList.h. Referenced by AllActionDone(), ExManagerCommand::ProcessAction(), and SAction(). |
|
Definition at line 277 of file InputActionList.h. Referenced by ExManagerCommand::LoadExecFile(), ExManagerCommand::ProcessAction(), and SAction(). |
|
Definition at line 280 of file InputActionList.h. Referenced by ExCInterface::InputCommand(), ExManagerCommand::ProcessAction(), and SAction(). |
|
Definition at line 274 of file InputActionList.h. Referenced by ExManagerCommand::AddCommandAction(), ExManagerCommand::LoadExecFile(), ExManagerCommand::ProcessAction(), SAction(), and SetParam(). |
|
Definition at line 276 of file InputActionList.h. Referenced by ExManagerCommand::ProcessAction(), and SAction(). |