Changeset 3551 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Dec 13, 2008, 11:49:46 PM (17 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r3491 r3551 907 907 void PIABaseExecutor::RegisterCommands() 908 908 { 909 string kw, usage, grp ;909 string kw, usage, grp, gdesc; 910 910 //--------- Commandes du groupe modules externes 911 911 912 grp = "External Modules"; 912 string gdesc = "Dynamic load (shared object modules) management command group";913 gdesc = "Dynmamic shared library load (DLL) and external (add-on) module management"; 913 914 mpiac->AddHelpGroup(grp, gdesc); 915 914 916 kw = "loadmodule"; 915 917 usage = "To load and initialize modules \n Usage: loadmodule fnameso modulename"; … … 1190 1192 usage += "\n projh1d projh2d projprof fillvec fillmtx "; 1191 1193 usage += "\n fillnt fillgd1 fillgd2 ntloop exptovec ... "; 1194 mpiac->RegisterHelp(kw, usage, grp); 1195 1192 1196 grp = "Expr. Plotting"; 1193 mpiac->RegisterHelp(kw, usage, grp); 1197 gdesc = "Compute and plot various (c-syntax) expressions of objects \n"; 1198 gdesc += "Objects are seen as list of structures (n-tuples)\n"; 1199 gdesc += "See ObjectExpressions help item for a list of structure\n"; 1200 gdesc += "fields for the different classes managed by piapp"; 1201 mpiac->AddHelpGroup(grp, gdesc); 1202 1194 1203 kw = "plot2d"; 1195 1204 usage = "Plots (2D) Y=g(Object) vs. X=f(Object) --- Object Variable names (double) :"; -
trunk/SophyaPI/PIext/cxxexecutor.cc
r3448 r3551 36 36 // On enregistre les nouvelles commandes 37 37 string hgrp = "CxxExecutorCmd"; 38 string gdesc = "Commands for c++ codelt on the fly compilation and execution"; 39 mpiac->AddHelpGroup(hgrp, gdesc); 40 38 41 string usage,kw; 39 42 -
trunk/SophyaPI/PIext/graphexecut.cc
r3550 r3551 505 505 mpiac->RegisterCommand(kw, usage, this, grp); 506 506 507 grp = "Graphic-Elts"; 508 gdesc = "Simple graphic objects (lines, circles, text...) creation and display"; 509 mpiac->AddHelpGroup(grp, gdesc); 510 507 511 kw = "addtext"; 508 512 usage = "Adds a text string to the current graphic object"; … … 519 523 usage += "\n Related commands: addctext addline addarrow addrect addfrect"; 520 524 usage += "\n addcirc addfcirc addarc addfrac addpoly addfpoly settitle graphicatt"; 521 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");525 mpiac->RegisterCommand(kw, usage, this, grp); 522 526 523 527 kw = "addctext"; … … 528 532 usage += "\n Related commands: addtext addline addrect ..."; 529 533 usage += "\n (See command addtext and graphicatt for more details)"; 530 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");534 mpiac->RegisterCommand(kw, usage, this, grp); 531 535 532 536 kw = "addline"; … … 539 543 usage += "\n Related commands: addarrow addtext addrect addfrect "; 540 544 usage += "\n addmarker addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 541 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");545 mpiac->RegisterCommand(kw, usage, this, grp); 542 546 543 547 kw = "addarrow"; … … 550 554 usage += "\n Related commands: addline addtext addrect addfrect "; 551 555 usage += "\n addmarker addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 552 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");556 mpiac->RegisterCommand(kw, usage, this, grp); 553 557 kw = "addarrow_nc"; 554 558 … … 562 566 usage += "\n Related commands: addtext addline addarrow addfrect"; 563 567 usage += "\n addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 564 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");568 mpiac->RegisterCommand(kw, usage, this, grp); 565 569 566 570 kw = "addfrect"; … … 573 577 usage += "\n Related commands: addtext addline addarrow addrect"; 574 578 usage += "\n addcirc addfcirc addpoly addfpoly graphicatt"; 575 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");579 mpiac->RegisterCommand(kw, usage, this, grp); 576 580 577 581 kw = "addmarker"; … … 584 588 usage += "\n Related commands: addtext addline addarrow addfrect addfrect"; 585 589 usage += "\n addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 586 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");590 mpiac->RegisterCommand(kw, usage, this, grp); 587 591 588 592 kw = "addcirc"; … … 595 599 usage += "\n Related commands: addtext addline addarrow addfrect addfrect"; 596 600 usage += "\n addfcirc addarc addfarc addpoly addfpoly graphicatt"; 597 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");601 mpiac->RegisterCommand(kw, usage, this, grp); 598 602 599 603 kw = "addfcirc"; … … 606 610 usage += "\n Related commands: addtext addline addarrow addfrect addfrect"; 607 611 usage += "\n addcirc addarc addfarc addpoly addfpoly graphicatt"; 608 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");612 mpiac->RegisterCommand(kw, usage, this, grp); 609 613 610 614 kw = "addoval"; … … 617 621 usage += "\n Related commands: addfoval addline addarrow addfrect addcirc addfcirc"; 618 622 usage += "\n addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 619 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");623 mpiac->RegisterCommand(kw, usage, this, grp); 620 624 621 625 kw = "addfoval"; … … 628 632 usage += "\n Related commands: addoval addline addarrow addfrect addcirc addfcirc"; 629 633 usage += "\n addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 630 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");634 mpiac->RegisterCommand(kw, usage, this, grp); 631 635 632 636 kw = "addarca"; … … 637 641 usage += "\n if fgnc==true : Normalized 0..1 coordinates specification (def=false)"; 638 642 usage += "\n Related commands: addtext addline addfarca addarc ..."; 639 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");643 mpiac->RegisterCommand(kw, usage, this, grp); 640 644 641 645 kw = "addfarca"; … … 646 650 usage += "\n if fgnc==true : Normalized 0..1 coordinates specification (def=false)"; 647 651 usage += "\n Related commands: addtext addline addarca addarc ..."; 648 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");652 mpiac->RegisterCommand(kw, usage, this, grp); 649 653 650 654 kw = "addarc"; … … 657 661 usage += "\n Related commands: addtext addline addarrow addfrect addfrect"; 658 662 usage += "\n addcirc addfcirc addfarc addarca addpoly addfpoly graphicatt"; 659 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");663 mpiac->RegisterCommand(kw, usage, this, grp); 660 664 661 665 kw = "addfarc"; … … 668 672 usage += "\n Related commands: addtext addline addarrow addfrect addfrect"; 669 673 usage += "\n addcirc addfcirc addfarc addpoly addfpoly graphicatt"; 670 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");674 mpiac->RegisterCommand(kw, usage, this, grp); 671 675 672 676 kw = "addpoly"; … … 677 681 usage += "\n Related commands: addtext addline addarrow addfrect addfrect"; 678 682 usage += "\n addcirc addfcirc addfarc graphicatt"; 679 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");683 mpiac->RegisterCommand(kw, usage, this, grp); 680 684 681 685 kw = "addfpoly"; … … 686 690 usage += "\n Related commands: addtext addline addarrow addfrect addfrect"; 687 691 usage += "\n addcirc addfcirc addfarc graphicatt"; 688 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");692 mpiac->RegisterCommand(kw, usage, this, grp); 689 693 690 694 kw = "settitle"; … … 711 715 712 716 grp = "Obj. Display"; 717 gdesc = "Most useful commands to view and display objects "; 718 mpiac->AddHelpGroup(grp, gdesc); 719 713 720 kw = "disp"; 714 721 usage = "Displays an object \n Usage: disp nameobj [graphic_attributes]"; … … 781 788 mpiac->RegisterCommand(kw, usage, this, grp); 782 789 790 // Importation/affichage fichier format PI-RGB 783 791 kw = "pirgbdisp"; 784 792 usage = "Read and display RGB-image object (PIPixRGBArray) from file "; … … 787 795 usage += "\n Related commands: win2rgb wdg2rgb "; 788 796 mpiac->RegisterCommand(kw, usage, this, grp); 797 798 // Export to PI-RGB file 799 grp = "GraphicExport"; 800 gdesc = "Commands to export graphics (widget/windows in postscript or PI-RGB image files"; 801 mpiac->AddHelpGroup(grp, gdesc); 802 789 803 kw = "win2rgb"; 790 804 usage = " Export the current window to a PI-RGB file (.rgb)"; … … 799 813 800 814 // Ceci est maintenant obsolete, on garde pour info. 815 grp = "Obj. Display"; 801 816 kw = "gfd2d"; 802 817 usage = "Displays Points (X-Y) with error-bars from a GeneralFit Data "; -
trunk/SophyaPI/PIext/pawexecut.cc
r3502 r3551 50 50 string kw, usage; 51 51 string hgrp = "pawCmd"; 52 string gdesc = "CERN PAW like expression plotting commands "; 53 piac->AddHelpGroup(hgrp, gdesc); 52 54 53 55 kw = "reset";
Note:
See TracChangeset
for help on using the changeset viewer.