ProcessViewBrowser-ServerProgramming
processviewserver.h
Go to the documentation of this file.
1 /***************************************************************************
2  processviewserver.h - description
3  -------------------
4  begin : Son Nov 12 09:43:38 CET 2000
5  copyright : (C) 2000 by R. Lehrig
6  : Angel Maza
7  : Martin Bangieff
8  email : lehrig@t-online.de
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * *
13  * This library is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
15  * published by the Free Software Foundation *
16  * *
17  ***************************************************************************/
18 
19 /* Definitions (Events, Fonts, Colors ...) */
20 
21 #ifndef PROCESSVIEWSERVER_H
22 #define PROCESSVIEWSERVER_H
23 
24 const char pvserver_version[] = "5.15.2";
25 
26 // define WIN
27 #ifdef _WIN32
28 #define PVWIN32
29 #include <winsock2.h>
30 #include <windows.h>
31 #define RL_RTLD_LAZY 0
32 #endif
33 
34 //*** define platform *************************
35 // define unix if not already defined
36 #ifdef __unix__
37 #ifndef unix
38 #define unix
39 #endif
40 #endif
41 #ifdef unix
42 #define PVUNIX
43 #include <dlfcn.h>
44 #define RL_RTLD_LAZY RTLD_LAZY
45 #endif
46 //*********************************************
47 
48 #include <stdio.h>
49 #include <string.h>
50 /*
51 #ifdef __VMS
52 #include "vmsgl.h"
53 #endif
54 #ifdef _WIN32
55 #include "vmsgl.h"
56 #endif
57 #ifdef unix
58 //#include <GL/gl.h>
59 #include "vmsgl.h"
60 #endif
61 */
62 #include "vmsgl.h"
63 
64 #ifndef USE_INETD
65 #include "wthread.h"
66 #endif
67 
74 #define pv_STDIN 0
75 #define pv_STDOUT 1
76 //#define pv_CACHE /* do file chaching, comment out if not wanted */
77 
78 #define MAX_PRINTF_LENGTH 1024
79 #define MAX_EVENT_LENGTH 1024
80 #define MAX_CLIENTS 100
82 enum MainWindowIds {
84 ID_EDITBAR = -1,
85 ID_TOOLBAR = -2,
88 ID_HELP = -5,
89 ID_COOKIE = -6,
90 ID_TAB = -7,
91 ID_OPTIONS = -8,
93 };
94 
95 #define MAX_DOCK_WIDGETS 32
96 
97 /* these are the possible events */
98 enum PvEvent {
123 };
124 
125 /* these are the supported widget types */
126 enum
127 {
172 };
173 
174 /* these are the linestyles used in line(x,y,n) */
175 enum Linestyle {
180 };
181 
182 /* these are the available fonts */
183 #define HELVETICA "Helvetica"
184 #define TIMES "Times"
185 #define COURIER "Courier"
186 #define OLDENGLISH "OldEnglish"
187 #define SYSTEM "System"
188 #define ANYSTYLE "AnyStyle"
189 
190 /* font weight */
191 enum Weight { Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87 };
192 
193 /* font alignment */
194 enum FontAlignment { /* */
195 ALIGN_LEFT=0, /* example */
196 ALIGN_CENTER, /* example */
197 ALIGN_RIGHT, /* example */
199 }; /* x */
200  /* a */
201  /* m */
202  /* p */
203  /* l */
204  /* e */
205 
206 // alignment used in QLabel, QLineEdit
208  AlignAuto = 0x0000, // text alignment
209  AlignLeft = 0x0001,
210  AlignRight = 0x0002,
211  AlignHCenter = 0x0004,
212  AlignJustify = 0x0008,
214  AlignTop = 0x0010,
215  AlignBottom = 0x0020,
216  AlignVCenter = 0x0040,
219 };
220 
221 enum TextFlags {
222  SingleLine = 0x0080, // misc. flags
223  DontClip = 0x0100,
224  ExpandTabs = 0x0200,
225  ShowPrefix = 0x0400,
226  WordBreak = 0x0800,
227  BreakAnywhere = 0x1000,
228  DontPrint = 0x2000,
229  Underline = 0x01000000,
230  Overline = 0x02000000,
231  StrikeOut = 0x04000000,
232  IncludeTrailingSpaces = 0x08000000,
233  NoAccel = 0x4000
234 };
235 
237  NoMove = 0, // Keep the cursor where it is
238  Start, // Move to the start of the document.
239  StartOfLine, // Move to the start of the current line.
240  StartOfBlock, // Move to the start of the current block.
241  StartOfWord, // Move to the start of the current word.
242  PreviousBlock, // Move to the start of the previous block.
243  PreviousCharacter, // Move to the previous character.
244  PreviousWord, // Move to the beginning of the previous word.
245  Up, // Move up one line.
246  Left, // Move left one character.
247  WordLeft, // Move left one word.
248  End, // Move to the end of the document.
249  EndOfLine, // Move to the end of the current line.
250  EndOfWord, // Move to the end of the current word.
251  EndOfBlock, // Move to the end of the current block.
252  NextBlock, // Move to the beginning of the next block.
253  NextCharacter, // Move to the next character.
254  NextWord, // Move to the next word.
255  Down, // Move down one line.
256  Right, // Move right one character.
258 };
259 
260 /* font italic can be one of this */
262 {
263  NORMAL = 0,
264  ITALIC = 1
265 };
266 
267 /* insertion policies for QComboBox */
269 
270 /* some predefined colors */
271 #define RED 255,0,0
272 #define GREEN 0,255,0
273 #define BLUE 0,0,255
274 #define WHITE 255,255,255
275 #define BLACK 0,0,0
276 #define YELLOW 255,255,0
277 #define LILA 255,0,255
278 #define CYAN 0,255,255
279 #define DARK_GREY 128,128,128
280 #define LIGHT_GREY 180,180,180
281 #define WHEAT 213,213,154
282 #define DARK_RED 128,0,0
283 #define DARK_GREEN 0,128,0
284 #define DARK_LILA 128,0,128
285 #define DARK_CYAN 0,128,128
286 #define DARK_YELLOW 200,200,0
287 #define DARK_BLUE 0,0,128
288 
289 /* definition for LCD numbers */
290 enum Mode { HEX=0, DEC, OCT, BINx };
291 enum Mode2 { Hex=0, Dec, Oct, Bin };
293 
294 /* definitions for QSlider */
296 {
299  //jose HORIZONTAL = 1,
300  //jose VERTICAL = 2
301 };
302 
304 {
307 };
308 
309 /* definitions for MouseShape */
311  ArrowCursor = 0, // The standard arrow cursor.
312  UpArrowCursor = 1, // An arrow pointing upwards toward the top of the screen.
313  CrossCursor = 2, // A crosshair cursor,
314  //typically used to help the user accurately select a point on the screen.
315  WaitCursor = 3, // An hourglass or watch cursor,
316  // usually shown during operations that prevent the user
317  // from interacting with the application.
318  IBeamCursor = 4, // A caret or ibeam cursor, indicating that a widget can accept and display text input.
319  SizeVerCursor = 5, // A cursor used for elements that are used to vertically resize top-level windows.
320  SizeHorCursor = 6, // A cursor used for elements that are used to horizontally resize top-level windows.
321  SizeFDiagCursor = 8, // A cursor used for elements that are used to diagonally resize top-level
322  // windows at their top-left and bottom-right corners.
323  SizeBDiagCursor = 7, // A cursor used for elements that are used to diagonally resize top-level
324  // windows at their top-right and bottom-left corners.
325  SizeAllCursor = 9, // A cursor used for elements that are used to resize top-level windows in any direction.
326  BlankCursor = 10, // A blank/invisible cursor, typically used when the cursor shape needs to be hidden.
327  SplitVCursor = 11, // A cursor used for vertical splitters, indicating that a handle can be
328  // dragged horizontally to adjust the use of available space.
329  SplitHCursor = 12, // A cursor used for horizontal splitters, indicating that a handle can be
330  // dragged vertically to adjust the use of available space.
331  PointingHandCursor = 13, // A pointing hand cursor that is typically used for clickable elements
332  // such as hyperlinks.
333  ForbiddenCursor = 14, // A slashed circle cursor, typically used during drag and drop operations to
334  // indicate that dragged content cannot be dropped on particular widgets
335  // or inside certain regions.
336  OpenHandCursor = 17, // A cursor representing an open hand, typically used to indicate that the area
337  // under the cursor is the visible part of a canvas that the user
338  // can click and drag in order to scroll around.
339  ClosedHandCursor = 18, // A cursor representing an open hand, typically used to indicate that a
340  // dragging operation is in progress that involves scrolling.
341  WhatsThisCursor = 15, // An arrow with a question mark, typically used
343 };
344 
345 /* definitions for QFrame */
346 enum Shape {
347 NoFrame = 0, /* no frame */
348 Box = 0x0001, /* rectangular box */
349 Panel = 0x0002, /* rectangular panel */
350 WinPanel = 0x0003, /* rectangular panel (Windows) */
351 HLine = 0x0004, /* horizontal line */
352 VLine = 0x0005, /* vertical line */
353 StyledPanel = 0x0006, /* rectangular panel depending on the GUI style */
354 PopupPanel = 0x0007, /* rectangular panel depending on the GUI style */
355 MenuBarPanel = 0x0008,
356 ToolBarPanel = 0x0009,
357 LineEditPanel = 0x000a,
358 TabWidgetPanel = 0x000b,
359 GroupBoxPanel = 0x000c,
360 MShape = 0x000f /* mask for the shape */
361 };
362 
363 enum Shadow{
364 Plain = 0x0010, /* plain line */
365 Raised = 0x0020, /* raised shadow effect */
366 Sunken = 0x0030, /* sunken shadow effect */
367 MShadow = 0x00f0 }; /* mask for the shadow */
368 
373 
378 
380 MessageBoxOk = 0x00000400,
381 MessageBoxOpen = 0x00002000,
382 MessageBoxSave = 0x00000800,
383 MessageBoxCancel = 0x00400000,
384 MessageBoxClose = 0x00200000,
385 MessageBoxDiscard = 0x00800000,
386 MessageBoxApply = 0x02000000,
387 MessageBoxReset = 0x04000000,
389 MessageBoxHelp = 0x01000000,
390 MessageBoxSaveAll = 0x00001000,
391 MessageBoxYes = 0x00004000,
392 MessageBoxYesToAll = 0x00008000,
393 MessageBoxNo = 0x00010000,
394 MessageBoxNoToAll = 0x00020000,
395 MessageBoxAbort = 0x00040000,
396 MessageBoxRetry = 0x00080000,
397 MessageBoxIgnore = 0x00100000,
399 };
400 
402 Home = 0,
406 
408 Top = 0,
410 
416 };
417 
418 enum KeyCodes{
419 Key_Escape = 0x1000000,
420 Key_Pause = 0x1000008,
421 Key_Print = 0x1000009,
422 Key_SysReq = 0x100000a,
423 Key_PageUp = 0x1000016,
424 Key_PageDown = 0x1000017,
425 Key_F1 = 0x1000030,
426 Key_F2 = 0x1000031,
427 Key_F3 = 0x1000032,
428 Key_F4 = 0x1000033,
429 Key_F5 = 0x1000034,
430 Key_F6 = 0x1000035,
431 Key_F7 = 0x1000036,
432 Key_F8 = 0x1000037,
433 Key_F9 = 0x1000038,
434 Key_F10 = 0x1000039,
435 Key_F11 = 0x100003a,
436 Key_F12 = 0x100003b
437 };
438 
441 enum QwtAutoscale { pvNone = 0, IncludeRef = 1, Symmetric = 2, Floating = 4, Logarithmic = 8, Inverted = 16 };
442 //rlmurx-was-here enum ScalePosition { ScaleLeft, ScaleRight, ScaleTop, ScaleBottom };
455 
457 
458 enum Order { DMY, MDY, YMD, YDM };
459 
461 
462 typedef struct
463 {
464  int event;
465  int i;
466  char text[MAX_EVENT_LENGTH];
467 }
469 
470 /* thread parameters */
471 typedef struct _PARAM_
472 {
473  int s; /* socket */
474  int os; /* original socket */
475  int port; /* our port */
476  int language; /* language or DEFAULT_LANGUAGE */
477  int convert_units; /* 1 if units must be converted */
478  FILE *fp; /* filepointer */
479  int sleep; /* sleep time in milliseconds */
480  int (*cleanup)(void *); /* cleanup for user code */
481  void *app_data; /* application data for cleanup */
482  void *user; /* pointer to user data */
483  char *clipboard; /* pointer to clipboard text | NULL */
484  long clipboard_length; /* sizeof clipboard contents */
485  int modal; /* modal dialog */
486  int (*readData)(void *d); /* modal dialog */
487  int (*showData)(_PARAM_ *p, void *d); /* modal dialog */
488  void *modal_d; /* modal dialog */
489  void *modalUserData; /* modal dialog */
491  float *x; /* array buffer for script language */
492  float *y; /* array buffer for script language */
493  int nxy; /* number of elements in arry */
494  char url[MAX_PRINTF_LENGTH]; /* url the client is using */
495  char initial_mask[MAX_PRINTF_LENGTH]; /* initial mask user wants to see */
496  char file_prefix[32]; /* prefix for temporary files */
497  /* files with this prefix will be */
498  /* deleted on connection lost */
499  int free; /* free structure */
500  char version[32]; /* pvbrowser VERSION of client */
501  char pvserver_version[32]; /* pvserver VERSION */
502  int exit_on_bind_error; /* exit if we can not bind on port */
503  int hello_counter; /* for thread timeout if no @hello */
504  int local_milliseconds; /* time of last call to select() */
505  int force_null_event; /* force null_event for better update */
506  /* if the user has tabs within his */
507  /* client the invisible tab are */
508  /* paused by default */
509  int allow_pause; /* 0 not allowed else allowed */
510  int pause; /* pause=1 if tab invisible else 0 */
511  /* you can test pause in NULL_EVENT */
512  int my_pvlock_count; /* used to avoid deadlock by repeated */
513  /* call of pvlock */
514  int num_additional_widgets; /* additional widgets after */
515  /* ID_END_OF_WIDGETS */
516  int mouse_x, mouse_y; /* last mouse pos when pressed */
517  char *mytext; /* buffer for internal use only */
518  const char *communication_plugin; /* pointer to commandline arg or NULL */
519  int use_communication_plugin; /* can also be set at runtime */
520  char lang_section[32]; /* use pvSelectLanguage() */
521  char *mytext2; /* temp used in language translation */
522  int http; /* 0|1 talk http */
523  FILE *fptmp; /* temporary file pointer */
524  int fhdltmp; /* temporary file handle */
525  int iclientsocket; /* 0 <= iclientsockert < MAX_CLIENTS index into clientsocket[] */
526  int is_binary; /* 0 for text message 1 otherwise */
527  int button; /* last clicked button */
528 }PARAM;
529 
530 #ifndef __VMS
531 typedef int (*plugin_pvAccept)(PARAM *p);
532 typedef int (*plugin_pvtcpsend_binary)(PARAM *p, const char *buf, int len);
533 typedef int (*plugin_pvtcpreceive)(PARAM *p, char *buf, int maxlen);
534 typedef int (*plugin_pvtcpreceive_binary)(PARAM *p, char *buf, int maxlen);
535 typedef int (*plugin_closesocket)(int s, PARAM *p);
536 #endif
537 
538 #define DEFAULT_LANGUAGE 0
539 
540 #ifndef pvtr
541 #define pvtr(txt) txt
542 #endif
543 
545 {
546  MM2INCH = 1,
588 };
589 
590 static const char null_string[] = "";
591 
593 {
605 };
606 
607 typedef struct
608 {
609  int i[10];
610  int i0,i1,i2,i3,i4,i5,i6,i7,i8,i9;
611 }IntegerArray;
612 
613 typedef struct
614 {
615  float f[10];
616  int f0,f1,f2,f3,f4,f5,f6,f7,f8,f9;
617 }FloatArray;
618 
619 typedef struct
620 {
622  int second;
623  int minute;
624  int hour;
625  int day;
626  int month;
627  int year;
628 }pvTime;
629 
630 typedef struct
631 {
632  int s; // socket
633  int version; // ip version 4|6
634  unsigned char adr[16]; // remote ip address
636 
637 typedef struct
638 {
641 
642 /* this is for convenience when you want to write files */
643 #define PARAM_P PARAM p;pvInit(0,NULL,&p);
644 
645 /* wait with pvWait(INITIALIZE_GL) before you initialize you OpenGL scene */
646 #define INITIALIZE_GL "initializeGL"
647 #define RESIZE_GL "resizeGL"
648  // end of group
650 
654 int glencode_set_param(PARAM *p);
662 int pvlock(PARAM *p);
670 int pvunlock(PARAM *p);
674 int pvsystem(const char *command);
678 void pvGetLocalTime(pvTime *pvtime);
700 int pvIsAccessAllowed(const char *adr, int trace);
704 int pvSendVersion(PARAM *p);
708 int pvXYAllocate(PARAM *p, int n);
712 int getIntegers(const char *text, IntegerArray *ia);
716 int getFloats(const char *text, FloatArray *fa);
720 const char *getTextFromText(const char *text);
724 int pvSetXY(PARAM *p, int i, float x, float y);
728 int *pvGetSocketPointer(PARAM *p);
733 int pvInitInternal(PARAM *p);
757 int pvInit(int ac, char **av, PARAM *p);
761 int pvAccept(PARAM *p);
765 int pvCreateThread(PARAM *p, int s);
770 int pvGetInitialMask(PARAM *p);
802 int pvMain(PARAM *p);
808 int pvSetCleanup(PARAM *p, int (*cleanup)(void *), void *app_data);
814 char *pvGetEvent(PARAM *p);
854 int pvPollEvent(PARAM *p, char *event);
858 int pvWait(PARAM *p, const char *pattern);
862 int pvGlUpdate(PARAM *p, int id);
866 int pvSleep(int milliseconds);
870 int pvWarning(PARAM *p, const char *text);
874 int pvMainFatal(PARAM *p, const char *text);
878 int pvThreadFatal(PARAM *p, const char *text);
883 int pvScreenHint(PARAM *p, int w, int h);
888 int pvSetMouseShape(PARAM *p, int shape);
893 int pvSetWhatsThis(PARAM *p, int id, const char *text);
898 int pvWhatsThisPrintf(PARAM *p, int id, const char *format, ...);
904 int pvClientCommand(PARAM *p, const char *command, const char *filename, int downloadFile=0);
908 int pvWriteTextToFileAtClient(PARAM *p, const char *text, const char *filename);
913 int pvZoomMask(PARAM *p, int percent);
921 int pvSetManualUrl(PARAM *p, const char *url);
968 int pvSelectLanguage(PARAM *p, const char *section);
969 
976 //const char *pvTr(PARAM *p, const char *text); // end of group
978 
995 int pvStartDefinition(PARAM *p, int num_objects);
1022 int pvQWidget(PARAM *p, int id, int parent);
1023 
1027 int pvQLayoutVbox(PARAM *p, int id, int parent);
1028 
1032 int pvQLayoutHbox(PARAM *p, int id, int parent);
1033 
1037 int pvQLayoutGrid(PARAM *p, int id, int parent);
1038 
1073 int pvQLabel(PARAM *p, int id, int parent);
1111 int pvQComboBox(PARAM *p, int id, int parent, int editable, int policy);
1144 int pvQLineEdit(PARAM *p, int id, int parent);
1174 int pvQPushButton(PARAM *p, int id, int parent);
1207 int pvQLCDNumber(PARAM *p, int id, int parent, int numDigits, int segmentStyle, int mode);
1237 int pvQSlider(PARAM *p, int id, int parent, int minValue, int maxValue, int pageStep, int value, int orientation);
1264 int pvQButtonGroup(PARAM *p, int id, int parent, int columns, int orientation, const char *title);
1293 int pvQRadioButton(PARAM *p, int id, int parent);
1322 int pvQCheckBox(PARAM *p, int id, int parent);
1350 int pvQFrame(PARAM *p, int id, int parent, int shape, int shadow, int line_width, int margin);
1383 int pvQDraw(PARAM *p, int id, int parent);
1433 int pvQImage(PARAM *p, int id, int parent, const char *imagename, int *w=NULL, int *h=NULL, int *depth=NULL);
1460 int pvQGL(PARAM *p, int id, int parent);
1489 int pvQTabWidget(PARAM *p, int id, int parent);
1517 int pvQToolBox(PARAM *p, int id, int parent);
1545 int pvQGroupBox(PARAM *p, int id, int parent, int columns, int orientation, const char *title);
1579 int pvQListBox(PARAM *p, int id, int parent);
1632 int pvQTable(PARAM *p, int id, int parent, int rows, int columns);
1661 int pvQSpinBox(PARAM *p, int id, int parent, int min, int max, int step);
1690 int pvQDial(PARAM *p, int id, int parent, int min, int max, int page_step, int value);
1720 int pvQProgressBar(PARAM *p, int id, int parent, int total_steps, int orientation = Horizontal);
1757 int pvQMultiLineEdit(PARAM *p, int id, int parent, int editable, int max_lines);
1793 int pvQTextBrowser(PARAM *p, int id, int parent);
1833 int pvQListView(PARAM *p, int id, int parent);
1862 int pvQIconView(PARAM *p, int id, int parent);
1888 int pvQVtkTclWidget(PARAM *p, int id, int parent);
1896 int pvQwtPlotWidget(PARAM *p, int id, int parent, int nCurves, int nMarker);
1902 int pvQwtScale(PARAM *p, int id, int parent, int pos);
1908 int pvQwtThermo(PARAM *p, int id, int parent);
1914 int pvQwtKnob(PARAM *p, int id, int parent);
1920 int pvQwtCounter(PARAM *p, int id, int parent);
1926 int pvQwtWheel(PARAM *p, int id, int parent);
1932 int pvQwtSlider(PARAM *p, int id, int parent);
1938 int pvQwtDial(PARAM *p, int id, int parent);
1944 int pvQwtCompass(PARAM *p, int id, int parent);
1950 int pvQwtAnalogClock(PARAM *p, int id, int parent);
1980 int pvQDateEdit(PARAM *p, int id, int parent);
2010 int pvQTimeEdit(PARAM *p, int id, int parent);
2043 int pvQDateTimeEdit(PARAM *p, int id, int parent);
2075 int pvQCustomWidget(PARAM *p, int id, int parent, const char *name, const char *arg=NULL);
2079 int pvEndDefinition(PARAM *p);
2083 int pvAddWidgetOrLayout(PARAM *p, int id, int item, int row, int col);
2087 int pvAddStretch(PARAM *p, int id, int param);
2091 int pvTabOrder(PARAM *p, int id1, int id2);
2095 int pvDeleteWidget(PARAM *p, int id); // end of group
2097 
2098 
2105 int pvSetCaption(PARAM *p, const char *text);
2109 int pvPlaySound(PARAM *p, const char *filename);
2113 int pvBeep(PARAM *p);
2118 int pvStatusMessage(PARAM *p, int r, int g, int b, const char *format, ...);
2122 int pvToolTip(PARAM *p, int id, const char *text);
2128 int pvSetTextEx(PARAM *p, int id, const char *text, int option);
2133 int pvSetText(PARAM *p, int id, const char *text);
2139 int pvPrintf(PARAM *p, int id, const char *format, ...);
2145 int pvSetStyleSheet(PARAM *p, int id, const char *text);
2152 int pvPrintfStyleSheet(PARAM *p, int id, const char *format, ...);
2157 int pvSetMinValue(PARAM *p, int id, int value);
2162 int pvSetMaxValue(PARAM *p, int id, int value);
2168 int pvSetValue(PARAM *p, int id, int value);
2173 int pvClear(PARAM *p, int id);
2180 int pvChangeItem(PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1);
2188 int pvInsertItem(PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1);
2193 int pvRemoveItem(PARAM *p, int id, int index);
2198 int pvRemoveItemByName(PARAM *p, int id, const char *name);
2203 int pvAddColumn(PARAM *p, int id, const char *text, int size);
2208 int pvRemoveAllColumns(PARAM *p, int id);
2220 int pvSetTableText(PARAM *p, int id, int x, int y, const char *text);
2225 int pvSetTableButton(PARAM *p, int id, int x, int y, const char *text);
2230 int pvSetTableCheckBox(PARAM *p, int id, int x, int y, int state, const char *text);
2243 int pvSetTableComboBox(PARAM *p, int id, int x, int y, int editable, const char *textlist);
2248 int pvSetTableLabel(PARAM *p, int id, int x, int y, const char *text);
2261 int pvTablePrintf(PARAM *p, int id, int x, int y, const char *format, ...);
2273 int pvSetTableTextAlignment(PARAM *p, int id, int x, int y, int alignment);
2281 int pvMysqldump(PARAM *p, int id, const char *command);
2287 int pvCSVdump(PARAM *p, int id, const char *filename, char delimitor='\t');
2291 int pvCSVcreate(PARAM *p, const char *command, const char *filename);
2295 int pvCSV(PARAM *p, int id, const char *command, char delimitor='\t');
2308 int pvSetListViewText(PARAM *p, int id, const char *path, int column, const char *text);
2322 int pvListViewPrintf(PARAM *p, int id, const char *path, int column, const char *format, ...);
2329 int pvListViewSetSelected(PARAM *p, int id, const char *path, int column, int selected);
2335 int pvListBoxSetSelected(PARAM *p, int id, int index, int selected);
2336 #define pvSetColumnWith pvSetColumnWidth
2337 
2346 int pvSetColumnWidth(PARAM *p, int id, int column, int width);
2355 int pvSetRowHeight(PARAM *p, int id, int row, int height);
2361 int pvSetWordWrap(PARAM *p, int id, int wrap);
2371 int pvSetPixmap(PARAM *p, int id, const char *bmp_file, int download_icon=1);
2380 int pvSetTablePixmap(PARAM *p, int id, int x, int y, const char *bmp_file, int download_icon=1);
2388 int pvSetSource(PARAM *p, int id, const char *html_file);
2395 int pvSetImage(PARAM *p, int id, const char *filename, int rotate=0);
2405 int pvSetBufferedJpgImage(PARAM *p, int id, const unsigned char *buffer, int buffersize, int rotate=0);
2411 int pvSetBufferTransparency(PARAM *p, int id, int a);
2416 int pvSetBackgroundColor(PARAM *p, int id, int r, int g, int b);
2422 int pvSetPaletteBackgroundColor(PARAM *p, int id, int r, int g, int b);
2428 int pvSetPaletteForegroundColor(PARAM *p, int id, int r, int g, int b);
2434 int pvSetFontColor(PARAM *p, int id, int r, int g, int b);
2444 int pvSetFont(PARAM *p, int id, const char *family, int pointsize, int bold, int italic , int underline, int strikeout);
2448 int pvDisplayNum(PARAM *p, int id, int num);
2452 int pvDisplayFloat(PARAM *p, int id, float val);
2456 int pvDisplayStr(PARAM *p, int id, const char *str);
2463 int pvAddTab(PARAM *p, int id, int id_child, const char *str);
2471 int pvSetListViewPixmap(PARAM *p, int id, const char *path, const char *bmp_file, int column, int download_icon=1);
2478 int pvRemoveListViewItem(PARAM *p, int id, const char *path);
2482 int pvRemoveIconViewItem(PARAM *p, int id, const char *text);
2486 int pvSetIconViewItem(PARAM *p, int id, const char *bmp_file, const char *text, int download_icon=1);
2491 int pvSetDateOrder(PARAM *p, int id, int order);
2496 int pvSetDate(PARAM *p, int id, int year, int month, int day);
2501 int pvSetMinDate(PARAM *p, int id, int year, int month, int day);
2506 int pvSetMaxDate(PARAM *p, int id, int year, int month, int day);
2511 int pvSetTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0);
2516 int pvSetMinTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0);
2521 int pvSetMaxTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0);
2526 int pvEnsureCellVisible(PARAM *p, int id, int row, int col=1);
2532 int pvMoveCursor(PARAM *p, int id, int cursor);
2537 int pvScrollToAnchor(PARAM *p, int id, const char *anchor);
2542 int pvSetZoomFactor(PARAM *p, int id, float factor);
2547 int pvPrintHtmlOnPrinter(PARAM *p, int id);
2553 int pvSetWidgetProperty(PARAM *p, int id, const char *name, const char *value);
2558 int pvPassThroughOneJpegFrame(PARAM *p, int id, int source_fhdl, int inputIsSocket=1, int rotate=0);
2563 int pvSendJpegFrame(PARAM *p, int id, unsigned char *frame, int rotate=0);
2568 int pvSendRGBA(PARAM *p, int id, const unsigned char *image, int width, int height, int rotate=0);
2574 int pvSaveDrawBuffer(PARAM *p, int id, const char *filename); // end of group
2576 
2585 int pvWaitpid(PARAM *p);
2591 int pvText(PARAM *p, int id);
2596 int pvRequestJpeg(PARAM *p, int id);
2602 int pvRequestGeometry(PARAM *p, int id);
2608 int pvRequestParentWidgetId(PARAM *p, int id);
2613 int pvSelection(PARAM *p, int id);
2620 int pvRequestSvgBoundsOnElement(PARAM *p, int id, const char *objectname);
2627 int pvRequestSvgMatrixForElement(PARAM *p, int id, const char *objectname); // end of group
2629 
2644 int pvMoveContent(PARAM *p, int id, int pos);
2648 int pvSetGeometry(PARAM *p, int id, int x, int y, int w, int h);
2652 int pvSetMinSize(PARAM *p, int id, int w, int h);
2656 int pvSetMaxSize(PARAM *p, int id, int w, int h);
2661 int pvSetAlignment(PARAM *p, int id, int alignment);
2666 int pvSetChecked(PARAM *p, int id, int state);
2670 int pvMove(PARAM *p, int id, int x, int y);
2675 int pvResize(PARAM *p, int id, int w, int h);
2680 int pvHide(PARAM *p, int id);
2685 int pvShow(PARAM *p, int id);
2690 int pvSetParent(PARAM *p, int id, int id_parent);
2695 int pvSetMultiSelection(PARAM *p, int id, int mode);
2700 int pvSetEchoMode(PARAM *p, int id, int mode);
2705 int pvSetEditable(PARAM *p, int id, int editable);
2710 int pvSetEnabled(PARAM *p, int id, int enabled);
2715 int pvSetFocus(PARAM *p, int id);
2720 int pvTableSetEnabled(PARAM *p, int id, int x, int y, int enabled);
2728 int pvTableSetHeaderResizeEnabled(PARAM *p, int id, int horizontal ,int enabled, int section);
2736 int pvSetSorting(PARAM *p, int id, int column, int mode);
2741 int pvSetTabPosition(PARAM *p, int id, int pos);
2746 int pvEnableTabBar(PARAM *p, int id, int state);
2751 int pvSetNumRows(PARAM *p, int id, int num);
2756 int pvSetNumCols(PARAM *p, int id, int num);
2761 int pvInsertRows(PARAM *p, int id, int row, int count=1);
2766 int pvInsertColumns(PARAM *p, int id, int col, int count=1);
2771 int pvRemoveRow(PARAM *p, int id, int row);
2776 int pvRemoveColumn(PARAM *p, int id, int col);
2781 int pvSetCurrentItem(PARAM *p, int id, int index);
2787 int pvSetTimeEditDisplay(PARAM *p, int id, int hour, int minute, int second, int ampm);
2795 int pvListViewEnsureVisible(PARAM *p, int id, const char *path);
2804 int pvListViewSetOpen(PARAM *p, int id, const char *path, int open);
2808 int pvListViewSetHidden(PARAM *p, int id, int column, int hidden);
2815 int pvListViewSetStandardPopupMenu(PARAM *p, int id, int standard_menu);
2824 int pvSetStyle(PARAM *p, int id, int shape, int shadow, int line_width, int margin);
2831 int pvSetMovie(PARAM *p, int id, int background, const char *filename);
2840 int pvMovieControl(PARAM *p, int id, int step);
2846 int pvMovieSpeed(PARAM *p, int id, int speed);
2852 int pvAddTabIcon(PARAM *p, int id, int position, const char *bmp_file, int download_icon=1);
2858 int pvSetCellWidget(PARAM *p, int id, int parent, int row, int column);
2864 int pvSetContentsMargins(PARAM *p, int id, int xleft, int ytop, int xright, int ybottom);
2870 int pvSetSpacing(PARAM *p, int id, int param); // end of group
2872 
2873 
2880 int pvVtkTcl(PARAM *p, int id, const char *tcl_command);
2884 int pvVtkTclPrintf(PARAM *p, int id, const char *format, ...);
2888 int pvVtkTclScript(PARAM *p, int id, const char *filename); // end of group
2890 
2900 int pvHyperlink(PARAM *p, const char *link); // end of group
2902 
2909 int pvSendUserEvent(PARAM *p, int id, const char *text);
2916 int pvWriteFile(PARAM *p, const char *filename, int width, int height);
2920 int pvCloseFile(PARAM *p);
2926 char *pvGetTextParam(PARAM *p, const char *command);
2931 int pvGetText(const char *command, char *text);
2935 PARSE_EVENT_STRUCT *pvParseEventStruct(PARAM *p, const char *event);
2940 int pvParseEvent(const char *event, int *id, char *text);
2945 int pvCopyToClipboard(PARAM *p, int id);
2950 int pvPrint(PARAM *p, int id);
2955 int pvSave(PARAM *p, int id);
2960 int pvSave(PARAM *p, int id, const char *filename);
2965 int pvSaveAsBmp(PARAM *p, int id, const char *filename);
2970 int pvHtmlOrSvgDump(PARAM *p, int id, const char *filename);
2975 int pvRenderTreeDump(PARAM *p, int id, const char *filename);
2979 int pvSendFile(PARAM *p, const char *filename);
2984 int pvDownloadFileAs(PARAM *p, const char *filename, const char *newname);
2988 int pvDownloadFile(PARAM *p, const char *filename);
2989 
2993 int pvSetMaxClientsPerIpAdr(int max_clients);
2997 int pvMaxClientsPerIpAdr();
3002 int pvSetMaxClients(int max_clients);
3007 int pvMaxClients();
3013 
3017 int pvClearMessageQueue(PARAM *p);
3018 int pvtcpsend(PARAM *p, const char *buf, int len);
3019 int pvtcpsendstring(PARAM *p, const char *buf);
3020 int pvtcpsend_binary(PARAM *p, const char *buf, int len);
3021 int pvtcpreceive(PARAM *p, char *buf, int maxlen);
3022 int pvtcpreceive_binary(PARAM *p, char *buf, int maxlen);
3023  // end of group
3025 
3073 int pvSendHttpChunks(PARAM *p, const char *filename);
3090 int pvSendHttpContentLength(PARAM *p, const char *filename);
3095 int pvSendHttpResponseFile(PARAM *p, const char *filename, const char *content_type="text/html");
3099 int pvSendHttpResponse(PARAM *p, const char *html); // end of group
3101 
3112 int pvGlBegin(PARAM *p, int id);
3113 // /*! <pre>
3114 // This class is for reading a font for use within OpenGL
3115 // </pre> */
3116 class glFont
3117 {
3118 public:
3119  glFont();
3120  ~glFont();
3124  int read(const char *filename);
3128  int lineHeight();
3132  int charWidth(unsigned char c);
3136  int stringWidth(const char *str);
3141  void drawString(float x, float y, const char *str);
3145  void setZoom(float factor);
3149  void setRotation(int angle);
3153  void setFontSize(int pitch, float factor);
3154 
3155 private:
3156  // Information about a glyph. Tex_y2 can be calculated from tex_y1
3157  // and _tex_line_height (see below). Advance is the width of the
3158  // glyph in screen space.
3159  struct Glyph
3160  {
3162  int advance;
3163  };
3164  // An array to store the glyphs.
3165  //Glyph* _glyphs;
3167  // A table to quickly get the glyph belonging to a character.
3168  Glyph* _table[256];
3169  // The line height, in screen space and in texture space, and the
3170  // OpenGL id of the font texture.
3173  double zoom,zoom0;
3175 };
3183 int pvSendOpenGL(PARAM *p, const char *filename, GLuint *listarray, int max_array, glFont *proportional=NULL, glFont *fixed=NULL);
3187 int pvGlEnd(PARAM *p); // end of group
3189 
3199 int pvFileDialog(PARAM *p, int id_return, int type);
3212 int pvPopupMenu(PARAM *p, int id_return, const char *text);
3221 int pvMessageBox(PARAM *p, int id_return, int type, const char *text, int button0, int button1, int button2);
3227 int pvInputDialog(PARAM *p, int id_return, const char *text, const char *default_text);
3231 #define readDataCast int (*)(void *)
3232 #define showDataCast int (*)(PARAM *, void *)
3233 int pvRunModalDialog(PARAM *p, int width, int height, int (*showMask)(PARAM *p), void *userData,
3234  int (*readData)(void *d),
3235  int (*showData)(PARAM *p, void *d),
3236  void *d);
3243 int pvRunModalDialogScript(PARAM *p, int width, int height);
3251 int pvUpdateBaseWindow(PARAM *p);
3259 int pvUpdateBaseWindowOnOff(PARAM *p, int onoff);
3281 int pvAddDockWidget(PARAM *p,const char *title, int dock_id, int root_id, int allow_close=0, int floating=1, int allow_left=1, int allow_right=0, int allow_top=0, int allow_bottom=0);
3288 int pvDeleteDockWidget(PARAM *p, int dock_id, int delete_widget=0); // end of group
3290 
3299 int qpwSetCurveData(PARAM *p, int id, int c, int count, double *x, double *y);
3305 int qpwSetBufferedCurveData(PARAM *p, int id, int c);
3309 int qpwReplot(PARAM *p, int id);
3313 int qpwSetTitle(PARAM *p, int id, const char *text);
3317 int qpwSetCanvasBackground(PARAM *p, int id, int r, int g, int b);
3321 int qpwEnableOutline(PARAM *p, int id, int val);
3325 int qpwSetOutlinePen(PARAM *p, int id, int r, int g, int b);
3329 int qpwSetAutoLegend(PARAM *p, int id, int val);
3333 int qpwEnableLegend(PARAM *p, int id, int val);
3341 int qpwSetLegendPos(PARAM *p, int id, int pos);
3345 int qpwSetLegendFrameStyle(PARAM *p, int id, int style);
3349 int qpwEnableGridXMin(PARAM *p, int id);
3353 int qpwSetGridMajPen(PARAM *p, int id, int r, int g, int b, int style);
3357 int qpwSetGridMinPen(PARAM *p, int id, int r, int g, int b, int style);
3361 int qpwEnableAxis(PARAM *p, int id, int pos);
3365 int qpwSetAxisTitle(PARAM *p, int id, int pos, const char *text);
3370 int qpwSetAxisOptions(PARAM *p, int id, int pos, int val);
3374 int qpwSetAxisMaxMajor(PARAM *p, int id, int pos, int val);
3378 int qpwSetAxisMaxMinor(PARAM *p, int id, int pos, int val);
3382 int qpwInsertCurve(PARAM *p, int id, int index, const char *text);
3386 int qpwRemoveCurve(PARAM *p, int id, int index);
3391 int qpwSetCurvePen(PARAM *p, int id, int index, int r, int g, int b, int width=1, int style=SolidLine);
3396 int qpwSetCurveSymbol(PARAM *p, int id, int index, int symbol, int r1, int g1, int b1,
3397  int r2, int g2, int b2,
3398  int w, int h);
3403 int qpwSetCurveYAxis(PARAM *p, int id, int index, int pos);
3407 int qpwInsertMarker(PARAM *p, int id, int index);
3412 int qpwSetMarkerLineStyle(PARAM *p, int id, int index, int style);
3417 int qpwSetMarkerPos(PARAM *p, int id, int index, float x, float y);
3421 int qpwSetMarkerLabelAlign(PARAM *p, int id, int index, int align);
3426 int qpwSetMarkerPen(PARAM *p, int id, int index, int r, int g, int b, int style);
3431 int qpwSetMarkerLabel(PARAM *p, int id, int number, const char * text);
3436 int qpwSetMarkerFont(PARAM *p, int id, int index, const char *family, int size, int style);
3441 int qpwSetMarkerSymbol(PARAM *p, int id, int index, int symbol, int r1, int g1, int b1,
3442  int r2, int g2, int b2,
3443  int w, int h);
3448 int qpwInsertLineMarker(PARAM *p, int id, int index, const char *text, int pos);
3453 int qpwSetAxisScaleDraw( PARAM *p, int id, int pos, const char * text );
3457 int qpwSetAxisScale( PARAM *p, int id, int pos, float min, float max, float step); // end of group
3459 
3460 /* These fuctions can only be used on a QDrawWidget */
3461 /********* graphic functions ********************************************************/
3462 
3470 int pvSetZoomX(PARAM *p, int id, float zoom);
3475 int pvSetZoomY(PARAM *p, int id, float zoom);
3479 int gWriteFile(const char *file);
3483 int gCloseFile();
3487 int gBeginDraw(PARAM *p, int id);
3491 int gBox(PARAM *p, int x, int y, int w, int h);
3495 int gRect(PARAM *p, int x, int y, int w, int h);
3499 int gEndDraw(PARAM *p);
3503 int gLineTo(PARAM *p, int x, int y);
3509 int gBufferedLine(PARAM *p);
3514 int gLine(PARAM *p, float *x, float *y, int n);
3518 int gMoveTo(PARAM *p, int x, int y);
3523 int gRightYAxis(PARAM *p, float start, float delta, float end, int draw);
3527 int gSetColor(PARAM *p, int r, int g, int b);
3531 int gSetWidth(PARAM *p, int w);
3535 int gSetStyle(PARAM *p, int style);
3540 int gDrawArc(PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length);
3545 int gDrawPie(PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length);
3550 int gDrawPolygon(PARAM *p, int *x, int *y, int n);
3554 int gSetFont(PARAM *p, const char *family, int size, int weight, int italic);
3558 int gSetLinestyle(PARAM *p, int style);
3563 int gText(PARAM *p, int x, int y, const char *text, int alignment);
3568 int gTextInAxis(PARAM *p, float x, float y, const char *text, int alignment);
3576 int gSetFloatFormat(PARAM *p, const char *text);
3581 int gXAxis(PARAM *p, float start, float delta, float end, int draw);
3586 int gYAxis(PARAM *p, float start, float delta, float end, int draw);
3590 int gXGrid(PARAM *p);
3594 int gYGrid(PARAM *p);
3600 int gBoxWithText(PARAM *p, int x, int y, int w, int h, int fontsize, const char *xlabel, const char *ylabel, const char *rylabel);
3604 int gComment(PARAM *p, const char *comment);
3615 int gPlaySVG(PARAM *p, const char *filename);
3624 int gSocketPlaySVG(PARAM *p, const char *svgstring);
3628 int gTranslate(PARAM *p, float x, float y);
3633 int gRotate(PARAM *p, float angle);
3637 int gScale(PARAM *p, float sx, float sy);
3642 int pvSetSelector(PARAM *p, int id, int state);
3646 int pvPrintSvgOnPrinter(PARAM *p, int id);
3647  // end of group
3649 
3655 int qwtScaleSetTitle(PARAM *p, int id, const char *text);
3658 int qwtScaleSetTitleColor(PARAM *p, int id, int r, int g, int b);
3661 int qwtScaleSetTitleFont(PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout);
3665 int qwtScaleSetTitleAlignment(PARAM *p, int id, int flags);
3668 int qwtScaleSetBorderDist(PARAM *p, int id, int start, int end);
3671 int qwtScaleSetBaselineDist(PARAM *p, int id, int bd);
3674 int qwtScaleSetScaleDiv(PARAM *p, int id, float lBound, float hBound, int maxMaj, int maxMin, int log, float step, int ascend);
3677 int qwtScaleSetLabelFormat(PARAM *p, int id, int f, int prec, int fieldWidth);
3681 int qwtScaleSetLabelAlignment(PARAM *p, int id, int align);
3684 int qwtScaleSetLabelRotation(PARAM *p, int id, float rotation);
3688 int qwtScaleSetPosition(PARAM *p, int id, int position); // end of group
3696 int qwtThermoSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic);
3701 int qwtThermoSetOrientation(PARAM *p, int id, int orientation, int position);
3704 int qwtThermoSetBorderWidth(PARAM *p, int id, int width);
3707 int qwtThermoSetFillColor(PARAM *p, int id, int r, int g, int b);
3710 int qwtThermoSetAlarmColor(PARAM *p, int id, int r, int g, int b);
3713 int qwtThermoSetAlarmLevel(PARAM *p, int id, float level);
3716 int qwtThermoSetAlarmEnabled(PARAM *p, int id, int tf);
3719 int qwtThermoSetPipeWidth(PARAM *p, int id, int width);
3722 int qwtThermoSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f);
3725 int qwtThermoSetMargin(PARAM *p, int id, int margin);
3728 int qwtThermoSetValue(PARAM *p, int id, float value); // end of group
3736 int qwtKnobSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic);
3739 int qwtKnobSetMass(PARAM *p, int id, float mass);
3743 int qwtKnobSetOrientation(PARAM *p, int id, int orientation);
3747 int qwtKnobSetReadOnly(PARAM *p, int id, int rdonly);
3750 int qwtKnobSetKnobWidth(PARAM *p, int id, int width);
3753 int qwtKnobSetTotalAngle(PARAM *p, int id, float angle);
3756 int qwtKnobSetBorderWidth(PARAM *p, int id, int width);
3760 int qwtKnobSetSymbol(PARAM *p, int id, int symbol);
3763 int qwtKnobSetValue(PARAM *p, int id, float value); // end of group
3770 int qwtCounterSetStep(PARAM *p, int id, float step);
3773 int qwtCounterSetMinValue(PARAM *p, int id, float value);
3776 int qwtCounterSetMaxValue(PARAM *p, int id, float value);
3779 int qwtCounterSetStepButton1(PARAM *p, int id, int n);
3782 int qwtCounterSetStepButton2(PARAM *p, int id, int n);
3785 int qwtCounterSetStepButton3(PARAM *p, int id, int n);
3788 int qwtCounterSetNumButtons(PARAM *p, int id, int n);
3792 int qwtCounterSetIncSteps(PARAM *p, int id, int button, int n);
3795 int qwtCounterSetValue(PARAM *p, int id, float value); // end of group
3802 int qwtWheelSetMass(PARAM *p, int id, float mass);
3806 int qwtWheelSetOrientation(PARAM *p, int id, int orientation);
3810 int qwtWheelSetReadOnly(PARAM *p, int id, int rdonly);
3813 int qwtWheelSetTotalAngle(PARAM *p, int id, float angle);
3816 int qwtWheelSetTickCnt(PARAM *p, int id, int cnt);
3819 int qwtWheelSetViewAngle(PARAM *p, int id, float angle);
3822 int qwtWheelSetInternalBorder(PARAM *p, int id, int width);
3825 int qwtWheelSetWheelWidth(PARAM *p, int id, int width);
3828 int qwtWheelSetValue(PARAM *p, int id, float value); // end of group
3836 int qwtSliderSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic);
3839 int qwtSliderSetMass(PARAM *p, int id, float mass);
3843 int qwtSliderSetOrientation(PARAM *p, int id, int orientation);
3847 int qwtSliderSetReadOnly(PARAM *p, int id, int rdonly);
3851 int qwtSliderSetBgStyle(PARAM *p, int id, int style);
3854 int qwtSliderSetScalePos(PARAM *p, int id, int pos);
3857 int qwtSliderSetThumbLength(PARAM *p, int id, int length);
3860 int qwtSliderSetThumbWidth(PARAM *p, int id, int width);
3863 int qwtSliderSetBorderWidth(PARAM *p, int id, int width);
3866 int qwtSliderSetMargins(PARAM *p, int id, int x, int y);
3869 int qwtSliderSetValue(PARAM *p, int id, float value); // end of group
3876 int qwtCompassSetSimpleCompassRose(PARAM *p, int id, int numThorns, int numThornLevels, float width=0.2f);
3879 int qwtCompassSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f);
3882 int qwtCompassSetMass(PARAM *p, int id, float mass);
3886 int qwtCompassSetReadOnly(PARAM *p, int id, int rdonly);
3890 int qwtCompassSetFrameShadow(PARAM *p, int id, int shadow);
3893 int qwtCompassShowBackground(PARAM *p, int id, int show);
3896 int qwtCompassSetLineWidth(PARAM *p, int id, int width);
3900 int qwtCompassSetMode(PARAM *p, int id, int mode);
3903 int qwtCompassSetWrapping(PARAM *p, int id, int wrap);
3906 int qwtCompassSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step);
3909 int qwtCompassSetScaleArc(PARAM *p, int id, float min, float max);
3912 int qwtCompassSetOrigin(PARAM *p, int id, float o);
3916 int qwtCompassSetNeedle(PARAM *p, int id, int which, int r1=0, int g1=0, int b1=0, int r2=255, int g2=255, int b2=255, int r3=128, int g3=128, int b3=128);
3919 int qwtCompassSetValue(PARAM *p, int id, float value); // end of group
3927 int qwtDialSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f);
3931 int qwtDialSetMass(PARAM *p, int id, float mass);
3935 int qwtDialSetReadOnly(PARAM *p, int id, int rdonly);
3939 int qwtDialSetFrameShadow(PARAM *p, int id, int shadow);
3942 int qwtDialShowBackground(PARAM *p, int id, int show);
3945 int qwtDialSetLineWidth(PARAM *p, int id, int width);
3949 int qwtDialSetMode(PARAM *p, int id, int mode);
3952 int qwtDialSetWrapping(PARAM *p, int id, int wrap);
3956 int qwtDialSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step);
3959 int qwtDialSetScaleArc(PARAM *p, int id, float min, float max);
3962 int qwtDialSetOrigin(PARAM *p, int id, float o);
3966 int qwtDialSetNeedle(PARAM *p, int id, int which, int r1=0, int g1=0, int b1=0, int r2=255, int g2=255, int b2=255, int r3=128, int g3=128, int b3=128);
3969 int qwtDialSetValue(PARAM *p, int id, float value); // end of group
3976 int qwtAnalogClockSetTime(PARAM *p, int id, int hour, int minute, int second);
3979 int qwtAnalogClockSetMass(PARAM *p, int id, float mass);
3983 int qwtAnalogClockSetReadOnly(PARAM *p, int id, int rdonly);
3987 int qwtAnalogClockSetFrameShadow(PARAM *p, int id, int shadow);
3990 int qwtAnalogClockShowBackground(PARAM *p, int id, int show);
3993 int qwtAnalogClockSetLineWidth(PARAM *p, int id, int width);
3997 int qwtAnalogClockSetMode(PARAM *p, int id, int mode);
4000 int qwtAnalogClockSetWrapping(PARAM *p, int id, int wrap);
4003 int qwtAnalogClockSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step);
4006 int qwtAnalogClockSetScaleArc(PARAM *p, int id, float min, float max);
4009 int qwtAnalogClockSetOrigin(PARAM *p, int id, float o);
4018 int qwtAnalogClockSetNeedle(PARAM *p, int id, int which, int r1=0, int g1=0, int b1=0, int r2=255, int g2=255, int b2=255, int r3=128, int g3=128, int b3=128);
4021 int qwtAnalogClockSetValue(PARAM *p, int id, float value); // end of group
4023 
4030 float unit(PARAM *p, float val, int conversion); // end of group
4032 
4103 int textEventType(const char *text);
4109 const char *svgObjectName(const char *text);
4114 int getSvgBoundsOnElement(const char *text, float *x, float *y, float *width, float *height);
4119 int getSvgMatrixForElement(const char *text, float *m11, float *m12, float *m21, float *m22,
4120  float *det, float *dx, float *dy);
4125 int getGeometry(const char *text, int *x, int *y, int *width, int *height);
4130 int getParentWidgetId(const char *text, int *parent); // end of group
4132 
4179 #ifndef __VMS
4180 #include <string.h>
4181 #include <string>
4182 #include <iostream>
4183 #include <map>
4184 
4186 {
4187 public:
4189  virtual ~pvWidgetIdManager();
4190  int init(PARAM *p, int id_start);
4191  virtual int newId(const char *name);
4192  virtual int deleteWidget(PARAM *p, const char *name);
4193  virtual int id(const char *name);
4194  virtual int isInMap(const char *name);
4195  int isInMap(int id);
4196  int firstId();
4197  int nextId();
4198  int endId();
4199  const char *name(int id);
4200  int idStart();
4201  virtual int readEnumFromMask(const char *maskname);
4202 private:
4203  int insertBasicId(int id, const char *name);
4205  int *free;
4206  std::map <std::string, int> id_list;
4207  std::multimap <std::string, int>::iterator it;
4208 };
4209 #endif
4210  // end of group
4211 
4212 #endif
int pvRemoveColumn(PARAM *p, int id, int col)
Definition: processviewserver.h:290
Definition: processviewserver.h:583
Definition: processviewserver.h:143
int pvQSpinBox(PARAM *p, int id, int parent, int min, int max, int step)
Definition: processviewserver.h:113
void * user
Definition: processviewserver.h:482
int qwtThermoSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic)
virtual int id(const char *name)
int pvQGroupBox(PARAM *p, int id, int parent, int columns, int orientation, const char *title)
Definition: processviewserver.h:151
Definition: processviewserver.h:311
int qpwReplot(PARAM *p, int id)
Definition: processviewserver.h:213
int qpwEnableGridXMin(PARAM *p, int id)
int pvInsertColumns(PARAM *p, int id, int col, int count=1)
int pvStatusMessage(PARAM *p, int r, int g, int b, const char *format,...)
int pvQLayoutHbox(PARAM *p, int id, int parent)
Definition: processviewserver.h:453
Definition: processviewserver.h:256
int pvSetStyleSheet(PARAM *p, int id, const char *text)
Definition: processviewserver.h:351
int pvSetAlignment(PARAM *p, int id, int alignment)
Definition: processviewserver.h:456
Definition: processviewserver.h:445
Glyph _glyphs[256]
Definition: processviewserver.h:3166
int pvXYAllocate(PARAM *p, int n)
Definition: processviewserver.h:164
int pvSetZoomY(PARAM *p, int id, float zoom)
int pvSetWhatsThis(PARAM *p, int id, const char *text)
Definition: processviewserver.h:444
int pvCSV(PARAM *p, int id, const char *command, char delimitor='\t')
int qwtAnalogClockSetMass(PARAM *p, int id, float mass)
Definition: processviewserver.h:454
Definition: processviewserver.h:168
int pvQLayoutVbox(PARAM *p, int id, int parent)
int pvMovieControl(PARAM *p, int id, int step)
Definition: processviewserver.h:336
Definition: processviewserver.h:306
UNIT_CONVERSION
Definition: processviewserver.h:544
Definition: processviewserver.h:102
Definition: processviewserver.h:138
int qwtSliderSetMargins(PARAM *p, int id, int x, int y)
Definition: processviewserver.h:553
Definition: processviewserver.h:454
int pvRemoveIconViewItem(PARAM *p, int id, const char *text)
Definition: processviewserver.h:191
Definition: processviewserver.h:210
std::multimap< std::string, int >::iterator it
Definition: processviewserver.h:4207
int qpwEnableOutline(PARAM *p, int id, int val)
int pvEnableTabBar(PARAM *p, int id, int state)
float tex_x2
Definition: processviewserver.h:3161
int qwtDialSetWrapping(PARAM *p, int id, int wrap)
int force_null_event
Definition: processviewserver.h:505
int millisecond
Definition: processviewserver.h:621
int pvPopupMenu(PARAM *p, int id_return, const char *text)
int pvSetTableTextAlignment(PARAM *p, int id, int x, int y, int alignment)
Definition: processviewserver.h:354
Definition: processviewserver.h:359
int pvQwtThermo(PARAM *p, int id, int parent)
MarkerSymbol
Definition: processviewserver.h:454
Definition: processviewserver.h:460
Definition: processviewserver.h:112
int glencode_set_param(PARAM *p)
Definition: processviewserver.h:549
Definition: processviewserver.h:453
Definition: processviewserver.h:312
int pvSetWordWrap(PARAM *p, int id, int wrap)
#define MAX_CLIENTS
Definition: processviewserver.h:80
Definition: processviewserver.h:140
int pvInitInternal(PARAM *p)
int pvVtkTclPrintf(PARAM *p, int id, const char *format,...)
pvPrintf(p,ID_TAB,"%s", "title");
Definition: processviewserver.h:90
int pvMessageBox(PARAM *p, int id_return, int type, const char *text, int button0, int button1, int button2)
Definition: processviewserver.h:572
Definition: processviewserver.h:135
const char * communication_plugin
Definition: processviewserver.h:518
Definition: processviewserver.h:321
Definition: processviewserver.h:133
Definition: processviewserver.h:462
FileDialogs
Definition: processviewserver.h:369
int pvInsertRows(PARAM *p, int id, int row, int count=1)
int pvSetNumCols(PARAM *p, int id, int num)
Definition: processviewserver.h:578
Definition: processviewserver.h:577
Definition: processviewserver.h:114
Definition: processviewserver.h:554
Definition: processviewserver.h:245
int pvCreateThread(PARAM *p, int s)
char * pvGetEvent(PARAM *p)
int qwtDialSetScaleArc(PARAM *p, int id, float min, float max)
Definition: processviewserver.h:456
Definition: processviewserver.h:222
int qwtAnalogClockSetFrameShadow(PARAM *p, int id, int shadow)
Definition: processviewserver.h:454
int pvQComboBox(PARAM *p, int id, int parent, int editable, int policy)
Definition: processviewserver.h:139
Definition: processviewserver.h:290
int pvQDateEdit(PARAM *p, int id, int parent)
int pvEndDefinition(PARAM *p)
Definition: processviewserver.h:149
Definition: processviewserver.h:447
Definition: processviewserver.h:454
Definition: processviewserver.h:471
Definition: processviewserver.h:132
Definition: processviewserver.h:101
int gLine(PARAM *p, float *x, float *y, int n)
Definition: processviewserver.h:602
int qwtScaleSetBaselineDist(PARAM *p, int id, int bd)
int pvQToolBox(PARAM *p, int id, int parent)
int qwtAnalogClockShowBackground(PARAM *p, int id, int show)
PARSE_EVENT_STRUCT * pvParseEventStruct(PARAM *p, const char *event)
FontNormalItalic
Definition: processviewserver.h:261
int pvSetStyle(PARAM *p, int id, int shape, int shadow, int line_width, int margin)
int pvSetListViewPixmap(PARAM *p, int id, const char *path, const char *bmp_file, int column, int download_icon=1)
Definition: processviewserver.h:191
int gCloseFile()
Definition: processviewserver.h:137
Definition: processviewserver.h:454
float * x
Definition: processviewserver.h:491
const char * svgObjectName(const char *text)
Definition: processviewserver.h:603
Definition: processviewserver.h:439
Definition: processviewserver.h:99
Definition: processviewserver.h:424
Definition: processviewserver.h:100
int hour
Definition: processviewserver.h:624
Definition: processviewserver.h:291
MouseShape
Definition: processviewserver.h:310
int pvZoomMask(PARAM *p, int percent)
double zoom
Definition: processviewserver.h:3173
int pvSendHttpResponse(PARAM *p, const char *html)
int pvSetSource(PARAM *p, int id, const char *html_file)
int pvSetZoomFactor(PARAM *p, int id, float factor)
TextBrowserPos
Definition: processviewserver.h:401
Definition: processviewserver.h:423
int qwtKnobSetValue(PARAM *p, int id, float value)
int qpwSetAxisScale(PARAM *p, int id, int pos, float min, float max, float step)
Definition: processviewserver.h:253
Definition: processviewserver.h:162
pvHide(p,ID_STATUSBAR) pvShow(p,ID_STATUSBAR)
Definition: processviewserver.h:86
int id_start
Definition: processviewserver.h:4204
Definition: processviewserver.h:380
int qwtAnalogClockSetNeedle(PARAM *p, int id, int which, int r1=0, int g1=0, int b1=0, int r2=255, int g2=255, int b2=255, int r3=128, int g3=128, int b3=128)
int pvAddWidgetOrLayout(PARAM *p, int id, int item, int row, int col)
Definition: processviewserver.h:573
int pvSetXY(PARAM *p, int i, float x, float y)
Definition: processviewserver.h:402
int pvListViewEnsureVisible(PARAM *p, int id, const char *path)
int qwtAnalogClockSetOrigin(PARAM *p, int id, float o)
Definition: processviewserver.h:177
int pvInsertItem(PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1)
Definition: processviewserver.h:430
Definition: processviewserver.h:382
Definition: processviewserver.h:547
int is_binary
Definition: processviewserver.h:526
int pvQTable(PARAM *p, int id, int parent, int rows, int columns)
int exit_on_bind_error
Definition: processviewserver.h:502
Definition: processviewserver.h:381
Definition: processviewserver.h:171
Definition: processviewserver.h:161
int qwtCompassSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f)
Definition: processviewserver.h:355
Definition: processviewserver.h:384
int qwtWheelSetOrientation(PARAM *p, int id, int orientation)
Definition: processviewserver.h:3116
int pvRunModalDialog(PARAM *p, int width, int height, int(*showMask)(PARAM *p), void *userData, int(*readData)(void *d), int(*showData)(PARAM *p, void *d), void *d)
DialNeedle
Definition: processviewserver.h:451
int pvQwtCounter(PARAM *p, int id, int parent)
Orientation
Definition: processviewserver.h:303
int qwtWheelSetValue(PARAM *p, int id, float value)
int pvListViewSetHidden(PARAM *p, int id, int column, int hidden)
int pvThreadFatal(PARAM *p, const char *text)
int gSetFont(PARAM *p, const char *family, int size, int weight, int italic)
int qpwSetMarkerLineStyle(PARAM *p, int id, int index, int style)
Definition: processviewserver.h:297
int pvQWidget(PARAM *p, int id, int parent)
int pvSetFontColor(PARAM *p, int id, int r, int g, int b)
Definition: processviewserver.h:251
Definition: processviewserver.h:249
int qwtWheelSetWheelWidth(PARAM *p, int id, int width)
int qwtDialSetReadOnly(PARAM *p, int id, int rdonly)
int pvSetManualUrl(PARAM *p, const char *url)
Definition: processviewserver.h:389
Definition: processviewserver.h:191
Definition: processviewserver.h:391
Definition: processviewserver.h:448
Definition: processviewserver.h:443
Definition: processviewserver.h:240
Definition: processviewserver.h:447
int pvQwtCompass(PARAM *p, int id, int parent)
int qpwSetAxisOptions(PARAM *p, int id, int pos, int val)
void setFontSize(int pitch, float factor)
Definition: processviewserver.h:179
Definition: processviewserver.h:392
int qwtDialSetMass(PARAM *p, int id, float mass)
int qwtScaleSetBorderDist(PARAM *p, int id, int start, int end)
int getIntegers(const char *text, IntegerArray *ia)
int qpwSetAxisTitle(PARAM *p, int id, int pos, const char *text)
Definition: processviewserver.h:453
Definition: processviewserver.h:383
Definition: processviewserver.h:268
int qpwSetAxisMaxMajor(PARAM *p, int id, int pos, int val)
Definition: processviewserver.h:445
Definition: processviewserver.h:250
int pvRequestSvgMatrixForElement(PARAM *p, int id, const char *objectname)
int qwtSliderSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic)
Definition: processviewserver.h:115
int pvsystem(const char *command)
int mouse_y
Definition: processviewserver.h:516
Definition: processviewserver.h:586
int pvSendHttpChunks(PARAM *p, const char *filename)
Definition: processviewserver.h:443
Definition: processviewserver.h:551
int qwtScaleSetTitle(PARAM *p, int id, const char *text)
Definition: processviewserver.h:619
int qwtSliderSetOrientation(PARAM *p, int id, int orientation)
Definition: processviewserver.h:404
int qwtCompassSetOrigin(PARAM *p, int id, float o)
int pvSetImage(PARAM *p, int id, const char *filename, int rotate=0)
Definition: processviewserver.h:238
int qwtDialSetMode(PARAM *p, int id, int mode)
int pvSendJpegFrame(PARAM *p, int id, unsigned char *frame, int rotate=0)
int qwtDialSetNeedle(PARAM *p, int id, int which, int r1=0, int g1=0, int b1=0, int r2=255, int g2=255, int b2=255, int r3=128, int g3=128, int b3=128)
int * pvGetSocketPointer(PARAM *p)
Definition: processviewserver.h:440
int pvQSlider(PARAM *p, int id, int parent, int minValue, int maxValue, int pageStep, int value, int orientation)
int qwtScaleSetLabelFormat(PARAM *p, int id, int f, int prec, int fieldWidth)
Definition: processviewserver.h:216
int qwtAnalogClockSetTime(PARAM *p, int id, int hour, int minute, int second)
Definition: processviewserver.h:231
int pvSelection(PARAM *p, int id)
Definition: processviewserver.h:446
int pvScreenHint(PARAM *p, int w, int h)
Definition: processviewserver.h:403
int(* cleanup)(void *)
Definition: processviewserver.h:480
virtual int newId(const char *name)
Definition: processviewserver.h:448
int nxy
Definition: processviewserver.h:493
int getFloats(const char *text, FloatArray *fa)
Definition: processviewserver.h:441
int pvResize(PARAM *p, int id, int w, int h)
Definition: processviewserver.h:144
int pvQDraw(PARAM *p, int id, int parent)
int pvQLabel(PARAM *p, int id, int parent)
Definition: processviewserver.h:425
Definition: processviewserver.h:441
int qwtKnobSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic)
Definition: processviewserver.h:254
Definition: processviewserver.h:396
int pvWriteTextToFileAtClient(PARAM *p, const char *text, const char *filename)
int qpwSetAxisMaxMinor(PARAM *p, int id, int pos, int val)
int pause
Definition: processviewserver.h:510
int hello_counter
Definition: processviewserver.h:503
int pvDisplayNum(PARAM *p, int id, int num)
int(* plugin_pvtcpreceive)(PARAM *p, char *buf, int maxlen)
Definition: processviewserver.h:533
int gBoxWithText(PARAM *p, int x, int y, int w, int h, int fontsize, const char *xlabel, const char *ylabel, const char *rylabel)
Definition: processviewserver.h:208
Definition: processviewserver.h:264
Definition: processviewserver.h:584
int qwtAnalogClockSetWrapping(PARAM *p, int id, int wrap)
pvResize(p,ID_MAINWINDOW,width,height)
Definition: processviewserver.h:87
int qwtCompassSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
Definition: processviewserver.h:413
Definition: processviewserver.h:153
static const char null_string[]
Definition: processviewserver.h:590
int pvWriteFile(PARAM *p, const char *filename, int width, int height)
int qwtAnalogClockSetScaleArc(PARAM *p, int id, float min, float max)
int pvSetBufferedJpgImage(PARAM *p, int id, const unsigned char *buffer, int buffersize, int rotate=0)
Definition: processviewserver.h:432
Definition: processviewserver.h:422
int pvChangeItem(PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1)
Definition: processviewserver.h:366
int pvQRadioButton(PARAM *p, int id, int parent)
Definition: processviewserver.h:227
int pvAddTab(PARAM *p, int id, int id_child, const char *str)
int pvQTimeEdit(PARAM *p, int id, int parent)
int qpwSetMarkerLabel(PARAM *p, int id, int number, const char *text)
Definition: processviewserver.h:579
int charWidth(unsigned char c)
int event
Definition: processviewserver.h:464
Definition: processviewserver.h:252
Definition: processviewserver.h:429
int qwtCompassSetMass(PARAM *p, int id, float mass)
Definition: processviewserver.h:451
Definition: processviewserver.h:178
Definition: processviewserver.h:290
int qwtKnobSetSymbol(PARAM *p, int id, int symbol)
int qwtThermoSetFillColor(PARAM *p, int id, int r, int g, int b)
int pvSetMaxClientsPerIpAdr(int max_clients)
int qwtCompassSetMode(PARAM *p, int id, int mode)
int qwtCounterSetStepButton3(PARAM *p, int id, int n)
Definition: processviewserver.h:599
int qwtSliderSetThumbWidth(PARAM *p, int id, int width)
int qwtCounterSetIncSteps(PARAM *p, int id, int button, int n)
int pvSleep(int milliseconds)
QwtAutoscale
Definition: processviewserver.h:441
Definition: processviewserver.h:4185
int pvVtkTclScript(PARAM *p, int id, const char *filename)
Definition: processviewserver.h:353
int qwtThermoSetOrientation(PARAM *p, int id, int orientation, int position)
Definition: processviewserver.h:390
char * mytext
Definition: processviewserver.h:517
int qwtWheelSetMass(PARAM *p, int id, float mass)
int qwtCompassShowBackground(PARAM *p, int id, int show)
int pvQwtPlotWidget(PARAM *p, int id, int parent, int nCurves, int nMarker)
int num_additional_widgets
Definition: processviewserver.h:4204
int pvListViewSetSelected(PARAM *p, int id, const char *path, int column, int selected)
int * free
Definition: processviewserver.h:4205
Definition: processviewserver.h:134
int f9
Definition: processviewserver.h:616
int pvSetTableComboBox(PARAM *p, int id, int x, int y, int editable, const char *textlist)
Definition: processviewserver.h:166
int pvRenderTreeDump(PARAM *p, int id, const char *filename)
Definition: processviewserver.h:108
Definition: processviewserver.h:458
int pvSendRGBA(PARAM *p, int id, const unsigned char *image, int width, int height, int rotate=0)
int pvGlEnd(PARAM *p)
int pvClientCommand(PARAM *p, const char *command, const char *filename, int downloadFile=0)
const char * name(int id)
int pvFileDialog(PARAM *p, int id_return, int type)
int qwtKnobSetTotalAngle(PARAM *p, int id, float angle)
int gSetStyle(PARAM *p, int style)
Definition: processviewserver.h:111
Definition: processviewserver.h:360
Definition: processviewserver.h:131
Definition: processviewserver.h:130
int qwtCompassSetValue(PARAM *p, int id, float value)
int pvQwtSlider(PARAM *p, int id, int parent)
const char pvserver_version[]
Definition: processviewserver.h:24
MessageBoxButtons
Definition: processviewserver.h:379
int pvSetFocus(PARAM *p, int id)
int pvSetIconViewItem(PARAM *p, int id, const char *bmp_file, const char *text, int download_icon=1)
Definition: processviewserver.h:241
int http
Definition: processviewserver.h:522
std::map< std::string, int > id_list
Definition: processviewserver.h:4206
Definition: processviewserver.h:215
Definition: processviewserver.h:372
int pvSetTabPosition(PARAM *p, int id, int pos)
int pvSetMovie(PARAM *p, int id, int background, const char *filename)
Definition: processviewserver.h:329
Definition: processviewserver.h:574
Definition: processviewserver.h:562
Definition: processviewserver.h:412
void setZoom(float factor)
CounterButton
Definition: processviewserver.h:446
Definition: processviewserver.h:460
int pvSetSelector(PARAM *p, int id, int state)
Definition: processviewserver.h:394
int pvDownloadFile(PARAM *p, const char *filename)
int pvSetCaption(PARAM *p, const char *text)
TextFlags
Definition: processviewserver.h:221
int gBox(PARAM *p, int x, int y, int w, int h)
int port
Definition: processviewserver.h:475
Linestyle
Definition: processviewserver.h:175
char file_prefix[32]
Definition: processviewserver.h:496
int qpwSetMarkerPen(PARAM *p, int id, int index, int r, int g, int b, int style)
int qpwSetGridMinPen(PARAM *p, int id, int r, int g, int b, int style)
int pvQwtDial(PARAM *p, int id, int parent)
int pvSetTableText(PARAM *p, int id, int x, int y, const char *text)
PenStyle
Definition: processviewserver.h:453
#define MAX_EVENT_LENGTH
Definition: processviewserver.h:79
void drawString(float x, float y, const char *str)
int i
Definition: processviewserver.h:465
Definition: processviewserver.h:191
int pvSetMaxValue(PARAM *p, int id, int value)
int qpwSetLegendPos(PARAM *p, int id, int pos)
Definition: processviewserver.h:110
float * y
Definition: processviewserver.h:492
int pvAccept(PARAM *p)
int s
Definition: processviewserver.h:473
Definition: processviewserver.h:441
Definition: processviewserver.h:552
Definition: processviewserver.h:163
void * app_data
Definition: processviewserver.h:481
Definition: processviewserver.h:371
Definition: processviewserver.h:564
int gSetLinestyle(PARAM *p, int style)
int gComment(PARAM *p, const char *comment)
int qwtAnalogClockSetMode(PARAM *p, int id, int mode)
QpwLegend
Definition: processviewserver.h:439
int qwtCounterSetStep(PARAM *p, int id, float step)
Definition: processviewserver.h:257
int gSetFloatFormat(PARAM *p, const char *text)
Definition: processviewserver.h:119
int pvVtkTcl(PARAM *p, int id, const char *tcl_command)
int pvQImage(PARAM *p, int id, int parent, const char *imagename, int *w=NULL, int *h=NULL, int *depth=NULL)
int(* plugin_pvtcpsend_binary)(PARAM *p, const char *buf, int len)
Definition: processviewserver.h:532
Definition: processviewserver.h:129
Mode
Definition: processviewserver.h:290
Definition: processviewserver.h:420
int allow_pause
Definition: processviewserver.h:509
Definition: processviewserver.h:349
Definition: processviewserver.h:170
float tex_y1
Definition: processviewserver.h:3161
Definition: processviewserver.h:104
Definition: processviewserver.h:557
Definition: processviewserver.h:600
Definition: processviewserver.h:160
int pvGetText(const char *command, char *text)
Definition: processviewserver.h:441
int qwtAnalogClockSetReadOnly(PARAM *p, int id, int rdonly)
int qwtThermoSetValue(PARAM *p, int id, float value)
Definition: processviewserver.h:452
int pvSetTablePixmap(PARAM *p, int id, int x, int y, const char *bmp_file, int download_icon=1)
GLuint _line_height
Definition: processviewserver.h:3171
int gSetColor(PARAM *p, int r, int g, int b)
#define MAX_PRINTF_LENGTH
Definition: processviewserver.h:78
Definition: processviewserver.h:613
int qwtScaleSetScaleDiv(PARAM *p, int id, float lBound, float hBound, int maxMaj, int maxMin, int log, float step, int ascend)
KnobSymbol
Definition: processviewserver.h:445
int pvSetTableLabel(PARAM *p, int id, int x, int y, const char *text)
Definition: processviewserver.h:342
Definition: processviewserver.h:601
int gYGrid(PARAM *p)
Definition: processviewserver.h:451
Definition: processviewserver.h:370
Definition: processviewserver.h:444
AlignmentFlags
Definition: processviewserver.h:207
Definition: processviewserver.h:386
void * modalUserData
Definition: processviewserver.h:489
int pvQListBox(PARAM *p, int id, int parent)
int pvQTextBrowser(PARAM *p, int id, int parent)
Definition: processviewserver.h:152
int pvSetMaxTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
Definition: processviewserver.h:326
int iclientsocket
Definition: processviewserver.h:525
int qwtCounterSetStepButton1(PARAM *p, int id, int n)
Definition: processviewserver.h:209
int pvSetCleanup(PARAM *p, int(*cleanup)(void *), void *app_data)
int qwtScaleSetLabelAlignment(PARAM *p, int id, int align)
int lineHeight()
QwtAxis
Definition: processviewserver.h:440
Definition: processviewserver.h:356
int gBufferedLine(PARAM *p)
int pvSave(PARAM *p, int id)
Definition: processviewserver.h:458
int qwtAnalogClockSetLineWidth(PARAM *p, int id, int width)
int pvHide(PARAM *p, int id)
Definition: processviewserver.h:228
int pvSetFont(PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout)
Definition: processviewserver.h:365
int qwtAnalogClockSetValue(PARAM *p, int id, float value)
Definition: processviewserver.h:444
int mouse_x
Definition: processviewserver.h:516
int pvPrint(PARAM *p, int id)
Definition: processviewserver.h:550
int pvSetTableCheckBox(PARAM *p, int id, int x, int y, int state, const char *text)
int pvDisplayFloat(PARAM *p, int id, float val)
int pvEnsureCellVisible(PARAM *p, int id, int row, int col=1)
int qpwSetCurveSymbol(PARAM *p, int id, int index, int symbol, int r1, int g1, int b1, int r2, int g2, int b2, int w, int h)
int pvListViewPrintf(PARAM *p, int id, const char *path, int column, const char *format,...)
int pvMysqldump(PARAM *p, int id, const char *command)
Definition: processviewserver.h:167
Definition: processviewserver.h:456
int pvSetWidgetProperty(PARAM *p, int id, const char *name, const char *value)
int pvTerminateModalDialog(PARAM *p)
int pvSetMinSize(PARAM *p, int id, int w, int h)
Definition: processviewserver.h:565
int pvCloseFile(PARAM *p)
Definition: processviewserver.h:145
Definition: processviewserver.h:268
int qwtThermoSetBorderWidth(PARAM *p, int id, int width)
Definition: processviewserver.h:398
ThermoPosition
Definition: processviewserver.h:444
int pvSetPaletteBackgroundColor(PARAM *p, int id, int r, int g, int b)
int gText(PARAM *p, int x, int y, const char *text, int alignment)
Definition: processviewserver.h:233
int pvQFrame(PARAM *p, int id, int parent, int shape, int shadow, int line_width, int margin)
int qpwSetMarkerFont(PARAM *p, int id, int index, const char *family, int size, int style)
int pvSendOpenGL(PARAM *p, const char *filename, GLuint *listarray, int max_array, glFont *proportional=NULL, glFont *fixed=NULL)
int qwtKnobSetOrientation(PARAM *p, int id, int orientation)
Definition: processviewserver.h:358
Definition: processviewserver.h:570
Definition: processviewserver.h:348
int pvSetTextEx(PARAM *p, int id, const char *text, int option)
int qpwEnableAxis(PARAM *p, int id, int pos)
int(* showData)(_PARAM_ *p, void *d)
Definition: processviewserver.h:487
int pvSetTableButton(PARAM *p, int id, int x, int y, const char *text)
Definition: processviewserver.h:434
int pvUpdateBaseWindow(PARAM *p)
void setRotation(int angle)
int qpwSetMarkerSymbol(PARAM *p, int id, int index, int symbol, int r1, int g1, int b1, int r2, int g2, int b2, int w, int h)
Definition: processviewserver.h:449
int(* plugin_closesocket)(int s, PARAM *p)
Definition: processviewserver.h:535
int pvMain(PARAM *p)
int read(const char *filename)
Definition: processviewserver.h:451
int pvPrintf(PARAM *p, int id, const char *format,...)
int pvQCustomWidget(PARAM *p, int id, int parent, const char *name, const char *arg=NULL)
Definition: processviewserver.h:436
Definition: processviewserver.h:230
Definition: processviewserver.h:441
int qpwEnableLegend(PARAM *p, int id, int val)
int pvSetMinValue(PARAM *p, int id, int value)
int qwtWheelSetViewAngle(PARAM *p, int id, float angle)
Definition: processviewserver.h:567
int pvQGL(PARAM *p, int id, int parent)
Definition: processviewserver.h:136
int pvSetMouseShape(PARAM *p, int shape)
Definition: processviewserver.h:443
int qwtSliderSetMass(PARAM *p, int id, float mass)
Definition: processviewserver.h:377
int qpwInsertMarker(PARAM *p, int id, int index)
int pvSetMultiSelection(PARAM *p, int id, int mode)
Definition: processviewserver.h:433
Definition: processviewserver.h:421
Definition: processviewserver.h:198
Definition: processviewserver.h:597
int pvSetDate(PARAM *p, int id, int year, int month, int day)
int pvGlBegin(PARAM *p, int id)
int advance
Definition: processviewserver.h:3162
int qwtScaleSetTitleFont(PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout)
int pvDeleteDockWidget(PARAM *p, int dock_id, int delete_widget=0)
Definition: processviewserver.h:106
Definition: processviewserver.h:148
Definition: processviewserver.h:548
int my_pvlock_count
Definition: processviewserver.h:512
int i9
Definition: processviewserver.h:610
Definition: processviewserver.h:229
Definition: processviewserver.h:453
Definition: processviewserver.h:92
Definition: processviewserver.h:454
float unit(PARAM *p, float val, int conversion)
int qpwSetTitle(PARAM *p, int id, const char *text)
int pvlock(PARAM *p)
Definition: processviewserver.h:556
int pvSetRowHeight(PARAM *p, int id, int row, int height)
Definition: processviewserver.h:350
Definition: processviewserver.h:247
Definition: processviewserver.h:176
Definition: processviewserver.h:447
int pvSendHttpResponseFile(PARAM *p, const char *filename, const char *content_type="text/html")
int pvQButtonGroup(PARAM *p, int id, int parent, int columns, int orientation, const char *title)
int pvQLayoutGrid(PARAM *p, int id, int parent)
int pvQwtWheel(PARAM *p, int id, int parent)
Definition: processviewserver.h:242
Definition: processviewserver.h:191
Definition: processviewserver.h:214
SegmentStyle
Definition: processviewserver.h:292
int pvTablePrintf(PARAM *p, int id, int x, int y, const char *format,...)
Definition: processviewserver.h:458
int qwtWheelSetInternalBorder(PARAM *p, int id, int width)
int gYAxis(PARAM *p, float start, float delta, float end, int draw)
int qwtCompassSetReadOnly(PARAM *p, int id, int rdonly)
int qwtDialSetLineWidth(PARAM *p, int id, int width)
Definition: processviewserver.h:107
Definition: processviewserver.h:146
Definition: processviewserver.h:105
Definition: processviewserver.h:165
Definition: processviewserver.h:451
int pvQVtkTclWidget(PARAM *p, int id, int parent)
Definition: processviewserver.h:558
int qwtThermoSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f)
PvEvent
Definition: processviewserver.h:98
int pvRemoveItem(PARAM *p, int id, int index)
Definition: processviewserver.h:454
int gTextInAxis(PARAM *p, float x, float y, const char *text, int alignment)
Definition: processviewserver.h:393
Definition: processviewserver.h:320
int pvtcpsend_binary(PARAM *p, const char *buf, int len)
PARSE_EVENT_STRUCT parse_event_struct
Definition: processviewserver.h:490
int qwtDialSetValue(PARAM *p, int id, float value)
int qwtThermoSetAlarmLevel(PARAM *p, int id, float level)
int pvSetColumnWidth(PARAM *p, int id, int column, int width)
Definition: processviewserver.h:341
int pvtcpsendstring(PARAM *p, const char *buf)
Definition: processviewserver.h:217
int os
Definition: processviewserver.h:474
int local_milliseconds
Definition: processviewserver.h:504
int pvAddStretch(PARAM *p, int id, int param)
int qwtCompassSetLineWidth(PARAM *p, int id, int width)
int qpwSetMarkerLabelAlign(PARAM *p, int id, int index, int align)
int pvRemoveRow(PARAM *p, int id, int row)
Definition: processviewserver.h:409
int pvQCheckBox(PARAM *p, int id, int parent)
int pvSetChecked(PARAM *p, int id, int state)
Definition: processviewserver.h:347
Definition: processviewserver.h:147
int getSvgBoundsOnElement(const char *text, float *x, float *y, float *width, float *height)
int pvQDateTimeEdit(PARAM *p, int id, int parent)
Definition: processviewserver.h:141
int year
Definition: processviewserver.h:627
Definition: processviewserver.h:450
Definition: processviewserver.h:546
int gXGrid(PARAM *p)
char lang_section[32]
Definition: processviewserver.h:520
int pvCopyToClipboard(PARAM *p, int id)
int textEventType(const char *text)
Definition: processviewserver.h:443
int qwtWheelSetTickCnt(PARAM *p, int id, int cnt)
int angle_128x128
Definition: processviewserver.h:3174
int qwtSliderSetValue(PARAM *p, int id, float value)
int pvClearMessageQueue(PARAM *p)
int gSocketPlaySVG(PARAM *p, const char *svgstring)
Definition: processviewserver.h:376
int pvRemoveItemByName(PARAM *p, int id, const char *name)
int pvSaveDrawBuffer(PARAM *p, int id, const char *filename)
Definition: processviewserver.h:120
int stringWidth(const char *str)
FILE * fp
Definition: processviewserver.h:478
Definition: processviewserver.h:451
int pvWaitpid(PARAM *p)
int qpwRemoveCurve(PARAM *p, int id, int index)
int pvTabOrder(PARAM *p, int id1, int id2)
struct _PARAM_ PARAM
int qwtDialSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
TextCursor
Definition: processviewserver.h:236
ScalePosition
Definition: processviewserver.h:443
Definition: processviewserver.h:596
char initial_mask[MAX_PRINTF_LENGTH]
Definition: processviewserver.h:495
Shadow
Definition: processviewserver.h:363
int version
Definition: processviewserver.h:633
TabWidgetPos
Definition: processviewserver.h:407
char * pvGetTextParam(PARAM *p, const char *command)
int pvPrintfStyleSheet(PARAM *p, int id, const char *format,...)
int pvSelectLanguage(PARAM *p, const char *section)
int qpwSetLegendFrameStyle(PARAM *p, int id, int style)
int qpwInsertLineMarker(PARAM *p, int id, int index, const char *text, int pos)
Definition: processviewserver.h:83
int pvSendFile(PARAM *p, const char *filename)
int pvSetTimeEditDisplay(PARAM *p, int id, int hour, int minute, int second, int ampm)
Weight
Definition: processviewserver.h:191
int pvAddDockWidget(PARAM *p, const char *title, int dock_id, int root_id, int allow_close=0, int floating=1, int allow_left=1, int allow_right=0, int allow_top=0, int allow_bottom=0)
int pvCSVcreate(PARAM *p, const char *command, const char *filename)
Mode2
Definition: processviewserver.h:291
Definition: processviewserver.h:575
int pvListViewSetOpen(PARAM *p, int id, const char *path, int open)
int pvWarning(PARAM *p, const char *text)
int pvSetEnabled(PARAM *p, int id, int enabled)
int pvPassThroughOneJpegFrame(PARAM *p, int id, int source_fhdl, int inputIsSocket=1, int rotate=0)
FILE * fptmp
Definition: processviewserver.h:523
Definition: processviewserver.h:607
double zoom0
Definition: processviewserver.h:3173
int qpwSetMarkerPos(PARAM *p, int id, int index, float x, float y)
int qpwSetBufferedCurveData(PARAM *p, int id, int c)
KeyboardModifiers
Definition: processviewserver.h:411
int pvSendUserEvent(PARAM *p, int id, const char *text)
Definition: processviewserver.h:439
int qwtScaleSetTitleAlignment(PARAM *p, int id, int flags)
int second
Definition: processviewserver.h:622
int qwtCompassSetWrapping(PARAM *p, int id, int wrap)
int qwtCompassSetFrameShadow(PARAM *p, int id, int shadow)
Definition: processviewserver.h:211
Definition: processviewserver.h:452
Definition: processviewserver.h:248
int pvClear(PARAM *p, int id)
float _tex_line_height
Definition: processviewserver.h:3172
int qpwSetOutlinePen(PARAM *p, int id, int r, int g, int b)
int pvWait(PARAM *p, const char *pattern)
int gDrawPolygon(PARAM *p, int *x, int *y, int n)
int pvInputDialog(PARAM *p, int id_return, const char *text, const char *default_text)
int pvSetValue(PARAM *p, int id, int value)
int qwtCounterSetMaxValue(PARAM *p, int id, float value)
int pvMaxClientsPerIpAdr()
Definition: processviewserver.h:598
int gWriteFile(const char *file)
Definition: processviewserver.h:568
int pvRemoveAllColumns(PARAM *p, int id)
virtual int isInMap(const char *name)
int pvTableSetEnabled(PARAM *p, int id, int x, int y, int enabled)
int qwtThermoSetPipeWidth(PARAM *p, int id, int width)
virtual ~pvWidgetIdManager()
Definition: processviewserver.h:255
Definition: processviewserver.h:450
pvHide(p,ID_EDITBAR) pvShow(p,ID_EDITBAR)
Definition: processviewserver.h:84
int qpwInsertCurve(PARAM *p, int id, int index, const char *text)
int pvSetMaxDate(PARAM *p, int id, int year, int month, int day)
Definition: processviewserver.h:158
Definition: processviewserver.h:460
Definition: processviewserver.h:290
Definition: processviewserver.h:298
Definition: processviewserver.h:447
int pvSetTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
Definition: processviewserver.h:585
long clipboard_length
Definition: processviewserver.h:484
int qwtCompassSetNeedle(PARAM *p, int id, int which, int r1=0, int g1=0, int b1=0, int r2=255, int g2=255, int b2=255, int r3=128, int g3=128, int b3=128)
int pvSetNumRows(PARAM *p, int id, int num)
Definition: processviewserver.h:243
int gPlaySVG(PARAM *p, const char *filename)
int pvQIconView(PARAM *p, int id, int parent)
Definition: processviewserver.h:223
Definition: processviewserver.h:395
char version[32]
Definition: processviewserver.h:500
int qwtSliderSetBorderWidth(PARAM *p, int id, int width)
Definition: processviewserver.h:446
int pvSetListViewText(PARAM *p, int id, const char *path, int column, const char *text)
int qwtCounterSetMinValue(PARAM *p, int id, float value)
int pvSetContentsMargins(PARAM *p, int id, int xleft, int ytop, int xright, int ybottom)
int use_communication_plugin
Definition: processviewserver.h:519
int pvGlUpdate(PARAM *p, int id)
Order
Definition: processviewserver.h:458
int pvMove(PARAM *p, int id, int x, int y)
int pvScrollToAnchor(PARAM *p, int id, const char *anchor)
int qwtDialSetOrigin(PARAM *p, int id, float o)
Definition: processviewserver.h:232
Definition: processviewserver.h:453
Definition: processviewserver.h:569
int pvQProgressBar(PARAM *p, int id, int parent, int total_steps, int orientation=Horizontal)
Definition: processviewserver.h:594
Definition: processviewserver.h:169
int pvShow(PARAM *p, int id)
Definition: processviewserver.h:555
int month
Definition: processviewserver.h:626
Definition: processviewserver.h:387
int pvRequestJpeg(PARAM *p, int id)
int pvRequestSvgBoundsOnElement(PARAM *p, int id, const char *objectname)
Definition: processviewserver.h:244
int language
Definition: processviewserver.h:476
int pvSetEchoMode(PARAM *p, int id, int mode)
Definition: processviewserver.h:453
Definition: processviewserver.h:456
pvText(p,ID_OPTIONS);
Definition: processviewserver.h:91
Policy
Definition: processviewserver.h:268
int qwtKnobSetBorderWidth(PARAM *p, int id, int width)
MessageBoxTypes
Definition: processviewserver.h:374
Definition: processviewserver.h:3159
Definition: processviewserver.h:408
const char * getTextFromText(const char *text)
Definition: processviewserver.h:454
int qwtThermoSetMargin(PARAM *p, int id, int margin)
Definition: processviewserver.h:128
int pvQPushButton(PARAM *p, int id, int parent)
Definition: processviewserver.h:414
int qwtAnalogClockSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
Definition: processviewserver.h:157
int num_additional_widgets
Definition: processviewserver.h:514
Definition: processviewserver.h:561
int pvSetMaxSize(PARAM *p, int id, int w, int h)
Definition: processviewserver.h:122
Definition: processviewserver.h:630
SliderBGSTYLE
Definition: processviewserver.h:448
int qwtCounterSetStepButton2(PARAM *p, int id, int n)
int(* readData)(void *d)
Definition: processviewserver.h:486
int pvSetMinTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
int pvQLineEdit(PARAM *p, int id, int parent)
pvPrintf(p,ID_COOKIE,"%s=%s",cookie_name,cookie_values) pvPrintf(p,ID_COOKIE,cookie_name)
Definition: processviewserver.h:89
Definition: processviewserver.h:116
int pvQMultiLineEdit(PARAM *p, int id, int parent, int editable, int max_lines)
char * mytext2
Definition: processviewserver.h:521
Definition: processviewserver.h:323
Definition: processviewserver.h:580
int qwtCounterSetValue(PARAM *p, int id, float value)
int pvMaxClients()
int pvSaveAsBmp(PARAM *p, int id, const char *filename)
int gRotate(PARAM *p, float angle)
int s
Definition: processviewserver.h:632
const pvAddressTableItem * pvGetAdrTableItem()
Definition: processviewserver.h:375
int pvRequestGeometry(PARAM *p, int id)
int pvtcpreceive(PARAM *p, char *buf, int maxlen)
Definition: processviewserver.h:292
int pvRequestParentWidgetId(PARAM *p, int id)
Definition: processviewserver.h:454
int gEndDraw(PARAM *p)
Definition: processviewserver.h:155
Definition: processviewserver.h:313
int pvSetBufferTransparency(PARAM *p, int id, int a)
DialMode
Definition: processviewserver.h:450
int init(PARAM *p, int id_start)
Definition: processviewserver.h:595
int pvPrintHtmlOnPrinter(PARAM *p, int id)
int modal
Definition: processviewserver.h:485
int gRightYAxis(PARAM *p, float start, float delta, float end, int draw)
int qpwSetCurvePen(PARAM *p, int id, int index, int r, int g, int b, int width=1, int style=SolidLine)
int pvRunModalDialogScript(PARAM *p, int width, int height)
Definition: processviewserver.h:582
int pvToolTip(PARAM *p, int id, const char *text)
int gDrawPie(PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length)
Definition: processviewserver.h:109
Definition: processviewserver.h:291
Definition: processviewserver.h:560
Definition: processviewserver.h:121
GLuint _texture
Definition: processviewserver.h:3171
Definition: processviewserver.h:451
int pvQwtKnob(PARAM *p, int id, int parent)
int gSetWidth(PARAM *p, int w)
int pvQTabWidget(PARAM *p, int id, int parent)
Definition: processviewserver.h:364
Definition: processviewserver.h:559
Definition: processviewserver.h:291
int pvSetCellWidget(PARAM *p, int id, int parent, int row, int column)
Definition: processviewserver.h:449
char * clipboard
Definition: processviewserver.h:483
int qpwSetGridMajPen(PARAM *p, int id, int r, int g, int b, int style)
Definition: processviewserver.h:604
Definition: processviewserver.h:385
Definition: processviewserver.h:239
int qwtDialSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f)
int pvSetSorting(PARAM *p, int id, int column, int mode)
int pvListBoxSetSelected(PARAM *p, int id, int index, int selected)
int qwtWheelSetReadOnly(PARAM *p, int id, int rdonly)
Definition: processviewserver.h:246
Definition: processviewserver.h:587
int pvSetSpacing(PARAM *p, int id, int param)
int qwtSliderSetScalePos(PARAM *p, int id, int pos)
Definition: processviewserver.h:357
int pvRemoveListViewItem(PARAM *p, int id, const char *path)
Definition: processviewserver.h:268
Definition: processviewserver.h:452
Definition: processviewserver.h:439
int pvDisplayStr(PARAM *p, int id, const char *str)
int pvSetMinDate(PARAM *p, int id, int year, int month, int day)
Definition: processviewserver.h:237
Definition: processviewserver.h:440
int gBeginDraw(PARAM *p, int id)
int pvSetCurrentItem(PARAM *p, int id, int index)
Definition: processviewserver.h:268
int gScale(PARAM *p, float sx, float sy)
int pvPrintSvgOnPrinter(PARAM *p, int id)
int(* plugin_pvAccept)(PARAM *p)
Definition: processviewserver.h:531
int pvIsAccessAllowed(const char *adr, int trace)
virtual int readEnumFromMask(const char *maskname)
Definition: processviewserver.h:339
int qwtWheelSetTotalAngle(PARAM *p, int id, float angle)
Definition: processviewserver.h:292
int qwtThermoSetAlarmEnabled(PARAM *p, int id, int tf)
int minute
Definition: processviewserver.h:623
Definition: processviewserver.h:440
Definition: processviewserver.h:454
int qpwSetAutoLegend(PARAM *p, int id, int val)
int pvSetGeometry(PARAM *p, int id, int x, int y, int w, int h)
int pvParseEvent(const char *event, int *id, char *text)
int getGeometry(const char *text, int *x, int *y, int *width, int *height)
Definition: processviewserver.h:447
Definition: processviewserver.h:428
int convert_units
Definition: processviewserver.h:477
Definition: processviewserver.h:196
KeyCodes
Definition: processviewserver.h:418
int qwtScaleSetTitleColor(PARAM *p, int id, int r, int g, int b)
Definition: processviewserver.h:637
int button
Definition: processviewserver.h:527
Shape
Definition: processviewserver.h:346
Definition: processviewserver.h:581
Definition: processviewserver.h:305
int pvSendVersion(PARAM *p)
int free
Definition: processviewserver.h:499
float tex_x1
Definition: processviewserver.h:3161
int pvTableSetHeaderResizeEnabled(PARAM *p, int id, int horizontal, int enabled, int section)
int pvSendHttpContentLength(PARAM *p, const char *filename)
int pvWhatsThisPrintf(PARAM *p, int id, const char *format,...)
int fhdltmp
Definition: processviewserver.h:524
Definition: processviewserver.h:446
int qwtScaleSetPosition(PARAM *p, int id, int position)
Glyph * _table[256]
Definition: processviewserver.h:3168
Definition: processviewserver.h:449
virtual int deleteWidget(PARAM *p, const char *name)
Definition: processviewserver.h:444
Definition: processviewserver.h:195
int insertBasicId(int id, const char *name)
ORIENTATION
Definition: processviewserver.h:295
Definition: processviewserver.h:292
Definition: processviewserver.h:159
Definition: processviewserver.h:443
int pvUpdateBaseWindowOnOff(PARAM *p, int onoff)
Definition: processviewserver.h:453
Definition: processviewserver.h:263
Definition: processviewserver.h:571
int qwtDialShowBackground(PARAM *p, int id, int show)
int pvSetParent(PARAM *p, int id, int id_parent)
int gMoveTo(PARAM *p, int x, int y)
Definition: processviewserver.h:118
int qwtSliderSetBgStyle(PARAM *p, int id, int style)
int qwtCounterSetNumButtons(PARAM *p, int id, int n)
Definition: processviewserver.h:268
int qwtSliderSetReadOnly(PARAM *p, int id, int rdonly)
int pvSetMaxClients(int max_clients)
int pvDownloadFileAs(PARAM *p, const char *filename, const char *newname)
Definition: processviewserver.h:117
Definition: processviewserver.h:419
Definition: processviewserver.h:156
int pvAddTabIcon(PARAM *p, int id, int position, const char *bmp_file, int download_icon=1)
int qwtCompassSetSimpleCompassRose(PARAM *p, int id, int numThorns, int numThornLevels, float width=0.2f)
Definition: processviewserver.h:150
Definition: processviewserver.h:319
pvHide(p,ID_HELP) pvShow(p,ID_HELP)
Definition: processviewserver.h:88
Definition: processviewserver.h:367
int qwtCompassSetScaleArc(PARAM *p, int id, float min, float max)
Definition: processviewserver.h:566
Definition: processviewserver.h:327
Definition: processviewserver.h:415
Definition: processviewserver.h:218
int pvMovieSpeed(PARAM *p, int id, int speed)
void * modal_d
Definition: processviewserver.h:488
SliderScalePos
Definition: processviewserver.h:447
Definition: processviewserver.h:454
int qwtKnobSetReadOnly(PARAM *p, int id, int rdonly)
Definition: processviewserver.h:318
int pvQwtAnalogClock(PARAM *p, int id, int parent)
Definition: processviewserver.h:440
Definition: processviewserver.h:291
Definition: processviewserver.h:212
int pvSetZoomX(PARAM *p, int id, float zoom)
ButtonClicked
Definition: processviewserver.h:456
Definition: processviewserver.h:325
int qpwSetCanvasBackground(PARAM *p, int id, int r, int g, int b)
Definition: processviewserver.h:224
void pvGetLocalTime(pvTime *pvtime)
Definition: processviewserver.h:225
Definition: processviewserver.h:435
int pvQListView(PARAM *p, int id, int parent)
int gTranslate(PARAM *p, float x, float y)
Definition: processviewserver.h:103
Definition: processviewserver.h:315
Definition: processviewserver.h:331
int pvSetPaletteForegroundColor(PARAM *p, int id, int r, int g, int b)
int pvSetBackgroundColor(PARAM *p, int id, int r, int g, int b)
Definition: processviewserver.h:448
Definition: processviewserver.h:452
CompassNeedle
Definition: processviewserver.h:452
pvHide(p,ID_TOOLBAR) pvShow(p,ID_TOOLBAR)
Definition: processviewserver.h:85
int pvListViewSetStandardPopupMenu(PARAM *p, int id, int standard_menu)
Definition: processviewserver.h:268
int pvunlock(PARAM *p)
int pvPlaySound(PARAM *p, const char *filename)
int getSvgMatrixForElement(const char *text, float *m11, float *m12, float *m21, float *m22, float *det, float *dx, float *dy)
int pvtcpsend(PARAM *p, const char *buf, int len)
Definition: processviewserver.h:444
int pvMainFatal(PARAM *p, const char *text)
int gLineTo(PARAM *p, int x, int y)
int pvInit(int ac, char **av, PARAM *p)
char url[MAX_PRINTF_LENGTH]
Definition: processviewserver.h:494
Definition: processviewserver.h:226
Definition: processviewserver.h:458
int qpwSetCurveYAxis(PARAM *p, int id, int index, int pos)
Definition: processviewserver.h:576
int gRect(PARAM *p, int x, int y, int w, int h)
Definition: processviewserver.h:426
int qwtThermoSetAlarmColor(PARAM *p, int id, int r, int g, int b)
int qwtDialSetFrameShadow(PARAM *p, int id, int shadow)
Definition: processviewserver.h:405
int gXAxis(PARAM *p, float start, float delta, float end, int draw)
int getParentWidgetId(const char *text, int *parent)
int pvCSVdump(PARAM *p, int id, const char *filename, char delimitor='\t')
int pvDeleteWidget(PARAM *p, int id)
int pvBeep(PARAM *p)
int qwtKnobSetMass(PARAM *p, int id, float mass)
Definition: processviewserver.h:427
Definition: processviewserver.h:452
int pvtcpreceive_binary(PARAM *p, char *buf, int maxlen)
int pvPollEvent(PARAM *p, char *event)
Definition: processviewserver.h:197
TextEvents
Definition: processviewserver.h:592
Definition: processviewserver.h:352
int qwtSliderSetThumbLength(PARAM *p, int id, int length)
Definition: processviewserver.h:397
int pvSetEditable(PARAM *p, int id, int editable)
int qwtKnobSetKnobWidth(PARAM *p, int id, int width)
int pvQwtScale(PARAM *p, int id, int parent, int pos)
FontAlignment
Definition: processviewserver.h:194
Definition: processviewserver.h:440
int pvText(PARAM *p, int id)
Definition: processviewserver.h:388
int pvQDial(PARAM *p, int id, int parent, int min, int max, int page_step, int value)
Definition: processviewserver.h:142
int pvSetDateOrder(PARAM *p, int id, int order)
int pvMoveContent(PARAM *p, int id, int pos)
Definition: processviewserver.h:439
int qpwSetAxisScaleDraw(PARAM *p, int id, int pos, const char *text)
int day
Definition: processviewserver.h:625
int qwtScaleSetLabelRotation(PARAM *p, int id, float rotation)
int pvQLCDNumber(PARAM *p, int id, int parent, int numDigits, int segmentStyle, int mode)
Definition: processviewserver.h:154
int sleep
Definition: processviewserver.h:479
SetTextOption
Definition: processviewserver.h:460
int pvAddColumn(PARAM *p, int id, const char *text, int size)
char pvserver_version[32]
Definition: processviewserver.h:501
Definition: processviewserver.h:563
int pvSetPixmap(PARAM *p, int id, const char *bmp_file, int download_icon=1)
int pvSetText(PARAM *p, int id, const char *text)
int(* plugin_pvtcpreceive_binary)(PARAM *p, char *buf, int maxlen)
Definition: processviewserver.h:534
Definition: processviewserver.h:441
int pvStartDefinition(PARAM *p, int num_objects)
DialShadow
Definition: processviewserver.h:449
int qpwSetCurveData(PARAM *p, int id, int c, int count, double *x, double *y)
Definition: processviewserver.h:454
Definition: processviewserver.h:431
int pvMoveCursor(PARAM *p, int id, int cursor)
int pvGetInitialMask(PARAM *p)
Definition: processviewserver.h:333
Definition: processviewserver.h:446
int gDrawArc(PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length)
int pvHtmlOrSvgDump(PARAM *p, int id, const char *filename)