Changeset 2465 in Sophya for trunk/SophyaPI/PIext/basexecut.cc


Ignore:
Timestamp:
Nov 27, 2003, 11:51:58 AM (22 years ago)
Author:
ansari
Message:

Suite modification/adaptations a la classe PIACmd qui herite maintenent de SOPHYA::Commander - Reza 27/11/2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/basexecut.cc

    r2419 r2465  
    10711071{
    10721072string kw, usage, grp;
     1073grp = "External Modules";
     1074string gdesc = "Dynamic load (shared object modules) management command group";
     1075mpiac->AddHelpGroup(grp, gdesc);
    10731076kw = "loadmodule";
    10741077usage = "To load and initialize modules \n  Usage: loadmodule fnameso modulename";
    10751078usage += "\n  Related commands: link"; 
    1076 mpiac->RegisterCommand(kw, usage, this, "External Modules");
     1079mpiac->RegisterCommand(kw, usage, this, grp);
    10771080kw = "link";
    10781081usage = "Dynamic linking of compiled user functions \n  Usage: link fnameso f1 [f2 f3]";
    10791082usage += "\n  fnameso: Shared-object file name, f1,f2,f3 : User function names ";
    10801083usage += "\n  Related commands: call loadmodule linkff2"; 
    1081 mpiac->RegisterCommand(kw, usage, this, "External Modules");
     1084mpiac->RegisterCommand(kw, usage, this, grp);
    10821085kw = "linkff2";
    10831086usage = "Dynamic linking of compiled user functions (Set 2)\n  Usage: linkff2 fnameso f1 [f2 f3]";
    10841087usage += "\n  fnameso: Shared-object file name, f1,f2,f3 : User function names ";
    10851088usage += "\n  Related commands: call link loadmodule"; 
    1086 mpiac->RegisterCommand(kw, usage, this, "External Modules");
     1089mpiac->RegisterCommand(kw, usage, this, grp);
    10871090kw = "call";
    10881091usage = "Dynamically linked user function call \n Usage: call userf [arg1 arg2 ...]";
    10891092usage += "\n  User function : f(vector<string>& args)";
    10901093usage += "\n  Related commands: link"; 
    1091 mpiac->RegisterCommand(kw, usage, this, "External Modules");
    1092 
     1094mpiac->RegisterCommand(kw, usage, this, grp);
     1095
     1096grp = "Graphics";
     1097gdesc = "Basic graphics and object display commands";
     1098mpiac->AddHelpGroup(grp, gdesc);
    10931099kw = "zone";
    10941100usage = "To Divide the Graphic window \n  Usage: zone [nx=1 ny=1]";
    10951101usage += "\n  Related commands: newwin"; 
    1096 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1102mpiac->RegisterCommand(kw, usage, this, grp);
    10971103kw = "newwin";
    10981104usage = "To Create a New Graphic window, with zones \n";
     
    11001106usage += "    Usage: newwin [nx ny [sizeX sizeY]] ";
    11011107usage += "\n  Related commands: zone"; 
    1102 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1108mpiac->RegisterCommand(kw, usage, this, grp);
    11031109kw = "stacknext";
    11041110usage = "Displays the next widget on stack window \n  Usage: stacknext";
    1105 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1111mpiac->RegisterCommand(kw, usage, this, grp);
    11061112
    11071113kw = "graphicatt";
     
    11471153usage += ">> DisplayWindow: next same win stack inset \n";
    11481154usage += "   Related commands: setaxesatt setinsetlimits "; 
    1149 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1155mpiac->RegisterCommand(kw, usage, this, grp);
    11501156
    11511157kw = "setaxesatt";
     
    11671173usage += ">> defdrrect=xmin,xmax,ymin,ymax -> Defines drawing rectangle 2-D plots \n";
    11681174usage += "          The rectangle is defined as a fraction of the widget size\n";
    1169 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1175mpiac->RegisterCommand(kw, usage, this, grp);
    11701176
    11711177kw = "setinsetlimits";
     
    11751181usage += " Usage: setinsetlimits xmin xmax ymin ymax";
    11761182usage += "\n  Related commands: graphicatt /inset"; 
    1177 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1183mpiac->RegisterCommand(kw, usage, this, grp);
    11781184
    11791185kw = "drpanel";
     
    11811187usage += " Usage: drpanel xmin xmax ymin ymax [GrAtt] [Name]";
    11821188usage += "\n  Related commands: addtext addline addrect addcirc ..."; 
    1183 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1189mpiac->RegisterCommand(kw, usage, this, grp);
    11841190
    11851191kw = "addtext";
     
    13481354usage += "\n  Usage: settitle TopTitle [BottomTitle] [fontAtt]";
    13491355usage += "\n  Related commands: addtext graphicatt"; 
    1350 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1356mpiac->RegisterCommand(kw, usage, this, grp);
    13511357
    13521358kw = "addtitle";
    13531359usage = "Set the title string (top title / bottom title) \n";
    13541360usage += "   alias for settitle ";
    1355 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1361mpiac->RegisterCommand(kw, usage, this, grp);
    13561362
    13571363kw = "setaxelabels";
     
    13591365usage += "\n  Usage: setaxelabels xLabel yLabel [ColorFntAtt]";
    13601366usage += "\n  Related commands: settitle addtext graphicatt"; 
    1361 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1367mpiac->RegisterCommand(kw, usage, this, grp);
    13621368
    13631369kw = "addaxelabels";
    13641370usage = "Set the X and Y axis labels for the current 2D graphic object";
    13651371usage += "   alias for setaxelabels ";
    1366 mpiac->RegisterCommand(kw, usage, this, "Graphics");
     1372mpiac->RegisterCommand(kw, usage, this, grp);
    13671373
    13681374RegisterPIGraphicsHelp(mpiac);
Note: See TracChangeset for help on using the changeset viewer.