Changeset 2753 in Sophya for trunk/SophyaLib/SysTools/commander.h


Ignore:
Timestamp:
May 23, 2005, 6:20:59 PM (20 years ago)
Author:
ansari
Message:

1/ Ajout methode Nop() ds ZSync - pour eviter les warnings unused variable
2/ Ajout de la methode IsThreadable() a l'interface CmdExecutor et sa prise
en compte pour l'execution en thread separe

Reza , 23 Mai 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SysTools/commander.h

    r2671 r2753  
    5252  virtual       ~CmdExecutor() {} ;
    5353  // keyw : Le mot cle associe , args: Arguments de la commande
     54  //! command execution method for a command defined by keyword and its arguments.
    5455  virtual int   Execute(string& keyw, vector<string>& args, string& toks)=0;
     56  //! Return true if the command \b keyw is thread compatible
     57  virtual bool  IsThreadable(string const & keyw) { return false; }
    5558};
    5659
Note: See TracChangeset for help on using the changeset viewer.