Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5640 in orxonox.OLD for trunk/src/lib/shell/shell_command.h


Ignore:
Timestamp:
Nov 18, 2005, 7:29:10 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: default Values work, and small fix with unused ShellCommand_Type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_command.h

    r5639 r5640  
    6060
    6161
    62 //! an enumerator for the definition of the Type.
    63 typedef enum {
    64   ShellCommand_Objective = 1,
    65   ShellCommand_Static    = 2,
    66 } ShellCommand_Type;
    6762
    6863//! a baseClass for all possible ShellCommands
     
    8782    ~ShellCommand();
    8883
    89     /** @returns the Type of this Function (either static or objective) */
    90     inline ShellCommand_Type getType() { return this->functorType; };
    91 
    9284    static bool isRegistered(const char* commandName, const char* className, Executor* executor);
    9385    static const char* paramToString(long parameter);
    9486
    9587  protected:
    96     ShellCommand_Type                functorType;                          //!< The type of Function we've got (either static or objective).
    9788    void*                            functionPointer;                      //!< The pointeer to the function of the Class (or static pointer if ClassID == CL_NULL )
    9889    unsigned int                     paramCount;                           //!< the count of parameters.
Note: See TracChangeset for help on using the changeset viewer.