1 #ifndef __ICOMMANDS_USER__
2 #define __ICOMMANDS_USER__
5 //------------------------------------------------------------------------------------------------------------
7 //------------------------------------------------------------------------------------------------------------
11 #include "CommandObject.h"
15 //------------------------------------------------------------------------------------------------------------
16 // Constructors & Destructors
17 //------------------------------------------------------------------------------------------------------------
19 virtual ~ICommandsUser() {};
22 //------------------------------------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------------------------------------
28 * Executes a command by resending the received parameters to its parent to do the appropiate interpretation and execution.
29 * @param theCommand Is the command to execute
30 * @param fromRegistration Indicates if the execution is directed from the registration, by default comes from the GUI = false.
32 virtual bool executeCommand(CommandObject * theCommand, bool fromRegistration=false) = 0;
35 * Executes a command queue by resending the received parameters to its parent to do the appropiate interpretation and execution.
36 * @param executionQueue Is the command queue to execute
37 * @param fromRegistration Indicates if the execution is directed from the registration, by default comes from the GUI = false.
39 virtual bool executeCommandsQueue(std::deque<CommandObject *> & executionQueue, bool fromRegistration) = 0;