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

plserver.h

Go to the documentation of this file.
00001 // $Id: plserver.h 11656 2011-03-19 21:56:35Z airwin $
00002 //
00003 // Maurice LeBrun
00004 // 6-May-93
00005 //
00006 // Declarations for plserver and associated files.
00007 //
00008 
00009 #ifndef __PLSERVER_H__
00010 #define __PLSERVER_H__
00011 
00012 #include "plDevs.h"
00013 #include "pltkd.h"
00014 #include "pltcl.h"
00015 #include "plplot_parameters.h"
00016 
00017 // State info for the rendering code
00018 
00019 typedef struct
00020 {
00021     char    *client;                    // Name of client main window
00022     PDFstrm *pdfs;                      // PDF stream descriptor
00023     PLiodev *iodev;                     // I/O info
00024     int     nbytes;                     // data bytes waiting to be read
00025     int     at_bop, at_eop;             // bop/eop condition flags
00026 
00027     short   xmin, xmax, ymin, ymax;     // Data minima and maxima
00028     PLFLT   xold, yold;                 // Endpoints of last line plotted
00029 } PLRDev;
00030 
00031 // External function prototypes.
00032 // Note that tcl command functions are added during Pltk_Init and don't
00033 // need to be called directly by the user
00034 
00035 // plframe.c
00036 // Invoked to process the "plframe" Tcl command.
00037 
00038 int
00039 plFrameCmd( ClientData clientData, Tcl_Interp *interp,
00040             int argc, const char **argv );
00041 int
00042 plPlotterCmd( ClientData clientData, Tcl_Interp *interp,
00043               int argc, const char **argv );
00044 
00045 // plr.c
00046 // Set default state parameters before anyone else has a chance to.
00047 
00048 PLDLLIMPEXP_TCLTK void
00049 plr_start( PLRDev *plr );
00050 
00051 // Read & process commands until "nbyte_max" bytes have been read.
00052 
00053 PLDLLIMPEXP_TCLTK int
00054 plr_process( PLRDev *plr );
00055 
00056 #endif  // __PLSERVER_H__

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