Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 16, 2006, 10:09:59 PM (18 years ago)
Author:
bensch
Message:

completely documented Executors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/executor/executor.h

    r9737 r9748  
    1616
    1717
    18 
     18/** @returns the Type of an Argument taken by the Executor */
    1919template<typename type> MT_Type ExecutorParamType() { return MT_EXT1; };
    2020template<> MT_Type ExecutorParamType<bool>();
     
    6666  inline bool hasRetVal() const { return bRetVal; };
    6767
    68   /** executes a Command. @param objec the Object, @param count how many values, @param values the Values */
     68  /** executes a Command. @param object the Object, @param values The Value of type CallType to pass to the Executor. */
    6969  virtual void operator()(BaseClass* object, CallType& values) const = 0;
    7070
     
    7676   * @param value3 the fourth default value
    7777   * @param value4 the fifth default value
     78   * @param value5 the sixth default value
     79   * @param value6 the seventh default value
    7880   * @returns itself
    7981   * @note: THIS FUNCTION WILL BE REPLACED BY A CONFIGURATOR (most probably).
     
    109111protected:
    110112  //! Now follows a List of Executor Constructors, to be fast in creating.
     113  //! Creates an Executor with no Argument.
    111114  Executor(bool hasRetVal, FunctionType functionType = FunctionMember)
    112115  : bRetVal(hasRetVal), paramCount(0), functionType(functionType)
    113116  { };
    114117
     118  //! Creates an Executor with 1 Argument.
    115119  Executor(bool hasRetVal, const MultiType& param0,
    116120           FunctionType functionType = FunctionMember)
     
    120124  };
    121125
     126  //! Creates an Executor with 2 Arguments.
    122127  Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1,
    123128           FunctionType functionType = FunctionMember)
     
    128133  };
    129134
     135  //! Creates an Executor with 3 Arguments.
    130136  Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1,
    131137           const MultiType& param2,
     
    138144  };
    139145
     146  //! Creates an Executor with 4 Arguments.
    140147  Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1,
    141148           const MultiType& param2, const MultiType& param3,
     
    149156  };
    150157
     158  //! Creates an Executor with 5 Arguments.
    151159  Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1,
    152160           const MultiType& param2, const MultiType& param3,
     
    162170  };
    163171
     172  //! Creates an Executor with 6 Arguments.
    164173  Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1,
    165174           const MultiType& param2, const MultiType& param3,
     
    176185  };
    177186
     187  //! Creates an Executor with 7 Arguments.
    178188  Executor(bool hasRetVal, const MultiType& param0, const MultiType& param1,
    179189           const MultiType& param2, const MultiType& param3,
Note: See TracChangeset for help on using the changeset viewer.