AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
IzCommandExecutor Class Reference

#include <CzProgram.h>

Inheritance diagram for IzCommandExecutor:
CzCommand CzProgram CzCommandAddVariable CzCommandCall CzCommandCallGlobalScript CzCommandCallScript CzCommandChangeProgram CzCommandDebugText CzCommandFromTemplate CzCommandGetVariable CzCommandGoto CzCommandIfVar CzCommandInline CzCommandLoadXOML CzCommandMusic CzCommandNop CzCommandPriority CzCommandRemoteReq CzCommandReturn CzCommandRunActions CzCommandSetProperty CzCommandSetUserProp CzCommandSetVariable CzCommandSound CzCommandStop CzCommandWait CzCommandWaitVarIsValue

List of all members.

Public Types

typedef CzVector
< IzCommandExecutor * >
::iterator 
_Iterator

Public Member Functions

_Iterator begin ()
_Iterator end ()
void setProgram (CzProgram *program)
CzProgramgetProgram ()
void setParent (IzCommandExecutor *parent)
IzCommandExecutorgetParent ()
void setCommandName (const char *name)
unsigned int getCommandNameHash ()
void setInitialised (bool init)
bool isInitialised () const
void setFinished (bool finished)
bool isFinished () const
void setParallel (bool parallel)
bool isParallel () const
void addCommand (IzCommandExecutor *command)
bool removeCommand (IzCommandExecutor *command)
IzCommandExecutorfindCommand (unsigned int name_hash)
IzCommandExecutorfindCommand (const char *name)
bool gotoCommand ()
virtual void restart ()
void clearCommands ()
bool nextCommand ()
void setCurrentCommand (IzCommandExecutor *command)
void setCurrentCommand (int index)
int getReturnValue () const
IzCommandExecutorgetIfReturn ()
void setIfReturn (IzCommandExecutor *command, int value)
int getIfReturnValue () const
void setCommandIndex (int index)
int getCommandIndex () const
void setConditions (const char *cond, bool _not=false)
unsigned int getConditions () const
 IzCommandExecutor ()
virtual ~IzCommandExecutor ()
virtual void Init ()
virtual bool Execute (float dt)=0
void Uninit ()
void RebuildCommandIndices ()

Protected Attributes

CzProgramProgram
IzCommandExecutorParent
CzVector< IzCommandExecutor * > Commands
int CurrentCommand
bool Parallel
unsigned int Conditions
CzString _Conditions
bool Not
unsigned int CommandNameHash
bool Initialised
bool Finished
int ReturnValue
IzCommandExecutorIfReturn
int IfReturnValue
int CommandIndex

Member Typedef Documentation


Constructor & Destructor Documentation

virtual IzCommandExecutor::~IzCommandExecutor ( ) [inline, virtual]

Member Function Documentation

IzCommandExecutor * IzCommandExecutor::findCommand ( unsigned int  name_hash)
int IzCommandExecutor::getCommandIndex ( ) const [inline]
unsigned int IzCommandExecutor::getCommandNameHash ( ) [inline]
unsigned int IzCommandExecutor::getConditions ( ) const [inline]
int IzCommandExecutor::getIfReturnValue ( ) const [inline]
int IzCommandExecutor::getReturnValue ( ) const [inline]
virtual void IzCommandExecutor::Init ( ) [inline, virtual]

Reimplemented in CzCommandWait, and CzCommandNop.

bool IzCommandExecutor::isFinished ( ) const [inline]
bool IzCommandExecutor::isInitialised ( ) const [inline]
bool IzCommandExecutor::isParallel ( ) const [inline]
void IzCommandExecutor::restart ( ) [virtual]

Reimplemented in CzProgram.

void IzCommandExecutor::setCommandIndex ( int  index) [inline]
void IzCommandExecutor::setCommandName ( const char *  name) [inline]
void IzCommandExecutor::setConditions ( const char *  cond,
bool  _not = false 
) [inline]
void IzCommandExecutor::setFinished ( bool  finished) [inline]
void IzCommandExecutor::setIfReturn ( IzCommandExecutor command,
int  value 
)
void IzCommandExecutor::setInitialised ( bool  init) [inline]
void IzCommandExecutor::setParallel ( bool  parallel) [inline]
void IzCommandExecutor::setParent ( IzCommandExecutor parent) [inline]
void IzCommandExecutor::setProgram ( CzProgram program) [inline]

Member Data Documentation

unsigned int IzCommandExecutor::CommandNameHash [protected]
unsigned int IzCommandExecutor::Conditions [protected]
bool IzCommandExecutor::Finished [protected]
bool IzCommandExecutor::Not [protected]
bool IzCommandExecutor::Parallel [protected]

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