• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

pltcl.h

Go to the documentation of this file.
00001 // $Id: pltcl.h 11295 2010-11-01 22:19:45Z airwin $
00002 //
00003 // Maurice LeBrun
00004 // 21-Jun-94
00005 //
00006 // Declarations for PLplot/Tcl utility routines.
00007 // These should not require either Tk or Tcl-DP.
00008 //
00009 
00010 #ifndef __PLTCL_H__
00011 #define __PLTCL_H__
00012 
00013 #include "plplot.h"
00014 #include "pldll.h"
00015 #include <tcl.h>
00016 #include "tclMatrix.h"
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00022 // tclMain.c
00023 // Main program for a Tcl-based shell that reads Tcl commands from stdin.
00024 
00025 PLDLLIMPEXP_TCLTK int
00026 pltclMain( int argc, const char **argv, char *RcFileName,
00027            int ( *AppInit )( Tcl_Interp *interp ) );
00028 
00029 // tclAPI.c
00030 // Front-end to PLplot/Tcl API for use from Tcl commands (e.g. plframe).
00031 
00032 PLDLLIMPEXP_TCLTK int
00033 plTclCmd( char *cmdlist, Tcl_Interp *interp,
00034           int argc, const char **argv );
00035 
00036 // Initialization routine for PLplot-extended tclsh's (like pltcl).
00037 
00038 PLDLLIMPEXP_TCLTK int
00039 Pltcl_Init( Tcl_Interp *interp );
00040 
00041 PLDLLIMPEXP_TCLTK int
00042 PlbasicInit( Tcl_Interp *interp );
00043 
00044 // tkshell.c
00045 // Sets up auto_path variable
00046 
00047 PLDLLIMPEXP_TCLTK int
00048 pls_auto_path( Tcl_Interp *interp );
00049 
00050 // Tcl command -- wait until the specified condition is satisfied.
00051 
00052 PLDLLIMPEXP_TCLTK int
00053 plWait_Until( ClientData, Tcl_Interp *, int, const char ** );
00054 
00055 // Tcl command -- return the IP address for the current host.
00056 
00057 int
00058 plHost_ID( ClientData clientData, Tcl_Interp *interp, int argc, const char **argv );
00059 
00060 #ifdef __cplusplus
00061 }
00062 #endif
00063 
00064 #endif  // __PLTCL_H__

Generated on Wed Oct 12 2011 20:42:23 for PLplot by  doxygen 1.7.1