Changeset 5640 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Nov 18, 2005, 7:29:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r5639 r5640 60 60 61 61 62 //! an enumerator for the definition of the Type.63 typedef enum {64 ShellCommand_Objective = 1,65 ShellCommand_Static = 2,66 } ShellCommand_Type;67 62 68 63 //! a baseClass for all possible ShellCommands … … 87 82 ~ShellCommand(); 88 83 89 /** @returns the Type of this Function (either static or objective) */90 inline ShellCommand_Type getType() { return this->functorType; };91 92 84 static bool isRegistered(const char* commandName, const char* className, Executor* executor); 93 85 static const char* paramToString(long parameter); 94 86 95 87 protected: 96 ShellCommand_Type functorType; //!< The type of Function we've got (either static or objective).97 88 void* functionPointer; //!< The pointeer to the function of the Class (or static pointer if ClassID == CL_NULL ) 98 89 unsigned int paramCount; //!< the count of parameters.
Note: See TracChangeset
for help on using the changeset viewer.