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


Ignore:
Timestamp:
Aug 11, 2004, 3:10:25 PM (21 years ago)
Author:
ansari
Message:

Documentation (ajoutee ou completee) pour les classes du module SysTools - Reza 11 Aout 2004

File:
1 edited

Legend:

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

    r2518 r2598  
    2727// Classe definissant l'interface pour un interpreteur de commande
    2828
    29 //! Interface definition for a generic command interpreter
     29/*!
     30  \ingroup SysTools
     31  \brief  Interface definition for a generic command interpreter.
     32*/
    3033class CmdInterpreter {
    3134public:
    3235  virtual               ~CmdInterpreter() {} ;
     36//! Returns the interpreter's name
    3337  virtual string        Name()=0;
     38//! Method to be called in order to interpret a line or string.
    3439  virtual int           Interpret(string& line)=0;
    3540};
    3641
    3742
    38 //! Interface definition for command executor, to be used with SOPHYA::Commander
     43/*!
     44  \ingroup SysTools
     45  \brief Interface definition for command executor, to be used with Commander
     46
     47  A command is defined by a keyword and a number of argument
     48*/
    3949
    4050class CmdExecutor {
     
    159169
    160170// Pour enregistrer la liste de commandes et leurs executeurs et le help
     171//! Command executor registration - For Commander internal use
    161172  struct cmdex {int group; string us; CmdExecutor * cex; } ;
     173//! Help text registration - For Commander internal use
    162174  struct hgrpst {int gid; string desc; } ;               // Identification+description d'un groupe de help
    163175  typedef map<string, hgrpst, less<string> > CmdHGroup;   // Liste des groupes de commandes
Note: See TracChangeset for help on using the changeset viewer.