ADC 400F Handbuch Seite 71

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 74
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 70
Chapter 5. Complete program listings.
// Function:
// void AddCommands(CTCLInterpreter& rInterp)
// Operation Type:
// Override
/*
Purpose:
This function adds commands to extend Tcl/Tk/SpecTcl.
The base class function registers the standard SpecTcl command
packages. Your commands can be registered at this point.
Do not remove the sample code or the SpecTcl commands will
not get registered.
*/
void
CMySpecTclApp::AddCommands(CTCLInterpreter& rInterp)
{ CTclGrammerApp::AddCommands(rInterp);
}
// Function:
// void SetupRunControl()
// Operation Type:
// Override.
/*
Purpose:
Sets up the Run control object. The run control object
is responsible for interacting with the underlying operating system
and programming framework to route data from the data source to
the SpecTcl analyzer. The base class object instantiates a
CTKRunControl object. This object uses fd waiting within the
Tcl/TK event processing loop framework to dispatch buffers for
processing as they become available.
*/
void
CMySpecTclApp::SetupRunControl()
{ CTclGrammerApp::SetupRunControl();
}
// Function:
// void SourceFunctionalScripts(CTCLInterpreter& rInterp)
// Operation Type:
// Override
/*
Purpose:
This function allows the user to source scripts
which have access to the full Tcl/Tk/SpecTcl
command set along with whatever extensions have been
added by the user in AddCommands.
66
Seitenansicht 70
1 2 ... 66 67 68 69 70 71 72 73 74

Kommentare zu diesen Handbüchern

Keine Kommentare