Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7198 in orxonox.OLD for trunk/src/lib/util/executor/executor.h


Ignore:
Timestamp:
Mar 8, 2006, 2:30:19 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: new Default Values… they now too are in MultiType instead of (count, …) or (count, va_arg) style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/executor/executor.h

    r7197 r7198  
    4545    virtual Executor* clone () const = 0;
    4646
    47     Executor* defaultValues(unsigned int count, va_list values);
    48     Executor* defaultValues(unsigned int count, ...);
     47    Executor* defaultValues(const MultiType& value0 = MT_NULL, const MultiType& value1 = MT_NULL,
     48                            const MultiType& value2 = MT_NULL, const MultiType& value3 = MT_NULL,
     49                            const MultiType& value4 = MT_NULL);
    4950
    5051    /** executes a Command @param object the object to apply this to @param parameters the parameters the command takes */
     
    5960
    6061  protected:
    61     Executor(const MultiType& param0 = MT_NULL,
    62              const MultiType& param1 = MT_NULL,
    63              const MultiType& param2 = MT_NULL,
    64              const MultiType& param3 = MT_NULL,
     62    Executor(const MultiType& param0 = MT_NULL, const MultiType& param1 = MT_NULL,
     63             const MultiType& param2 = MT_NULL, const MultiType& param3 = MT_NULL,
    6564             const MultiType& param4 = MT_NULL);
    6665
Note: See TracChangeset for help on using the changeset viewer.