PLplot
5.9.9
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
plserver.h
Go to the documentation of this file.
1
// $Id: plserver.h 12007 2011-10-28 12:02:58Z andrewross $
2
//
3
// Maurice LeBrun
4
// 6-May-93
5
//
6
// Declarations for plserver and associated files.
7
//
8
9
#ifndef __PLSERVER_H__
10
#define __PLSERVER_H__
11
12
#include "
plDevs.h
"
13
#include "
pltkd.h
"
14
#include "
pltcl.h
"
15
16
// State info for the rendering code
17
18
typedef
struct
19
{
20
char
*
client
;
// Name of client main window
21
PDFstrm
*
pdfs
;
// PDF stream descriptor
22
PLiodev
*
iodev
;
// I/O info
23
int
nbytes
;
// data bytes waiting to be read
24
int
at_bop,
at_eop
;
// bop/eop condition flags
25
26
short
xmin
,
xmax
,
ymin
,
ymax
;
// Data minima and maxima
27
PLFLT
xold,
yold
;
// Endpoints of last line plotted
28
}
PLRDev
;
29
30
// External function prototypes.
31
// Note that tcl command functions are added during Pltk_Init and don't
32
// need to be called directly by the user
33
34
// plframe.c
35
// Invoked to process the "plframe" Tcl command.
36
37
int
38
plFrameCmd
( ClientData clientData, Tcl_Interp *
interp
,
39
int
argc
,
const
char
**
argv
);
40
int
41
plPlotterCmd
( ClientData clientData, Tcl_Interp *
interp
,
42
int
argc
,
const
char
**
argv
);
43
44
// plr.c
45
// Set default state parameters before anyone else has a chance to.
46
47
PLDLLIMPEXP_TCLTK
void
48
plr_start
(
PLRDev
*plr );
49
50
// Read & process commands until "nbyte_max" bytes have been read.
51
52
PLDLLIMPEXP_TCLTK
int
53
plr_process
(
PLRDev
*plr );
54
55
#endif // __PLSERVER_H__
PLiodev
Definition:
pdf.h:63
argv
static char ** argv
Definition:
qt.cpp:40
plPlotterCmd
int plPlotterCmd(ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
PLDLLIMPEXP_TCLTK
#define PLDLLIMPEXP_TCLTK
Definition:
pldll.h:114
plr_start
PLDLLIMPEXP_TCLTK void plr_start(PLRDev *plr)
Definition:
plr.c:97
PDFstrm
Definition:
pdf.h:51
pltkd.h
argc
static int argc
Definition:
qt.cpp:39
pltcl.h
plr_process
PLDLLIMPEXP_TCLTK int plr_process(PLRDev *plr)
Definition:
plr.c:117
PLRDev::at_eop
int at_eop
Definition:
plserver.h:24
Plframe.xmin
tuple xmin
Definition:
Plframe.py:907
PLRDev::yold
PLFLT yold
Definition:
plserver.h:27
PLRDev::iodev
PLiodev * iodev
Definition:
plserver.h:22
PLRDev::ymin
short ymin
Definition:
plserver.h:26
plDevs.h
Plframe.xmax
tuple xmax
Definition:
Plframe.py:909
plFrameCmd
int plFrameCmd(ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
PLRDev::nbytes
int nbytes
Definition:
plserver.h:23
PLRDev::client
char * client
Definition:
plserver.h:20
PLRDev
Definition:
plserver.h:18
PLFLT
float PLFLT
Definition:
plplot.h:159
Plframe.ymax
tuple ymax
Definition:
Plframe.py:910
interp
static Tcl_Interp * interp
Definition:
tkMain.c:116
PLRDev::pdfs
PDFstrm * pdfs
Definition:
plserver.h:21
bindings
tk
plserver.h
Generated on Wed Jan 29 2014 10:20:45 for PLplot by
1.8.6