Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 20, 2005, 9:45:28 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: new Version of the String-splitter (without Escape-sequence for the time being)

File:
1 edited

Legend:

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

    r5652 r5656  
    3838    virtual Executor* clone () const = 0;
    3939
     40    Executor* defaultValues(unsigned int count, va_list values);
    4041    Executor* defaultValues(unsigned int count, ...);
    41     Executor* defaultValues(unsigned int count, va_list values);
    4242
    4343    /** executes a Command @param object the object to apply this to @param parameters the parameters the command takes */
     
    5656
    5757    void cloning(Executor* executor) const;
     58
     59//    const SubString& getSubString(const char* string) const { return SubString(string); };
    5860
    5961  protected:
     
    261263    virtual void execute (BaseObject* object, const char* parameters)
    262264    {
    263       SubString sub(parameters, ',');  /// FIXME ///
     265      SubString sub(parameters, " \n\t,", '\\');
    264266//! FUNCTOR_LIST is the List of Executive Functions
    265267#define FUNCTOR_LIST(x) ExecutorExecute ## x
     
    323325    virtual void execute (BaseObject* object, const char* parameters)
    324326    {
    325   SubString sub(parameters, true);
     327  SubString sub(parameters, " \n\t,");
    326328//! FUNCTOR_LIST is the List of Executive Functions
    327329#define FUNCTOR_LIST(x) ExecutorExecute ## x
Note: See TracChangeset for help on using the changeset viewer.