Index: trunk/src/lib/util/executor/executor.cc
===================================================================
--- trunk/src/lib/util/executor/executor.cc	(revision 5635)
+++ trunk/src/lib/util/executor/executor.cc	(revision 5636)
@@ -38,11 +38,8 @@
  * @param paramCount the count of parameters this command takes
  */
-Executor::Executor(const char* commandName, const char* className, unsigned int paramCount, ...)
+Executor::Executor(unsigned int paramCount, ...)
 {
   this->setClassID(CL_EXECUTOR, "Executor");
-  this->setName(commandName);
 
-//  this->classID = classID;
-  // handling parameters, and storing them:
   if (paramCount > FUNCTOR_MAX_ARGUMENTS)
     paramCount = FUNCTOR_MAX_ARGUMENTS;
Index: trunk/src/lib/util/executor/executor.h
===================================================================
--- trunk/src/lib/util/executor/executor.h	(revision 5635)
+++ trunk/src/lib/util/executor/executor.h	(revision 5636)
@@ -41,5 +41,5 @@
 
   protected:
-    Executor(const char* commandName, const char* className, unsigned int paramCount, ...);
+    Executor(unsigned int paramCount, ...);
     ~Executor();
 
@@ -77,8 +77,9 @@
 // COMMAND REGISTRATION //
 //////////////////////////
-// EXECUTOR can be redefined as Executor or ExecutorStatic
-// EXECUTOREXECUTER can be redefined too.
+// EXECUTOR             can be redefined as Executor or ExecutorStatic
+// EXECUTOREXECUTER     can be redefined too.
 // EXECUTORINCLASS
 // EXECUTORTYPE
+
 
 ///////////////////////
@@ -111,6 +112,6 @@
 //! creates a command that takes no parameters
 #define ExecutorConstructor0() \
-  EXECUTOR(const char* commandName, const char* className, void EXECUTORINCLASS(*function)()) \
-  : Executor(commandName, className, 0) \
+  EXECUTOR(void EXECUTORINCLASS(*function)()) \
+  : Executor(0) \
   { \
     this->functorType = EXECUTORTYPE; \
@@ -120,6 +121,6 @@
 //! creates a command that takes one parameter
 #define ExecutorConstructor1(t1) \
-  EXECUTOR(const char* commandName, const char* className, void EXECUTORINCLASS(*function)(t1##_TYPE)) \
-  : Executor(commandName, className, 1, t1##_PARAM) \
+  EXECUTOR(void EXECUTORINCLASS(*function)(t1##_TYPE)) \
+  : Executor(1, t1##_PARAM) \
   { \
     this->functorType = EXECUTORTYPE; \
@@ -129,6 +130,6 @@
 //! creates a command that takes two parameters
 #define ExecutorConstructor2(t1,t2) \
-  EXECUTOR(const char* commandName, const char* className, void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE)) \
-  : Executor(commandName, className, 2, t1##_PARAM, t2##_PARAM) \
+  EXECUTOR(void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE)) \
+  : Executor(2, t1##_PARAM, t2##_PARAM) \
   { \
     this->functorType = EXECUTORTYPE; \
@@ -138,6 +139,6 @@
 //! creates a command that takes three parameter
 #define ExecutorConstructor3(t1,t2,t3) \
-  EXECUTOR(const char* commandName, const char* className, void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE, t3##_TYPE)) \
-  : Executor(commandName, className, 3, t1##_PARAM, t2##_PARAM, t3##_PARAM) \
+  EXECUTOR(void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE, t3##_TYPE)) \
+  : Executor(3, t1##_PARAM, t2##_PARAM, t3##_PARAM) \
   { \
     this->functorType = EXECUTORTYPE; \
@@ -147,6 +148,6 @@
 //! creates a command that takes four parameter
 #define ExecutorConstructor4(t1,t2,t3,t4) \
-  EXECUTOR(const char* commandName, const char* className, void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE, t3##_TYPE, t4##_TYPE)) \
-  : Executor(commandName, className, 4, t1##_PARAM, t2##_PARAM, t3##_PARAM, t4##_PARAM) \
+  EXECUTOR(void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE, t3##_TYPE, t4##_TYPE)) \
+  : Executor(4, t1##_PARAM, t2##_PARAM, t3##_PARAM, t4##_PARAM) \
   { \
     this->functorType = EXECUTORTYPE; \
@@ -156,6 +157,6 @@
 //! creates a command that takes five parameter
 #define ExecutorConstructor5(t1,t2,t3,t4,t5) \
-  EXECUTOR(const char* commandName, const char* className, void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE, t3##_TYPE, t4##_TYPE, t5##_TYPE)) \
-  : Executor(commandName, className, 5, t1##_PARAM, t2##_PARAM, t3##_PARAM, t4##_PARAM, t5##_PARAM) \
+  EXECUTOR(void EXECUTORINCLASS(*function)(t1##_TYPE, t2##_TYPE, t3##_TYPE, t4##_TYPE, t5##_TYPE)) \
+  : Executor(5, t1##_PARAM, t2##_PARAM, t3##_PARAM, t4##_PARAM, t5##_PARAM) \
   { \
     this->functorType = EXECUTORTYPE; \
@@ -292,5 +293,5 @@
 
 
-    virtual void executeCommand (BaseObject* object, const char* parameters)
+    virtual void execute (BaseObject* object, const char* parameters)
     {
   SubString sub(parameters, true);
