7 #ifndef __COMMAND_GROUP_H__
8 #define __COMMAND_GROUP_H__
10 #include "Commands/Command.h"
11 #include "Commands/CommandGroupEntry.h"
44 bool IsInterruptible();
53 virtual void _Initialize();
54 virtual void _Interrupted();
55 virtual void _Execute();
59 void CancelConflicts(
Command *command);
61 typedef std::vector<CommandGroupEntry> CommandVector;
63 CommandVector m_commands;
64 typedef std::list<CommandGroupEntry> CommandList;
66 CommandList m_children;
68 int m_currentCommandIndex;
void AddSequential(Command *command)
virtual void Interrupted()
void AddParallel(Command *command)
virtual void Initialize()
virtual bool IsFinished()