Standarize Type in template.
[command.git] / include / callable.h
index 544b37115fb2cbe4b756ae1bb10f439812c76c8b..4ac1bd97635e43d8b9956b35857155e59ba0ec1e 100644 (file)
@@ -7,13 +7,13 @@ namespace command {
     /**
      * Callable behaviour class.
      */
-    template<typename ArgumentType>
+    template<typename ParameterType>
     class Callable {
     protected:
         /**
          * Function handling user Arguments
          */
-        void (*func)(ArgumentType);
+        void (*func)(ParameterType);
 
     public:
         /**
@@ -21,7 +21,7 @@ namespace command {
          *
          * @param function Function that will be invoked
          */
-        Callable(void (*function)(ArgumentType))
+        Callable(void (*function)(ParameterType))
             : func(function) {
         }
 
@@ -33,7 +33,7 @@ namespace command {
          *
          * @param value Value passed to program argument
          */
-        void call(ArgumentType value) {
+        void call(ParameterType value) {
             this->func(value);
         }
     };