Changeset 5635 in orxonox.OLD for trunk/src/lib/util/executor/executor.h
- Timestamp:
- Nov 18, 2005, 6:20:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/executor/executor.h
r5633 r5635 12 12 #include "multi_type.h" 13 13 #include "substring.h" 14 #include "functor_list.h" 14 #include "functor_list.h" //< MUST BE INCLUDED HERE AT LEAST ONCE. 15 15 16 16 #include <stdarg.h> … … 32 32 { 33 33 public: 34 static bool execute (const char* executionString);35 36 Executor* describe(const char* description);37 34 Executor* defaultValues(unsigned int count, ...); 35 Executor* defaultValues(unsigned int count, va_list values); 38 36 39 37 /** executes a Command @param object the object to apply this to @param parameters the parameters the command takes */ 40 38 virtual void execute (BaseObject* object, const char* parameters) = 0; 41 42 39 43 40 static void debug(); … … 56 53 57 54 private: 58 const char* description; //!< A description for this commnand. (initially NULL). Assigned with (create)->describe("blablabla");59 55 }; 60 56
Note: See TracChangeset
for help on using the changeset viewer.