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.1.6";
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 };
300 
302 {
305 };
306 
307 /* definitions for MouseShape */
309  ArrowCursor = 0, // The standard arrow cursor.
310  UpArrowCursor = 1, // An arrow pointing upwards toward the top of the screen.
311  CrossCursor = 2, // A crosshair cursor,
312  //typically used to help the user accurately select a point on the screen.
313  WaitCursor = 3, // An hourglass or watch cursor,
314  // usually shown during operations that prevent the user
315  // from interacting with the application.
316  IBeamCursor = 4, // A caret or ibeam cursor, indicating that a widget can accept and display text input.
317  SizeVerCursor = 5, // A cursor used for elements that are used to vertically resize top-level windows.
318  SizeHorCursor = 6, // A cursor used for elements that are used to horizontally resize top-level windows.
319  SizeFDiagCursor = 8, // A cursor used for elements that are used to diagonally resize top-level
320  // windows at their top-left and bottom-right corners.
321  SizeBDiagCursor = 7, // A cursor used for elements that are used to diagonally resize top-level
322  // windows at their top-right and bottom-left corners.
323  SizeAllCursor = 9, // A cursor used for elements that are used to resize top-level windows in any direction.
324  BlankCursor = 10, // A blank/invisible cursor, typically used when the cursor shape needs to be hidden.
325  SplitVCursor = 11, // A cursor used for vertical splitters, indicating that a handle can be
326  // dragged horizontally to adjust the use of available space.
327  SplitHCursor = 12, // A cursor used for horizontal splitters, indicating that a handle can be
328  // dragged vertically to adjust the use of available space.
329  PointingHandCursor = 13, // A pointing hand cursor that is typically used for clickable elements
330  // such as hyperlinks.
331  ForbiddenCursor = 14, // A slashed circle cursor, typically used during drag and drop operations to
332  // indicate that dragged content cannot be dropped on particular widgets
333  // or inside certain regions.
334  OpenHandCursor = 17, // A cursor representing an open hand, typically used to indicate that the area
335  // under the cursor is the visible part of a canvas that the user
336  // can click and drag in order to scroll around.
337  ClosedHandCursor = 18, // A cursor representing an open hand, typically used to indicate that a
338  // dragging operation is in progress that involves scrolling.
339  WhatsThisCursor = 15, // An arrow with a question mark, typically used
341 };
342 
343 /* definitions for QFrame */
344 enum Shape {
345 NoFrame = 0, /* no frame */
346 Box = 0x0001, /* rectangular box */
347 Panel = 0x0002, /* rectangular panel */
348 WinPanel = 0x0003, /* rectangular panel (Windows) */
349 HLine = 0x0004, /* horizontal line */
350 VLine = 0x0005, /* vertical line */
351 StyledPanel = 0x0006, /* rectangular panel depending on the GUI style */
352 PopupPanel = 0x0007, /* rectangular panel depending on the GUI style */
353 MenuBarPanel = 0x0008,
354 ToolBarPanel = 0x0009,
355 LineEditPanel = 0x000a,
356 TabWidgetPanel = 0x000b,
357 GroupBoxPanel = 0x000c,
358 MShape = 0x000f /* mask for the shape */
359 };
360 
361 enum Shadow{
362 Plain = 0x0010, /* plain line */
363 Raised = 0x0020, /* raised shadow effect */
364 Sunken = 0x0030, /* sunken shadow effect */
365 MShadow = 0x00f0 }; /* mask for the shadow */
366 
371 
376 
378 MessageBoxOk = 0x00000400,
379 MessageBoxOpen = 0x00002000,
380 MessageBoxSave = 0x00000800,
381 MessageBoxCancel = 0x00400000,
382 MessageBoxClose = 0x00200000,
383 MessageBoxDiscard = 0x00800000,
384 MessageBoxApply = 0x02000000,
385 MessageBoxReset = 0x04000000,
387 MessageBoxHelp = 0x01000000,
388 MessageBoxSaveAll = 0x00001000,
389 MessageBoxYes = 0x00004000,
390 MessageBoxYesToAll = 0x00008000,
391 MessageBoxNo = 0x00010000,
392 MessageBoxNoToAll = 0x00020000,
393 MessageBoxAbort = 0x00040000,
394 MessageBoxRetry = 0x00080000,
395 MessageBoxIgnore = 0x00100000,
397 };
398 
400 Home = 0,
404 
406 Top = 0,
408 
414 };
415 
416 enum KeyCodes{
417 Key_Escape = 0x1000000,
418 Key_Pause = 0x1000008,
419 Key_Print = 0x1000009,
420 Key_SysReq = 0x100000a,
421 Key_PageUp = 0x1000016,
422 Key_PageDown = 0x1000017,
423 Key_F1 = 0x1000030,
424 Key_F2 = 0x1000031,
425 Key_F3 = 0x1000032,
426 Key_F4 = 0x1000033,
427 Key_F5 = 0x1000034,
428 Key_F6 = 0x1000035,
429 Key_F7 = 0x1000036,
430 Key_F8 = 0x1000037,
431 Key_F9 = 0x1000038,
432 Key_F10 = 0x1000039,
433 Key_F11 = 0x100003a,
434 Key_F12 = 0x100003b
435 };
436 
439 enum QwtAutoscale { pvNone = 0, IncludeRef = 1, Symmetric = 2, Floating = 4, Logarithmic = 8, Inverted = 16 };
452 
454 
455 enum Order { DMY, MDY, YMD, YDM };
456 
458 
459 typedef struct
460 {
461  int event;
462  int i;
463  char text[MAX_EVENT_LENGTH];
464 }
466 
467 /* thread parameters */
468 typedef struct _PARAM_
469 {
470  int s; /* socket */
471  int os; /* original socket */
472  int port; /* our port */
473  int language; /* language or DEFAULT_LANGUAGE */
474  int convert_units; /* 1 if units must be converted */
475  FILE *fp; /* filepointer */
476  int sleep; /* sleep time in milliseconds */
477  int (*cleanup)(void *); /* cleanup for user code */
478  void *app_data; /* application data for cleanup */
479  void *user; /* pointer to user data */
480  char *clipboard; /* pointer to clipboard text | NULL */
481  long clipboard_length; /* sizeof clipboard contents */
482  int modal; /* modal dialog */
483  int (*readData)(void *d); /* modal dialog */
484  int (*showData)(_PARAM_ *p, void *d); /* modal dialog */
485  void *modal_d; /* modal dialog */
486  void *modalUserData; /* modal dialog */
488  float *x; /* array buffer for script language */
489  float *y; /* array buffer for script language */
490  int nxy; /* number of elements in arry */
491  char url[MAX_PRINTF_LENGTH]; /* url the client is using */
492  char initial_mask[MAX_PRINTF_LENGTH]; /* initial mask user wants to see */
493  char file_prefix[32]; /* prefix for temporary files */
494  /* files with this prefix will be */
495  /* deleted on connection lost */
496  int free; /* free structure */
497  char version[32]; /* pvbrowser VERSION of client */
498  char pvserver_version[32]; /* pvserver VERSION */
499  int exit_on_bind_error; /* exit if we can not bind on port */
500  int hello_counter; /* for thread timeout if no @hello */
501  int local_milliseconds; /* time of last call to select() */
502  int force_null_event; /* force null_event for better update */
503  /* if the user has tabs within his */
504  /* client the invisible tab are */
505  /* paused by default */
506  int allow_pause; /* 0 not allowed else allowed */
507  int pause; /* pause=1 if tab invisible else 0 */
508  /* you can test pause in NULL_EVENT */
509  int my_pvlock_count; /* used to avoid deadlock by repeated */
510  /* call of pvlock */
511  int num_additional_widgets; /* additional widgets after */
512  /* ID_END_OF_WIDGETS */
513  int mouse_x, mouse_y; /* last mouse pos when pressed */
514  char *mytext; /* buffer for internal use only */
515  const char *communication_plugin; /* pointer to commandline arg or NULL */
516  int use_communication_plugin; /* can also be set at runtime */
517  char lang_section[32]; /* use pvSelectLanguage() */
518  char *mytext2; /* temp used in language translation */
519  int http; /* 0|1 talk http */
520  FILE *fptmp; /* temporary file pointer */
521  int fhdltmp; /* temporary file handle */
522  int iclientsocket; /* 0 <= iclientsockert < MAX_CLIENTS index into clientsocket[] */
523  int is_binary; /* 0 for text message 1 otherwise */
524  int button; /* last clicked button */
525 }PARAM;
526 
527 #ifndef __VMS
528 typedef int (*plugin_pvAccept)(PARAM *p);
529 typedef int (*plugin_pvtcpsend_binary)(PARAM *p, const char *buf, int len);
530 typedef int (*plugin_pvtcpreceive)(PARAM *p, char *buf, int maxlen);
531 typedef int (*plugin_pvtcpreceive_binary)(PARAM *p, char *buf, int maxlen);
532 typedef int (*plugin_closesocket)(int s, PARAM *p);
533 #endif
534 
535 #define DEFAULT_LANGUAGE 0
536 
537 #ifndef pvtr
538 #define pvtr(txt) txt
539 #endif
540 
542 {
543  MM2INCH = 1,
585 };
586 
587 static const char null_string[] = "";
588 
590 {
602 };
603 
604 typedef struct
605 {
606  int i[10];
607  int i0,i1,i2,i3,i4,i5,i6,i7,i8,i9;
608 }IntegerArray;
609 
610 typedef struct
611 {
612  float f[10];
613  int f0,f1,f2,f3,f4,f5,f6,f7,f8,f9;
614 }FloatArray;
615 
616 typedef struct
617 {
619  int second;
620  int minute;
621  int hour;
622  int day;
623  int month;
624  int year;
625 }pvTime;
626 
627 typedef struct
628 {
629  int s; // socket
630  int version; // ip version 4|6
631  unsigned char adr[16]; // remote ip address
633 
634 typedef struct
635 {
638 
639 /* this is for convenience when you want to write files */
640 #define PARAM_P PARAM p;pvInit(0,NULL,&p);
641 
642 /* wait with pvWait(INITIALIZE_GL) before you initialize you OpenGL scene */
643 #define INITIALIZE_GL "initializeGL"
644 #define RESIZE_GL "resizeGL"
645  // end of group
647 
651 int glencode_set_param(PARAM *p);
659 int pvlock(PARAM *p);
667 int pvunlock(PARAM *p);
671 int pvsystem(const char *command);
675 void pvGetLocalTime(pvTime *pvtime);
697 int pvIsAccessAllowed(const char *adr, int trace);
701 int pvSendVersion(PARAM *p);
705 int pvXYAllocate(PARAM *p, int n);
709 int getIntegers(const char *text, IntegerArray *ia);
713 int getFloats(const char *text, FloatArray *fa);
717 const char *getTextFromText(const char *text);
721 int pvSetXY(PARAM *p, int i, float x, float y);
725 int *pvGetSocketPointer(PARAM *p);
730 int pvInitInternal(PARAM *p);
754 int pvInit(int ac, char **av, PARAM *p);
758 int pvAccept(PARAM *p);
762 int pvCreateThread(PARAM *p, int s);
767 int pvGetInitialMask(PARAM *p);
799 int pvMain(PARAM *p);
805 int pvSetCleanup(PARAM *p, int (*cleanup)(void *), void *app_data);
811 char *pvGetEvent(PARAM *p);
851 int pvPollEvent(PARAM *p, char *event);
855 int pvWait(PARAM *p, const char *pattern);
859 int pvGlUpdate(PARAM *p, int id);
863 int pvSleep(int milliseconds);
867 int pvWarning(PARAM *p, const char *text);
871 int pvMainFatal(PARAM *p, const char *text);
875 int pvThreadFatal(PARAM *p, const char *text);
880 int pvScreenHint(PARAM *p, int w, int h);
885 int pvSetMouseShape(PARAM *p, int shape);
890 int pvSetWhatsThis(PARAM *p, int id, const char *text);
895 int pvWhatsThisPrintf(PARAM *p, int id, const char *format, ...);
901 int pvClientCommand(PARAM *p, const char *command, const char *filename, int downloadFile=0);
905 int pvWriteTextToFileAtClient(PARAM *p, const char *text, const char *filename);
910 int pvZoomMask(PARAM *p, int percent);
918 int pvSetManualUrl(PARAM *p, const char *url);
965 int pvSelectLanguage(PARAM *p, const char *section);
966 
973 //const char *pvTr(PARAM *p, const char *text); // end of group
975 
992 int pvStartDefinition(PARAM *p, int num_objects);
1019 int pvQWidget(PARAM *p, int id, int parent);
1020 
1024 int pvQLayoutVbox(PARAM *p, int id, int parent);
1025 
1029 int pvQLayoutHbox(PARAM *p, int id, int parent);
1030 
1034 int pvQLayoutGrid(PARAM *p, int id, int parent);
1035 
1070 int pvQLabel(PARAM *p, int id, int parent);
1108 int pvQComboBox(PARAM *p, int id, int parent, int editable, int policy);
1141 int pvQLineEdit(PARAM *p, int id, int parent);
1171 int pvQPushButton(PARAM *p, int id, int parent);
1204 int pvQLCDNumber(PARAM *p, int id, int parent, int numDigits, int segmentStyle, int mode);
1234 int pvQSlider(PARAM *p, int id, int parent, int minValue, int maxValue, int pageStep, int value, int orientation);
1261 int pvQButtonGroup(PARAM *p, int id, int parent, int columns, int orientation, const char *title);
1290 int pvQRadioButton(PARAM *p, int id, int parent);
1319 int pvQCheckBox(PARAM *p, int id, int parent);
1347 int pvQFrame(PARAM *p, int id, int parent, int shape, int shadow, int line_width, int margin);
1380 int pvQDraw(PARAM *p, int id, int parent);
1430 int pvQImage(PARAM *p, int id, int parent, const char *imagename, int *w=NULL, int *h=NULL, int *depth=NULL);
1457 int pvQGL(PARAM *p, int id, int parent);
1486 int pvQTabWidget(PARAM *p, int id, int parent);
1514 int pvQToolBox(PARAM *p, int id, int parent);
1542 int pvQGroupBox(PARAM *p, int id, int parent, int columns, int orientation, const char *title);
1576 int pvQListBox(PARAM *p, int id, int parent);
1629 int pvQTable(PARAM *p, int id, int parent, int rows, int columns);
1658 int pvQSpinBox(PARAM *p, int id, int parent, int min, int max, int step);
1687 int pvQDial(PARAM *p, int id, int parent, int min, int max, int page_step, int value);
1717 int pvQProgressBar(PARAM *p, int id, int parent, int total_steps, int orientation = Horizontal);
1754 int pvQMultiLineEdit(PARAM *p, int id, int parent, int editable, int max_lines);
1790 int pvQTextBrowser(PARAM *p, int id, int parent);
1830 int pvQListView(PARAM *p, int id, int parent);
1859 int pvQIconView(PARAM *p, int id, int parent);
1885 int pvQVtkTclWidget(PARAM *p, int id, int parent);
1893 int pvQwtPlotWidget(PARAM *p, int id, int parent, int nCurves, int nMarker);
1899 int pvQwtScale(PARAM *p, int id, int parent, int pos);
1905 int pvQwtThermo(PARAM *p, int id, int parent);
1911 int pvQwtKnob(PARAM *p, int id, int parent);
1917 int pvQwtCounter(PARAM *p, int id, int parent);
1923 int pvQwtWheel(PARAM *p, int id, int parent);
1929 int pvQwtSlider(PARAM *p, int id, int parent);
1935 int pvQwtDial(PARAM *p, int id, int parent);
1941 int pvQwtCompass(PARAM *p, int id, int parent);
1947 int pvQwtAnalogClock(PARAM *p, int id, int parent);
1977 int pvQDateEdit(PARAM *p, int id, int parent);
2007 int pvQTimeEdit(PARAM *p, int id, int parent);
2040 int pvQDateTimeEdit(PARAM *p, int id, int parent);
2072 int pvQCustomWidget(PARAM *p, int id, int parent, const char *name, const char *arg=NULL);
2076 int pvEndDefinition(PARAM *p);
2080 int pvAddWidgetOrLayout(PARAM *p, int id, int item, int row, int col);
2084 int pvAddStretch(PARAM *p, int id, int param);
2088 int pvTabOrder(PARAM *p, int id1, int id2);
2092 int pvDeleteWidget(PARAM *p, int id); // end of group
2094 
2095 
2102 int pvSetCaption(PARAM *p, const char *text);
2106 int pvPlaySound(PARAM *p, const char *filename);
2110 int pvBeep(PARAM *p);
2115 int pvStatusMessage(PARAM *p, int r, int g, int b, const char *format, ...);
2119 int pvToolTip(PARAM *p, int id, const char *text);
2125 int pvSetTextEx(PARAM *p, int id, const char *text, int option);
2130 int pvSetText(PARAM *p, int id, const char *text);
2136 int pvPrintf(PARAM *p, int id, const char *format, ...);
2142 int pvSetStyleSheet(PARAM *p, int id, const char *text);
2149 int pvPrintfStyleSheet(PARAM *p, int id, const char *format, ...);
2154 int pvSetMinValue(PARAM *p, int id, int value);
2159 int pvSetMaxValue(PARAM *p, int id, int value);
2165 int pvSetValue(PARAM *p, int id, int value);
2170 int pvClear(PARAM *p, int id);
2177 int pvChangeItem(PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1);
2185 int pvInsertItem(PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1);
2190 int pvRemoveItem(PARAM *p, int id, int index);
2195 int pvRemoveItemByName(PARAM *p, int id, const char *name);
2200 int pvAddColumn(PARAM *p, int id, const char *text, int size);
2205 int pvRemoveAllColumns(PARAM *p, int id);
2217 int pvSetTableText(PARAM *p, int id, int x, int y, const char *text);
2222 int pvSetTableButton(PARAM *p, int id, int x, int y, const char *text);
2227 int pvSetTableCheckBox(PARAM *p, int id, int x, int y, int state, const char *text);
2240 int pvSetTableComboBox(PARAM *p, int id, int x, int y, int editable, const char *textlist);
2245 int pvSetTableLabel(PARAM *p, int id, int x, int y, const char *text);
2258 int pvTablePrintf(PARAM *p, int id, int x, int y, const char *format, ...);
2270 int pvSetTableTextAlignment(PARAM *p, int id, int x, int y, int alignment);
2278 int pvMysqldump(PARAM *p, int id, const char *command);
2284 int pvCSVdump(PARAM *p, int id, const char *filename, char delimitor='\t');
2288 int pvCSVcreate(PARAM *p, const char *command, const char *filename);
2292 int pvCSV(PARAM *p, int id, const char *command, char delimitor='\t');
2305 int pvSetListViewText(PARAM *p, int id, const char *path, int column, const char *text);
2319 int pvListViewPrintf(PARAM *p, int id, const char *path, int column, const char *format, ...);
2326 int pvListViewSetSelected(PARAM *p, int id, const char *path, int column, int selected);
2332 int pvListBoxSetSelected(PARAM *p, int id, int index, int selected);
2333 #define pvSetColumnWith pvSetColumnWidth
2334 
2343 int pvSetColumnWidth(PARAM *p, int id, int column, int width);
2352 int pvSetRowHeight(PARAM *p, int id, int row, int height);
2358 int pvSetWordWrap(PARAM *p, int id, int wrap);
2368 int pvSetPixmap(PARAM *p, int id, const char *bmp_file, int download_icon=1);
2377 int pvSetTablePixmap(PARAM *p, int id, int x, int y, const char *bmp_file, int download_icon=1);
2385 int pvSetSource(PARAM *p, int id, const char *html_file);
2392 int pvSetImage(PARAM *p, int id, const char *filename, int rotate=0);
2402 int pvSetBufferedJpgImage(PARAM *p, int id, const unsigned char *buffer, int buffersize, int rotate=0);
2408 int pvSetBufferTransparency(PARAM *p, int id, int a);
2413 int pvSetBackgroundColor(PARAM *p, int id, int r, int g, int b);
2419 int pvSetPaletteBackgroundColor(PARAM *p, int id, int r, int g, int b);
2425 int pvSetPaletteForegroundColor(PARAM *p, int id, int r, int g, int b);
2431 int pvSetFontColor(PARAM *p, int id, int r, int g, int b);
2441 int pvSetFont(PARAM *p, int id, const char *family, int pointsize, int bold, int italic , int underline, int strikeout);
2445 int pvDisplayNum(PARAM *p, int id, int num);
2449 int pvDisplayFloat(PARAM *p, int id, float val);
2453 int pvDisplayStr(PARAM *p, int id, const char *str);
2460 int pvAddTab(PARAM *p, int id, int id_child, const char *str);
2468 int pvSetListViewPixmap(PARAM *p, int id, const char *path, const char *bmp_file, int column, int download_icon=1);
2475 int pvRemoveListViewItem(PARAM *p, int id, const char *path);
2479 int pvRemoveIconViewItem(PARAM *p, int id, const char *text);
2483 int pvSetIconViewItem(PARAM *p, int id, const char *bmp_file, const char *text, int download_icon=1);
2488 int pvSetDateOrder(PARAM *p, int id, int order);
2493 int pvSetDate(PARAM *p, int id, int year, int month, int day);
2498 int pvSetMinDate(PARAM *p, int id, int year, int month, int day);
2503 int pvSetMaxDate(PARAM *p, int id, int year, int month, int day);
2508 int pvSetTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0);
2513 int pvSetMinTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0);
2518 int pvSetMaxTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0);
2523 int pvEnsureCellVisible(PARAM *p, int id, int row, int col=1);
2529 int pvMoveCursor(PARAM *p, int id, int cursor);
2534 int pvScrollToAnchor(PARAM *p, int id, const char *anchor);
2539 int pvSetZoomFactor(PARAM *p, int id, float factor);
2544 int pvPrintHtmlOnPrinter(PARAM *p, int id);
2550 int pvSetWidgetProperty(PARAM *p, int id, const char *name, const char *value);
2555 int pvPassThroughOneJpegFrame(PARAM *p, int id, int source_fhdl, int inputIsSocket=1, int rotate=0);
2560 int pvSendJpegFrame(PARAM *p, int id, unsigned char *frame, int rotate=0);
2565 int pvSendRGBA(PARAM *p, int id, const unsigned char *image, int width, int height, int rotate=0);
2571 int pvSaveDrawBuffer(PARAM *p, int id, const char *filename); // end of group
2573 
2582 int pvWaitpid(PARAM *p);
2588 int pvText(PARAM *p, int id);
2593 int pvRequestJpeg(PARAM *p, int id);
2599 int pvRequestGeometry(PARAM *p, int id);
2605 int pvRequestParentWidgetId(PARAM *p, int id);
2610 int pvSelection(PARAM *p, int id);
2617 int pvRequestSvgBoundsOnElement(PARAM *p, int id, const char *objectname);
2624 int pvRequestSvgMatrixForElement(PARAM *p, int id, const char *objectname); // end of group
2626 
2641 int pvMoveContent(PARAM *p, int id, int pos);
2645 int pvSetGeometry(PARAM *p, int id, int x, int y, int w, int h);
2649 int pvSetMinSize(PARAM *p, int id, int w, int h);
2653 int pvSetMaxSize(PARAM *p, int id, int w, int h);
2658 int pvSetAlignment(PARAM *p, int id, int alignment);
2663 int pvSetChecked(PARAM *p, int id, int state);
2667 int pvMove(PARAM *p, int id, int x, int y);
2672 int pvResize(PARAM *p, int id, int w, int h);
2677 int pvHide(PARAM *p, int id);
2682 int pvShow(PARAM *p, int id);
2687 int pvSetParent(PARAM *p, int id, int id_parent);
2692 int pvSetMultiSelection(PARAM *p, int id, int mode);
2697 int pvSetEchoMode(PARAM *p, int id, int mode);
2702 int pvSetEditable(PARAM *p, int id, int editable);
2707 int pvSetEnabled(PARAM *p, int id, int enabled);
2712 int pvSetFocus(PARAM *p, int id);
2717 int pvTableSetEnabled(PARAM *p, int id, int x, int y, int enabled);
2725 int pvTableSetHeaderResizeEnabled(PARAM *p, int id, int horizontal ,int enabled, int section);
2733 int pvSetSorting(PARAM *p, int id, int column, int mode);
2738 int pvSetTabPosition(PARAM *p, int id, int pos);
2743 int pvEnableTabBar(PARAM *p, int id, int state);
2748 int pvSetNumRows(PARAM *p, int id, int num);
2753 int pvSetNumCols(PARAM *p, int id, int num);
2758 int pvInsertRows(PARAM *p, int id, int row, int count=1);
2763 int pvInsertColumns(PARAM *p, int id, int col, int count=1);
2768 int pvRemoveRow(PARAM *p, int id, int row);
2773 int pvRemoveColumn(PARAM *p, int id, int col);
2778 int pvSetCurrentItem(PARAM *p, int id, int index);
2784 int pvSetTimeEditDisplay(PARAM *p, int id, int hour, int minute, int second, int ampm);
2792 int pvListViewEnsureVisible(PARAM *p, int id, const char *path);
2801 int pvListViewSetOpen(PARAM *p, int id, const char *path, int open);
2805 int pvListViewSetHidden(PARAM *p, int id, int column, int hidden);
2812 int pvListViewSetStandardPopupMenu(PARAM *p, int id, int standard_menu);
2821 int pvSetStyle(PARAM *p, int id, int shape, int shadow, int line_width, int margin);
2828 int pvSetMovie(PARAM *p, int id, int background, const char *filename);
2837 int pvMovieControl(PARAM *p, int id, int step);
2843 int pvMovieSpeed(PARAM *p, int id, int speed);
2849 int pvAddTabIcon(PARAM *p, int id, int position, const char *bmp_file, int download_icon=1);
2855 int pvSetCellWidget(PARAM *p, int id, int parent, int row, int column);
2861 int pvSetContentsMargins(PARAM *p, int id, int xleft, int ytop, int xright, int ybottom);
2867 int pvSetSpacing(PARAM *p, int id, int param); // end of group
2869 
2870 
2877 int pvVtkTcl(PARAM *p, int id, const char *tcl_command);
2881 int pvVtkTclPrintf(PARAM *p, int id, const char *format, ...);
2885 int pvVtkTclScript(PARAM *p, int id, const char *filename); // end of group
2887 
2897 int pvHyperlink(PARAM *p, const char *link); // end of group
2899 
2906 int pvSendUserEvent(PARAM *p, int id, const char *text);
2913 int pvWriteFile(PARAM *p, const char *filename, int width, int height);
2917 int pvCloseFile(PARAM *p);
2923 char *pvGetTextParam(PARAM *p, const char *command);
2928 int pvGetText(const char *command, char *text);
2932 PARSE_EVENT_STRUCT *pvParseEventStruct(PARAM *p, const char *event);
2937 int pvParseEvent(const char *event, int *id, char *text);
2942 int pvCopyToClipboard(PARAM *p, int id);
2947 int pvPrint(PARAM *p, int id);
2952 int pvSave(PARAM *p, int id);
2957 int pvSave(PARAM *p, int id, const char *filename);
2962 int pvSaveAsBmp(PARAM *p, int id, const char *filename);
2967 int pvHtmlOrSvgDump(PARAM *p, int id, const char *filename);
2972 int pvRenderTreeDump(PARAM *p, int id, const char *filename);
2976 int pvSendFile(PARAM *p, const char *filename);
2981 int pvDownloadFileAs(PARAM *p, const char *filename, const char *newname);
2985 int pvDownloadFile(PARAM *p, const char *filename);
2986 
2990 int pvSetMaxClientsPerIpAdr(int max_clients);
2994 int pvMaxClientsPerIpAdr();
2999 int pvSetMaxClients(int max_clients);
3004 int pvMaxClients();
3010 
3014 int pvClearMessageQueue(PARAM *p);
3015 int pvtcpsend(PARAM *p, const char *buf, int len);
3016 int pvtcpsendstring(PARAM *p, const char *buf);
3017 int pvtcpsend_binary(PARAM *p, const char *buf, int len);
3018 int pvtcpreceive(PARAM *p, char *buf, int maxlen);
3019 int pvtcpreceive_binary(PARAM *p, char *buf, int maxlen);
3020  // end of group
3022 
3070 int pvSendHttpChunks(PARAM *p, const char *filename);
3087 int pvSendHttpContentLength(PARAM *p, const char *filename);
3092 int pvSendHttpResponseFile(PARAM *p, const char *filename, const char *content_type="text/html");
3096 int pvSendHttpResponse(PARAM *p, const char *html); // end of group
3098 
3109 int pvGlBegin(PARAM *p, int id);
3110 // /*! <pre>
3111 // This class is for reading a font for use within OpenGL
3112 // </pre> */
3113 class glFont
3114 {
3115 public:
3116  glFont();
3117  ~glFont();
3121  int read(const char *filename);
3125  int lineHeight();
3129  int charWidth(unsigned char c);
3133  int stringWidth(const char *str);
3138  void drawString(float x, float y, const char *str);
3142  void setZoom(float factor);
3146  void setRotation(int angle);
3150  void setFontSize(int pitch, float factor);
3151 
3152 private:
3153  // Information about a glyph. Tex_y2 can be calculated from tex_y1
3154  // and _tex_line_height (see below). Advance is the width of the
3155  // glyph in screen space.
3156  struct Glyph
3157  {
3159  int advance;
3160  };
3161  // An array to store the glyphs.
3162  //Glyph* _glyphs;
3164  // A table to quickly get the glyph belonging to a character.
3165  Glyph* _table[256];
3166  // The line height, in screen space and in texture space, and the
3167  // OpenGL id of the font texture.
3170  double zoom,zoom0;
3172 };
3180 int pvSendOpenGL(PARAM *p, const char *filename, GLuint *listarray, int max_array, glFont *proportional=NULL, glFont *fixed=NULL);
3184 int pvGlEnd(PARAM *p); // end of group
3186 
3196 int pvFileDialog(PARAM *p, int id_return, int type);
3209 int pvPopupMenu(PARAM *p, int id_return, const char *text);
3218 int pvMessageBox(PARAM *p, int id_return, int type, const char *text, int button0, int button1, int button2);
3224 int pvInputDialog(PARAM *p, int id_return, const char *text, const char *default_text);
3228 #define readDataCast int (*)(void *)
3229 #define showDataCast int (*)(PARAM *, void *)
3230 int pvRunModalDialog(PARAM *p, int width, int height, int (*showMask)(PARAM *p), void *userData,
3231  int (*readData)(void *d),
3232  int (*showData)(PARAM *p, void *d),
3233  void *d);
3240 int pvRunModalDialogScript(PARAM *p, int width, int height);
3248 int pvUpdateBaseWindow(PARAM *p);
3256 int pvUpdateBaseWindowOnOff(PARAM *p, int onoff);
3278 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);
3285 int pvDeleteDockWidget(PARAM *p, int dock_id, int delete_widget=0); // end of group
3287 
3296 int qpwSetCurveData(PARAM *p, int id, int c, int count, double *x, double *y);
3302 int qpwSetBufferedCurveData(PARAM *p, int id, int c);
3306 int qpwReplot(PARAM *p, int id);
3310 int qpwSetTitle(PARAM *p, int id, const char *text);
3314 int qpwSetCanvasBackground(PARAM *p, int id, int r, int g, int b);
3318 int qpwEnableOutline(PARAM *p, int id, int val);
3322 int qpwSetOutlinePen(PARAM *p, int id, int r, int g, int b);
3326 int qpwSetAutoLegend(PARAM *p, int id, int val);
3330 int qpwEnableLegend(PARAM *p, int id, int val);
3338 int qpwSetLegendPos(PARAM *p, int id, int pos);
3342 int qpwSetLegendFrameStyle(PARAM *p, int id, int style);
3346 int qpwEnableGridXMin(PARAM *p, int id);
3350 int qpwSetGridMajPen(PARAM *p, int id, int r, int g, int b, int style);
3354 int qpwSetGridMinPen(PARAM *p, int id, int r, int g, int b, int style);
3358 int qpwEnableAxis(PARAM *p, int id, int pos);
3362 int qpwSetAxisTitle(PARAM *p, int id, int pos, const char *text);
3367 int qpwSetAxisOptions(PARAM *p, int id, int pos, int val);
3371 int qpwSetAxisMaxMajor(PARAM *p, int id, int pos, int val);
3375 int qpwSetAxisMaxMinor(PARAM *p, int id, int pos, int val);
3379 int qpwInsertCurve(PARAM *p, int id, int index, const char *text);
3383 int qpwRemoveCurve(PARAM *p, int id, int index);
3388 int qpwSetCurvePen(PARAM *p, int id, int index, int r, int g, int b, int width=1, int style=SolidLine);
3393 int qpwSetCurveSymbol(PARAM *p, int id, int index, int symbol, int r1, int g1, int b1,
3394  int r2, int g2, int b2,
3395  int w, int h);
3400 int qpwSetCurveYAxis(PARAM *p, int id, int index, int pos);
3404 int qpwInsertMarker(PARAM *p, int id, int index);
3409 int qpwSetMarkerLineStyle(PARAM *p, int id, int index, int style);
3414 int qpwSetMarkerPos(PARAM *p, int id, int index, float x, float y);
3418 int qpwSetMarkerLabelAlign(PARAM *p, int id, int index, int align);
3423 int qpwSetMarkerPen(PARAM *p, int id, int index, int r, int g, int b, int style);
3428 int qpwSetMarkerLabel(PARAM *p, int id, int number, const char * text);
3433 int qpwSetMarkerFont(PARAM *p, int id, int index, const char *family, int size, int style);
3438 int qpwSetMarkerSymbol(PARAM *p, int id, int index, int symbol, int r1, int g1, int b1,
3439  int r2, int g2, int b2,
3440  int w, int h);
3445 int qpwInsertLineMarker(PARAM *p, int id, int index, const char *text, int pos);
3450 int qpwSetAxisScaleDraw( PARAM *p, int id, int pos, const char * text );
3454 int qpwSetAxisScale( PARAM *p, int id, int pos, float min, float max, float step); // end of group
3456 
3457 /* These fuctions can only be used on a QDrawWidget */
3458 /********* graphic functions ********************************************************/
3459 
3467 int pvSetZoomX(PARAM *p, int id, float zoom);
3472 int pvSetZoomY(PARAM *p, int id, float zoom);
3476 int gWriteFile(const char *file);
3480 int gCloseFile();
3484 int gBeginDraw(PARAM *p, int id);
3488 int gBox(PARAM *p, int x, int y, int w, int h);
3492 int gRect(PARAM *p, int x, int y, int w, int h);
3496 int gEndDraw(PARAM *p);
3500 int gLineTo(PARAM *p, int x, int y);
3506 int gBufferedLine(PARAM *p);
3511 int gLine(PARAM *p, float *x, float *y, int n);
3515 int gMoveTo(PARAM *p, int x, int y);
3520 int gRightYAxis(PARAM *p, float start, float delta, float end, int draw);
3524 int gSetColor(PARAM *p, int r, int g, int b);
3528 int gSetWidth(PARAM *p, int w);
3532 int gSetStyle(PARAM *p, int style);
3537 int gDrawArc(PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length);
3542 int gDrawPie(PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length);
3547 int gDrawPolygon(PARAM *p, int *x, int *y, int n);
3551 int gSetFont(PARAM *p, const char *family, int size, int weight, int italic);
3555 int gSetLinestyle(PARAM *p, int style);
3560 int gText(PARAM *p, int x, int y, const char *text, int alignment);
3565 int gTextInAxis(PARAM *p, float x, float y, const char *text, int alignment);
3573 int gSetFloatFormat(PARAM *p, const char *text);
3578 int gXAxis(PARAM *p, float start, float delta, float end, int draw);
3583 int gYAxis(PARAM *p, float start, float delta, float end, int draw);
3587 int gXGrid(PARAM *p);
3591 int gYGrid(PARAM *p);
3597 int gBoxWithText(PARAM *p, int x, int y, int w, int h, int fontsize, const char *xlabel, const char *ylabel, const char *rylabel);
3601 int gComment(PARAM *p, const char *comment);
3612 int gPlaySVG(PARAM *p, const char *filename);
3621 int gSocketPlaySVG(PARAM *p, const char *svgstring);
3625 int gTranslate(PARAM *p, float x, float y);
3630 int gRotate(PARAM *p, float angle);
3634 int gScale(PARAM *p, float sx, float sy);
3639 int pvSetSelector(PARAM *p, int id, int state);
3643 int pvPrintSvgOnPrinter(PARAM *p, int id);
3644  // end of group
3646 
3652 int qwtScaleSetTitle(PARAM *p, int id, const char *text);
3655 int qwtScaleSetTitleColor(PARAM *p, int id, int r, int g, int b);
3658 int qwtScaleSetTitleFont(PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout);
3662 int qwtScaleSetTitleAlignment(PARAM *p, int id, int flags);
3665 int qwtScaleSetBorderDist(PARAM *p, int id, int start, int end);
3668 int qwtScaleSetBaselineDist(PARAM *p, int id, int bd);
3671 int qwtScaleSetScaleDiv(PARAM *p, int id, float lBound, float hBound, int maxMaj, int maxMin, int log, float step, int ascend);
3674 int qwtScaleSetLabelFormat(PARAM *p, int id, int f, int prec, int fieldWidth);
3678 int qwtScaleSetLabelAlignment(PARAM *p, int id, int align);
3681 int qwtScaleSetLabelRotation(PARAM *p, int id, float rotation);
3685 int qwtScaleSetPosition(PARAM *p, int id, int position); // end of group
3693 int qwtThermoSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic);
3698 int qwtThermoSetOrientation(PARAM *p, int id, int orientation, int position);
3701 int qwtThermoSetBorderWidth(PARAM *p, int id, int width);
3704 int qwtThermoSetFillColor(PARAM *p, int id, int r, int g, int b);
3707 int qwtThermoSetAlarmColor(PARAM *p, int id, int r, int g, int b);
3710 int qwtThermoSetAlarmLevel(PARAM *p, int id, float level);
3713 int qwtThermoSetAlarmEnabled(PARAM *p, int id, int tf);
3716 int qwtThermoSetPipeWidth(PARAM *p, int id, int width);
3719 int qwtThermoSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f);
3722 int qwtThermoSetMargin(PARAM *p, int id, int margin);
3725 int qwtThermoSetValue(PARAM *p, int id, float value); // end of group
3733 int qwtKnobSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic);
3736 int qwtKnobSetMass(PARAM *p, int id, float mass);
3740 int qwtKnobSetOrientation(PARAM *p, int id, int orientation);
3744 int qwtKnobSetReadOnly(PARAM *p, int id, int rdonly);
3747 int qwtKnobSetKnobWidth(PARAM *p, int id, int width);
3750 int qwtKnobSetTotalAngle(PARAM *p, int id, float angle);
3753 int qwtKnobSetBorderWidth(PARAM *p, int id, int width);
3757 int qwtKnobSetSymbol(PARAM *p, int id, int symbol);
3760 int qwtKnobSetValue(PARAM *p, int id, float value); // end of group
3767 int qwtCounterSetStep(PARAM *p, int id, float step);
3770 int qwtCounterSetMinValue(PARAM *p, int id, float value);
3773 int qwtCounterSetMaxValue(PARAM *p, int id, float value);
3776 int qwtCounterSetStepButton1(PARAM *p, int id, int n);
3779 int qwtCounterSetStepButton2(PARAM *p, int id, int n);
3782 int qwtCounterSetStepButton3(PARAM *p, int id, int n);
3785 int qwtCounterSetNumButtons(PARAM *p, int id, int n);
3789 int qwtCounterSetIncSteps(PARAM *p, int id, int button, int n);
3792 int qwtCounterSetValue(PARAM *p, int id, float value); // end of group
3799 int qwtWheelSetMass(PARAM *p, int id, float mass);
3803 int qwtWheelSetOrientation(PARAM *p, int id, int orientation);
3807 int qwtWheelSetReadOnly(PARAM *p, int id, int rdonly);
3810 int qwtWheelSetTotalAngle(PARAM *p, int id, float angle);
3813 int qwtWheelSetTickCnt(PARAM *p, int id, int cnt);
3816 int qwtWheelSetViewAngle(PARAM *p, int id, float angle);
3819 int qwtWheelSetInternalBorder(PARAM *p, int id, int width);
3822 int qwtWheelSetWheelWidth(PARAM *p, int id, int width);
3825 int qwtWheelSetValue(PARAM *p, int id, float value); // end of group
3833 int qwtSliderSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic);
3836 int qwtSliderSetMass(PARAM *p, int id, float mass);
3840 int qwtSliderSetOrientation(PARAM *p, int id, int orientation);
3844 int qwtSliderSetReadOnly(PARAM *p, int id, int rdonly);
3848 int qwtSliderSetBgStyle(PARAM *p, int id, int style);
3851 int qwtSliderSetScalePos(PARAM *p, int id, int pos);
3854 int qwtSliderSetThumbLength(PARAM *p, int id, int length);
3857 int qwtSliderSetThumbWidth(PARAM *p, int id, int width);
3860 int qwtSliderSetBorderWidth(PARAM *p, int id, int width);
3863 int qwtSliderSetMargins(PARAM *p, int id, int x, int y);
3866 int qwtSliderSetValue(PARAM *p, int id, float value); // end of group
3873 int qwtCompassSetSimpleCompassRose(PARAM *p, int id, int numThorns, int numThornLevels, float width=0.2f);
3876 int qwtCompassSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f);
3879 int qwtCompassSetMass(PARAM *p, int id, float mass);
3883 int qwtCompassSetReadOnly(PARAM *p, int id, int rdonly);
3887 int qwtCompassSetFrameShadow(PARAM *p, int id, int shadow);
3890 int qwtCompassShowBackground(PARAM *p, int id, int show);
3893 int qwtCompassSetLineWidth(PARAM *p, int id, int width);
3897 int qwtCompassSetMode(PARAM *p, int id, int mode);
3900 int qwtCompassSetWrapping(PARAM *p, int id, int wrap);
3903 int qwtCompassSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step);
3906 int qwtCompassSetScaleArc(PARAM *p, int id, float min, float max);
3909 int qwtCompassSetOrigin(PARAM *p, int id, float o);
3913 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);
3916 int qwtCompassSetValue(PARAM *p, int id, float value); // end of group
3923 int qwtDialSetRange(PARAM *p, int id, float vmin, float vmax, float step=0.0f);
3926 int qwtDialSetMass(PARAM *p, int id, float mass);
3930 int qwtDialSetReadOnly(PARAM *p, int id, int rdonly);
3934 int qwtDialSetFrameShadow(PARAM *p, int id, int shadow);
3937 int qwtDialShowBackground(PARAM *p, int id, int show);
3940 int qwtDialSetLineWidth(PARAM *p, int id, int width);
3944 int qwtDialSetMode(PARAM *p, int id, int mode);
3947 int qwtDialSetWrapping(PARAM *p, int id, int wrap);
3950 int qwtDialSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step);
3953 int qwtDialSetScaleArc(PARAM *p, int id, float min, float max);
3956 int qwtDialSetOrigin(PARAM *p, int id, float o);
3960 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);
3963 int qwtDialSetValue(PARAM *p, int id, float value); // end of group
3970 int qwtAnalogClockSetTime(PARAM *p, int id, int hour, int minute, int second);
3973 int qwtAnalogClockSetMass(PARAM *p, int id, float mass);
3977 int qwtAnalogClockSetReadOnly(PARAM *p, int id, int rdonly);
3981 int qwtAnalogClockSetFrameShadow(PARAM *p, int id, int shadow);
3984 int qwtAnalogClockShowBackground(PARAM *p, int id, int show);
3987 int qwtAnalogClockSetLineWidth(PARAM *p, int id, int width);
3991 int qwtAnalogClockSetMode(PARAM *p, int id, int mode);
3994 int qwtAnalogClockSetWrapping(PARAM *p, int id, int wrap);
3997 int qwtAnalogClockSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step);
4000 int qwtAnalogClockSetScaleArc(PARAM *p, int id, float min, float max);
4003 int qwtAnalogClockSetOrigin(PARAM *p, int id, float o);
4012 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);
4015 int qwtAnalogClockSetValue(PARAM *p, int id, float value); // end of group
4017 
4024 float unit(PARAM *p, float val, int conversion); // end of group
4026 
4097 int textEventType(const char *text);
4103 const char *svgObjectName(const char *text);
4108 int getSvgBoundsOnElement(const char *text, float *x, float *y, float *width, float *height);
4113 int getSvgMatrixForElement(const char *text, float *m11, float *m12, float *m21, float *m22,
4114  float *det, float *dx, float *dy);
4119 int getGeometry(const char *text, int *x, int *y, int *width, int *height);
4124 int getParentWidgetId(const char *text, int *parent); // end of group
4126 
4173 #ifndef __VMS
4174 #include <string.h>
4175 #include <string>
4176 #include <iostream>
4177 #include <map>
4178 
4180 {
4181 public:
4183  virtual ~pvWidgetIdManager();
4184  int init(PARAM *p, int id_start);
4185  virtual int newId(const char *name);
4186  virtual int deleteWidget(PARAM *p, const char *name);
4187  virtual int id(const char *name);
4188  virtual int isInMap(const char *name);
4189  int isInMap(int id);
4190  int firstId();
4191  int nextId();
4192  int endId();
4193  const char *name(int id);
4194  int idStart();
4195  virtual int readEnumFromMask(const char *maskname);
4196 private:
4197  int insertBasicId(int id, const char *name);
4199  int *free;
4200  std::map <std::string, int> id_list;
4201  std::multimap <std::string, int>::iterator it;
4202 };
4203 #endif
4204  // end of group
4205 
4206 #endif
int pvRemoveColumn(PARAM *p, int id, int col)
Definition: processviewserver.h:290
Definition: processviewserver.h:580
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:479
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:309
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:450
Definition: processviewserver.h:256
int pvSetStyleSheet(PARAM *p, int id, const char *text)
Definition: processviewserver.h:349
int pvSetAlignment(PARAM *p, int id, int alignment)
Definition: processviewserver.h:453
Definition: processviewserver.h:442
Glyph _glyphs[256]
Definition: processviewserver.h:3163
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:441
int pvCSV(PARAM *p, int id, const char *command, char delimitor='\t')
int qwtAnalogClockSetMass(PARAM *p, int id, float mass)
Definition: processviewserver.h:451
Definition: processviewserver.h:168
int pvQLayoutVbox(PARAM *p, int id, int parent)
int pvMovieControl(PARAM *p, int id, int step)
Definition: processviewserver.h:334
Definition: processviewserver.h:304
UNIT_CONVERSION
Definition: processviewserver.h:541
Definition: processviewserver.h:102
Definition: processviewserver.h:138
int qwtSliderSetMargins(PARAM *p, int id, int x, int y)
Definition: processviewserver.h:550
Definition: processviewserver.h:451
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:4201
int qpwEnableOutline(PARAM *p, int id, int val)
int pvEnableTabBar(PARAM *p, int id, int state)
float tex_x2
Definition: processviewserver.h:3158
int qwtDialSetWrapping(PARAM *p, int id, int wrap)
int force_null_event
Definition: processviewserver.h:502
int millisecond
Definition: processviewserver.h:618
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:352
Definition: processviewserver.h:357
int pvQwtThermo(PARAM *p, int id, int parent)
MarkerSymbol
Definition: processviewserver.h:451
Definition: processviewserver.h:457
Definition: processviewserver.h:112
int glencode_set_param(PARAM *p)
Definition: processviewserver.h:546
Definition: processviewserver.h:450
Definition: processviewserver.h:310
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:569
Definition: processviewserver.h:135
const char * communication_plugin
Definition: processviewserver.h:515
Definition: processviewserver.h:319
Definition: processviewserver.h:133
Definition: processviewserver.h:459
FileDialogs
Definition: processviewserver.h:367
int pvInsertRows(PARAM *p, int id, int row, int count=1)
int pvSetNumCols(PARAM *p, int id, int num)
Definition: processviewserver.h:575
Definition: processviewserver.h:574
Definition: processviewserver.h:114
Definition: processviewserver.h:551
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:453
Definition: processviewserver.h:222
int qwtAnalogClockSetFrameShadow(PARAM *p, int id, int shadow)
Definition: processviewserver.h:451
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:444
Definition: processviewserver.h:451
Definition: processviewserver.h:468
Definition: processviewserver.h:132
Definition: processviewserver.h:101
int gLine(PARAM *p, float *x, float *y, int n)
Definition: processviewserver.h:599
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:451
float * x
Definition: processviewserver.h:488
const char * svgObjectName(const char *text)
Definition: processviewserver.h:600
Definition: processviewserver.h:437
Definition: processviewserver.h:99
Definition: processviewserver.h:422
Definition: processviewserver.h:100
int hour
Definition: processviewserver.h:621
Definition: processviewserver.h:291
MouseShape
Definition: processviewserver.h:308
int pvZoomMask(PARAM *p, int percent)
double zoom
Definition: processviewserver.h:3170
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:399
Definition: processviewserver.h:421
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:4198
Definition: processviewserver.h:378
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:570
int pvSetXY(PARAM *p, int i, float x, float y)
Definition: processviewserver.h:400
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:428
Definition: processviewserver.h:380
Definition: processviewserver.h:544
int is_binary
Definition: processviewserver.h:523
int pvQTable(PARAM *p, int id, int parent, int rows, int columns)
int exit_on_bind_error
Definition: processviewserver.h:499
Definition: processviewserver.h:379
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:353
Definition: processviewserver.h:382
int qwtWheelSetOrientation(PARAM *p, int id, int orientation)
Definition: processviewserver.h:3113
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:448
int pvQwtCounter(PARAM *p, int id, int parent)
Orientation
Definition: processviewserver.h:301
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:387
Definition: processviewserver.h:191
Definition: processviewserver.h:389
Definition: processviewserver.h:445
Definition: processviewserver.h:440
Definition: processviewserver.h:240
Definition: processviewserver.h:444
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:390
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:450
Definition: processviewserver.h:381
Definition: processviewserver.h:268
int qpwSetAxisMaxMajor(PARAM *p, int id, int pos, int val)
Definition: processviewserver.h:442
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:513
Definition: processviewserver.h:583
int pvSendHttpChunks(PARAM *p, const char *filename)
Definition: processviewserver.h:548
int qwtScaleSetTitle(PARAM *p, int id, const char *text)
Definition: processviewserver.h:616
int qwtSliderSetOrientation(PARAM *p, int id, int orientation)
Definition: processviewserver.h:402
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:438
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:443
int pvScreenHint(PARAM *p, int w, int h)
Definition: processviewserver.h:401
int(* cleanup)(void *)
Definition: processviewserver.h:477
virtual int newId(const char *name)
Definition: processviewserver.h:445
int nxy
Definition: processviewserver.h:490
int getFloats(const char *text, FloatArray *fa)
Definition: processviewserver.h:439
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:423
Definition: processviewserver.h:439
int qwtKnobSetScale(PARAM *p, int id, float min, float max, float step, int logarithmic)
Definition: processviewserver.h:254
Definition: processviewserver.h:394
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:507
int hello_counter
Definition: processviewserver.h:500
int pvDisplayNum(PARAM *p, int id, int num)
int(* plugin_pvtcpreceive)(PARAM *p, char *buf, int maxlen)
Definition: processviewserver.h:530
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:581
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:411
Definition: processviewserver.h:153
static const char null_string[]
Definition: processviewserver.h:587
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:430
Definition: processviewserver.h:420
int pvChangeItem(PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1)
Definition: processviewserver.h:364
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:576
int charWidth(unsigned char c)
int event
Definition: processviewserver.h:461
Definition: processviewserver.h:252
Definition: processviewserver.h:427
int qwtCompassSetMass(PARAM *p, int id, float mass)
Definition: processviewserver.h:448
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:596
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:439
Definition: processviewserver.h:4179
int pvVtkTclScript(PARAM *p, int id, const char *filename)
Definition: processviewserver.h:351
int qwtThermoSetOrientation(PARAM *p, int id, int orientation, int position)
Definition: processviewserver.h:388
char * mytext
Definition: processviewserver.h:514
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:4198
int pvListViewSetSelected(PARAM *p, int id, const char *path, int column, int selected)
int * free
Definition: processviewserver.h:4199
Definition: processviewserver.h:134
int f9
Definition: processviewserver.h:613
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:455
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:358
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:377
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:519
std::map< std::string, int > id_list
Definition: processviewserver.h:4200
Definition: processviewserver.h:215
Definition: processviewserver.h:370
int pvSetTabPosition(PARAM *p, int id, int pos)
int pvSetMovie(PARAM *p, int id, int background, const char *filename)
Definition: processviewserver.h:327
Definition: processviewserver.h:571
Definition: processviewserver.h:559
Definition: processviewserver.h:410
void setZoom(float factor)
CounterButton
Definition: processviewserver.h:443
Definition: processviewserver.h:457
int pvSetSelector(PARAM *p, int id, int state)
Definition: processviewserver.h:392
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:472
Linestyle
Definition: processviewserver.h:175
char file_prefix[32]
Definition: processviewserver.h:493
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:450
#define MAX_EVENT_LENGTH
Definition: processviewserver.h:79
void drawString(float x, float y, const char *str)
int i
Definition: processviewserver.h:462
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:489
int pvAccept(PARAM *p)
int s
Definition: processviewserver.h:470
Definition: processviewserver.h:439
Definition: processviewserver.h:549
Definition: processviewserver.h:163
void * app_data
Definition: processviewserver.h:478
Definition: processviewserver.h:369
Definition: processviewserver.h:561
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:437
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:529
Definition: processviewserver.h:129
Mode
Definition: processviewserver.h:290
Definition: processviewserver.h:418
int allow_pause
Definition: processviewserver.h:506
Definition: processviewserver.h:347
Definition: processviewserver.h:170
float tex_y1
Definition: processviewserver.h:3158
Definition: processviewserver.h:104
Definition: processviewserver.h:554
Definition: processviewserver.h:597
Definition: processviewserver.h:160
int pvGetText(const char *command, char *text)
Definition: processviewserver.h:439
int qwtAnalogClockSetReadOnly(PARAM *p, int id, int rdonly)
int qwtThermoSetValue(PARAM *p, int id, float value)
Definition: processviewserver.h:449
int pvSetTablePixmap(PARAM *p, int id, int x, int y, const char *bmp_file, int download_icon=1)
GLuint _line_height
Definition: processviewserver.h:3168
int gSetColor(PARAM *p, int r, int g, int b)
#define MAX_PRINTF_LENGTH
Definition: processviewserver.h:78
Definition: processviewserver.h:610
int qwtScaleSetScaleDiv(PARAM *p, int id, float lBound, float hBound, int maxMaj, int maxMin, int log, float step, int ascend)
KnobSymbol
Definition: processviewserver.h:442
int pvSetTableLabel(PARAM *p, int id, int x, int y, const char *text)
Definition: processviewserver.h:340
Definition: processviewserver.h:598
int gYGrid(PARAM *p)
Definition: processviewserver.h:448
Definition: processviewserver.h:368
Definition: processviewserver.h:441
AlignmentFlags
Definition: processviewserver.h:207
Definition: processviewserver.h:384
void * modalUserData
Definition: processviewserver.h:486
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:324
int iclientsocket
Definition: processviewserver.h:522
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:438
Definition: processviewserver.h:354
int gBufferedLine(PARAM *p)
int pvSave(PARAM *p, int id)
Definition: processviewserver.h:455
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:363
int qwtAnalogClockSetValue(PARAM *p, int id, float value)
Definition: processviewserver.h:441
int mouse_x
Definition: processviewserver.h:513
int pvPrint(PARAM *p, int id)
Definition: processviewserver.h:547
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:453
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:562
int pvCloseFile(PARAM *p)
Definition: processviewserver.h:145
Definition: processviewserver.h:268
int qwtThermoSetBorderWidth(PARAM *p, int id, int width)
Definition: processviewserver.h:396
ThermoPosition
Definition: processviewserver.h:441
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:356
Definition: processviewserver.h:567
Definition: processviewserver.h:346
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:484
int pvSetTableButton(PARAM *p, int id, int x, int y, const char *text)
Definition: processviewserver.h:432
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:446
int(* plugin_closesocket)(int s, PARAM *p)
Definition: processviewserver.h:532
int pvMain(PARAM *p)
int read(const char *filename)
Definition: processviewserver.h:448
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:434
Definition: processviewserver.h:230
Definition: processviewserver.h:439
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:564
int pvQGL(PARAM *p, int id, int parent)
Definition: processviewserver.h:136
int pvSetMouseShape(PARAM *p, int shape)
Definition: processviewserver.h:440
int qwtSliderSetMass(PARAM *p, int id, float mass)
Definition: processviewserver.h:375
int qpwInsertMarker(PARAM *p, int id, int index)
int pvSetMultiSelection(PARAM *p, int id, int mode)
Definition: processviewserver.h:431
Definition: processviewserver.h:419
Definition: processviewserver.h:198
Definition: processviewserver.h:594
int pvSetDate(PARAM *p, int id, int year, int month, int day)
int pvGlBegin(PARAM *p, int id)
int advance
Definition: processviewserver.h:3159
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:545
int my_pvlock_count
Definition: processviewserver.h:509
int i9
Definition: processviewserver.h:607
Definition: processviewserver.h:229
Definition: processviewserver.h:450
Definition: processviewserver.h:92
Definition: processviewserver.h:451
float unit(PARAM *p, float val, int conversion)
int qpwSetTitle(PARAM *p, int id, const char *text)
int pvlock(PARAM *p)
Definition: processviewserver.h:553
int pvSetRowHeight(PARAM *p, int id, int row, int height)
Definition: processviewserver.h:348
Definition: processviewserver.h:247
Definition: processviewserver.h:176
Definition: processviewserver.h:444
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:455
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:448
int pvQVtkTclWidget(PARAM *p, int id, int parent)
Definition: processviewserver.h:555
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:451
int gTextInAxis(PARAM *p, float x, float y, const char *text, int alignment)
Definition: processviewserver.h:391
Definition: processviewserver.h:318
int pvtcpsend_binary(PARAM *p, const char *buf, int len)
PARSE_EVENT_STRUCT parse_event_struct
Definition: processviewserver.h:487
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:339
int pvtcpsendstring(PARAM *p, const char *buf)
Definition: processviewserver.h:217
int os
Definition: processviewserver.h:471
int local_milliseconds
Definition: processviewserver.h:501
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:407
int pvQCheckBox(PARAM *p, int id, int parent)
int pvSetChecked(PARAM *p, int id, int state)
Definition: processviewserver.h:345
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:624
Definition: processviewserver.h:447
Definition: processviewserver.h:543
int gXGrid(PARAM *p)
char lang_section[32]
Definition: processviewserver.h:517
int pvCopyToClipboard(PARAM *p, int id)
int textEventType(const char *text)
Definition: processviewserver.h:440
int qwtWheelSetTickCnt(PARAM *p, int id, int cnt)
int angle_128x128
Definition: processviewserver.h:3171
int qwtSliderSetValue(PARAM *p, int id, float value)
int pvClearMessageQueue(PARAM *p)
int gSocketPlaySVG(PARAM *p, const char *svgstring)
Definition: processviewserver.h:374
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:475
Definition: processviewserver.h:448
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:440
Definition: processviewserver.h:593
char initial_mask[MAX_PRINTF_LENGTH]
Definition: processviewserver.h:492
Shadow
Definition: processviewserver.h:361
int version
Definition: processviewserver.h:630
TabWidgetPos
Definition: processviewserver.h:405
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:572
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:520
Definition: processviewserver.h:604
double zoom0
Definition: processviewserver.h:3170
int qpwSetMarkerPos(PARAM *p, int id, int index, float x, float y)
int qpwSetBufferedCurveData(PARAM *p, int id, int c)
KeyboardModifiers
Definition: processviewserver.h:409
int pvSendUserEvent(PARAM *p, int id, const char *text)
Definition: processviewserver.h:437
int qwtScaleSetTitleAlignment(PARAM *p, int id, int flags)
int second
Definition: processviewserver.h:619
int qwtCompassSetWrapping(PARAM *p, int id, int wrap)
int qwtCompassSetFrameShadow(PARAM *p, int id, int shadow)
Definition: processviewserver.h:211
Definition: processviewserver.h:449
Definition: processviewserver.h:248
int pvClear(PARAM *p, int id)
float _tex_line_height
Definition: processviewserver.h:3169
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:595
int gWriteFile(const char *file)
Definition: processviewserver.h:565
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:447
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:457
Definition: processviewserver.h:290
Definition: processviewserver.h:298
Definition: processviewserver.h:444
int pvSetTime(PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
Definition: processviewserver.h:582
long clipboard_length
Definition: processviewserver.h:481
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:393
char version[32]
Definition: processviewserver.h:497
int qwtSliderSetBorderWidth(PARAM *p, int id, int width)
Definition: processviewserver.h:443
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:516
int pvGlUpdate(PARAM *p, int id)
Order
Definition: processviewserver.h:455
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:450
Definition: processviewserver.h:566
int pvQProgressBar(PARAM *p, int id, int parent, int total_steps, int orientation=Horizontal)
Definition: processviewserver.h:591
Definition: processviewserver.h:169
int pvShow(PARAM *p, int id)
Definition: processviewserver.h:552
int month
Definition: processviewserver.h:623
Definition: processviewserver.h:385
int pvRequestJpeg(PARAM *p, int id)
int pvRequestSvgBoundsOnElement(PARAM *p, int id, const char *objectname)
Definition: processviewserver.h:244
int language
Definition: processviewserver.h:473
int pvSetEchoMode(PARAM *p, int id, int mode)
Definition: processviewserver.h:450
Definition: processviewserver.h:453
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:372
Definition: processviewserver.h:3156
Definition: processviewserver.h:406
const char * getTextFromText(const char *text)
Definition: processviewserver.h:451
int qwtThermoSetMargin(PARAM *p, int id, int margin)
Definition: processviewserver.h:128
int pvQPushButton(PARAM *p, int id, int parent)
Definition: processviewserver.h:412
int qwtAnalogClockSetScale(PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
Definition: processviewserver.h:157
int num_additional_widgets
Definition: processviewserver.h:511
Definition: processviewserver.h:558
int pvSetMaxSize(PARAM *p, int id, int w, int h)
Definition: processviewserver.h:122
Definition: processviewserver.h:627
SliderBGSTYLE
Definition: processviewserver.h:445
int qwtCounterSetStepButton2(PARAM *p, int id, int n)
int(* readData)(void *d)
Definition: processviewserver.h:483
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:518
Definition: processviewserver.h:321
Definition: processviewserver.h:577
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:629
const pvAddressTableItem * pvGetAdrTableItem()
Definition: processviewserver.h:373
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:451
int gEndDraw(PARAM *p)
Definition: processviewserver.h:155
Definition: processviewserver.h:311
int pvSetBufferTransparency(PARAM *p, int id, int a)
DialMode
Definition: processviewserver.h:447
int init(PARAM *p, int id_start)
Definition: processviewserver.h:592
int pvPrintHtmlOnPrinter(PARAM *p, int id)
int modal
Definition: processviewserver.h:482
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:579
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:557
Definition: processviewserver.h:121
GLuint _texture
Definition: processviewserver.h:3168
Definition: processviewserver.h:448
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:362
Definition: processviewserver.h:556
Definition: processviewserver.h:291
int pvSetCellWidget(PARAM *p, int id, int parent, int row, int column)
Definition: processviewserver.h:446
char * clipboard
Definition: processviewserver.h:480
int qpwSetGridMajPen(PARAM *p, int id, int r, int g, int b, int style)
Definition: processviewserver.h:601
Definition: processviewserver.h:383
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:584
int pvSetSpacing(PARAM *p, int id, int param)
int qwtSliderSetScalePos(PARAM *p, int id, int pos)
Definition: processviewserver.h:355
int pvRemoveListViewItem(PARAM *p, int id, const char *path)
Definition: processviewserver.h:268
Definition: processviewserver.h:449
Definition: processviewserver.h:437
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:438
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:528
int pvIsAccessAllowed(const char *adr, int trace)
virtual int readEnumFromMask(const char *maskname)
Definition: processviewserver.h:337
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:620
Definition: processviewserver.h:438
Definition: processviewserver.h:451
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:444
Definition: processviewserver.h:426
int convert_units
Definition: processviewserver.h:474
Definition: processviewserver.h:196
KeyCodes
Definition: processviewserver.h:416
int qwtScaleSetTitleColor(PARAM *p, int id, int r, int g, int b)
Definition: processviewserver.h:634
int button
Definition: processviewserver.h:524
Shape
Definition: processviewserver.h:344
Definition: processviewserver.h:578
Definition: processviewserver.h:303
int pvSendVersion(PARAM *p)
int free
Definition: processviewserver.h:496
float tex_x1
Definition: processviewserver.h:3158
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:521
Definition: processviewserver.h:443
int qwtScaleSetPosition(PARAM *p, int id, int position)
Glyph * _table[256]
Definition: processviewserver.h:3165
Definition: processviewserver.h:446
virtual int deleteWidget(PARAM *p, const char *name)
Definition: processviewserver.h:441
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:440
int pvUpdateBaseWindowOnOff(PARAM *p, int onoff)
Definition: processviewserver.h:450
Definition: processviewserver.h:263
Definition: processviewserver.h:568
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:417
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:317
pvHide(p,ID_HELP) pvShow(p,ID_HELP)
Definition: processviewserver.h:88
Definition: processviewserver.h:365
int qwtCompassSetScaleArc(PARAM *p, int id, float min, float max)
Definition: processviewserver.h:563
Definition: processviewserver.h:325
Definition: processviewserver.h:413
Definition: processviewserver.h:218
int pvMovieSpeed(PARAM *p, int id, int speed)
void * modal_d
Definition: processviewserver.h:485
SliderScalePos
Definition: processviewserver.h:444
Definition: processviewserver.h:451
int qwtKnobSetReadOnly(PARAM *p, int id, int rdonly)
Definition: processviewserver.h:316
int pvQwtAnalogClock(PARAM *p, int id, int parent)
Definition: processviewserver.h:438
Definition: processviewserver.h:291
Definition: processviewserver.h:212
int pvSetZoomX(PARAM *p, int id, float zoom)
ButtonClicked
Definition: processviewserver.h:453
Definition: processviewserver.h:323
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:433
int pvQListView(PARAM *p, int id, int parent)
int gTranslate(PARAM *p, float x, float y)
Definition: processviewserver.h:103
Definition: processviewserver.h:313
Definition: processviewserver.h:329
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:445
Definition: processviewserver.h:449
CompassNeedle
Definition: processviewserver.h:449
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:441
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:491
Definition: processviewserver.h:226
Definition: processviewserver.h:455
int qpwSetCurveYAxis(PARAM *p, int id, int index, int pos)
Definition: processviewserver.h:573
int gRect(PARAM *p, int x, int y, int w, int h)
Definition: processviewserver.h:424
int qwtThermoSetAlarmColor(PARAM *p, int id, int r, int g, int b)
int qwtDialSetFrameShadow(PARAM *p, int id, int shadow)
Definition: processviewserver.h:403
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:425
Definition: processviewserver.h:449
int pvtcpreceive_binary(PARAM *p, char *buf, int maxlen)
int pvPollEvent(PARAM *p, char *event)
Definition: processviewserver.h:197
TextEvents
Definition: processviewserver.h:589
Definition: processviewserver.h:350
int qwtSliderSetThumbLength(PARAM *p, int id, int length)
Definition: processviewserver.h:395
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:438
int pvText(PARAM *p, int id)
Definition: processviewserver.h:386
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:437
int qpwSetAxisScaleDraw(PARAM *p, int id, int pos, const char *text)
int day
Definition: processviewserver.h:622
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:476
SetTextOption
Definition: processviewserver.h:457
int pvAddColumn(PARAM *p, int id, const char *text, int size)
char pvserver_version[32]
Definition: processviewserver.h:498
Definition: processviewserver.h:560
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:531
Definition: processviewserver.h:439
int pvStartDefinition(PARAM *p, int num_objects)
DialShadow
Definition: processviewserver.h:446
int qpwSetCurveData(PARAM *p, int id, int c, int count, double *x, double *y)
Definition: processviewserver.h:451
Definition: processviewserver.h:429
int pvMoveCursor(PARAM *p, int id, int cursor)
int pvGetInitialMask(PARAM *p)
Definition: processviewserver.h:331
Definition: processviewserver.h:443
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)