Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CTCLInterpreterStartup Class Reference

#include <CTCLInterpreterStartup.h>

Inheritance diagram for CTCLInterpreterStartup:

CInterpreterStartup CEventLoop List of all members.

Public Member Functions

 CTCLInterpreterStartup ()
virtual ~CTCLInterpreterStartup ()

Static Protected Member Functions

int Tcl_Init (Tcl_Interp *pInterp)

Private Member Functions

virtual int operator() (int argc, char **argv)
 CTCLInterpreterStartup (const CTCLInterpreterStartup &aCTCLInterpreterStartup)
 Copy Constructor Illegal private and unimplemented.
CTCLInterpreterStartupoperator= (const CTCLInterpreterStartup &aCTCLInterpreterStartup)
 Operator= Assignment Operator Illegal private and unimplemented.
int operator== (const CTCLInterpreterStartup &aCTCLInterpreterStartup) const
 Operator== Equality Operator Illegal private and unimplemented.

Detailed Description

Starts up a TCL interpreter. This is suitable for applications which do not require or cannot use a GUI.

Definition at line 309 of file CTCLInterpreterStartup.h.


Constructor & Destructor Documentation

CTCLInterpreterStartup::CTCLInterpreterStartup  ) 
 

Definition at line 311 of file CTCLInterpreterStartup.cpp.

CTCLInterpreterStartup::~CTCLInterpreterStartup  )  [virtual]
 

Definition at line 313 of file CTCLInterpreterStartup.cpp.

CTCLInterpreterStartup::CTCLInterpreterStartup const CTCLInterpreterStartup aCTCLInterpreterStartup  )  [private]
 

Copy Constructor Illegal private and unimplemented.


Member Function Documentation

int CTCLInterpreterStartup::operator() int  argc,
char **  argv
[private, virtual]
 

Operation Type: Override.

Purpose:

Note that the instance of the interpreter is gotten via a call to CEventLoop::getInstance() since this is a singleton class.

Parameters:
argc - Number of "command line" parameters in
argv - "command line" argument strings.

Implements CInterpreterStartup.

Definition at line 340 of file CTCLInterpreterStartup.cpp.

References NULL, CInterpreterStartup::OnInitialize(), and Tcl_Init().

CTCLInterpreterStartup& CTCLInterpreterStartup::operator= const CTCLInterpreterStartup aCTCLInterpreterStartup  )  [private]
 

Operator= Assignment Operator Illegal private and unimplemented.

int CTCLInterpreterStartup::operator== const CTCLInterpreterStartup aCTCLInterpreterStartup  )  const [private]
 

Operator== Equality Operator Illegal private and unimplemented.

int CTCLInterpreterStartup::Tcl_Init Tcl_Interp *  pInterp  )  [static, protected]
 

Operation Type: Initialization.

Purpose:

Called from the Tcl_Main() function. This static member:

  • Obtains the object by calling CEventLoop::getInstance()
  • Initializes the interpreter.
  • Invokes the Object's RegisterExtensions function to load packages, register modules and add application specific commands.
  • Returns to allow Tcl to start it's main loop.

Parameters:
pInterp The interpreter created to run Tcl.

Definition at line 377 of file CTCLInterpreterStartup.cpp.

References CEventLoop::getInstance(), NULL, CInterpreterStartup::RegisterExtensions(), and CInterpreterStartup::setInterpreter().

Referenced by operator()().


The documentation for this class was generated from the following files:
Generated on Thu Jan 6 16:58:44 2005 for Spectrodaq External Event Framework by  doxygen 1.3.9.1