ProcessViewBrowser-ServerProgramming
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
processviewserver.h File Reference
#include <stdio.h>
#include <string.h>
#include "vmsgl.h"
#include "wthread.h"
#include <string>
#include <iostream>
#include <map>

Go to the source code of this file.

Data Structures

struct  PARSE_EVENT_STRUCT
 
struct  _PARAM_
 
struct  IntegerArray
 
struct  FloatArray
 
struct  pvTime
 
struct  pvAddressTableItem
 
struct  pvAddressTable
 
class  glFont
 
struct  glFont::Glyph
 
class  pvWidgetIdManager
 

Macros

#define pv_STDIN   0
 
#define pv_STDOUT   1
 
#define MAX_PRINTF_LENGTH   1024 /*! max length of pvPrintf buffer (must be less than or equal to MAX_PRINTF_LENGTH of ProcessViewBrowser) */
 
#define MAX_EVENT_LENGTH   1024 /*! max length of an event */
 
#define MAX_CLIENTS   100 /*! max number of clients */
 
#define MAX_DOCK_WIDGETS   32
 
#define HELVETICA   "Helvetica"
 
#define TIMES   "Times"
 
#define COURIER   "Courier"
 
#define OLDENGLISH   "OldEnglish"
 
#define SYSTEM   "System"
 
#define ANYSTYLE   "AnyStyle"
 
#define RED   255,0,0
 
#define GREEN   0,255,0
 
#define BLUE   0,0,255
 
#define WHITE   255,255,255
 
#define BLACK   0,0,0
 
#define YELLOW   255,255,0
 
#define LILA   255,0,255
 
#define CYAN   0,255,255
 
#define DARK_GREY   128,128,128
 
#define LIGHT_GREY   180,180,180
 
#define WHEAT   213,213,154
 
#define DARK_RED   128,0,0
 
#define DARK_GREEN   0,128,0
 
#define DARK_LILA   128,0,128
 
#define DARK_CYAN   0,128,128
 
#define DARK_YELLOW   200,200,0
 
#define DARK_BLUE   0,0,128
 
#define DEFAULT_LANGUAGE   0
 
#define pvtr(txt)   txt
 
#define PARAM_P   PARAM p;pvInit(0,NULL,&p);
 
#define INITIALIZE_GL   "initializeGL"
 
#define RESIZE_GL   "resizeGL"
 
#define pvSetColumnWith   pvSetColumnWidth
 
#define readDataCast   int (*)(void *)
 
#define showDataCast   int (*)(PARAM *, void *)
 

Typedefs

typedef struct _PARAM_ PARAM
 
typedef int(* plugin_pvAccept) (PARAM *p)
 
typedef int(* plugin_pvtcpsend_binary) (PARAM *p, const char *buf, int len)
 
typedef int(* plugin_pvtcpreceive) (PARAM *p, char *buf, int maxlen)
 
typedef int(* plugin_pvtcpreceive_binary) (PARAM *p, char *buf, int maxlen)
 
typedef int(* plugin_closesocket) (int s, PARAM *p)
 

Enumerations

enum  MainWindowIds {
  ID_ROOTWIDGET = 0, ID_EDITBAR = -1, ID_TOOLBAR = -2, ID_STATUSBAR = -3,
  ID_MAINWINDOW = -4, ID_HELP = -5, ID_COOKIE = -6, ID_TAB = -7,
  ID_OPTIONS = -8, ID_DOCK_WIDGETS = -1000
}
 
enum  PvEvent {
  NULL_EVENT =1, BUTTON_EVENT, TEXT_EVENT, SLIDER_EVENT,
  CHECKBOX_EVENT, RADIOBUTTON_EVENT, GL_IDLE_EVENT, GL_PAINT_EVENT,
  GL_INITIALIZE_EVENT, GL_RESIZE_EVENT, TAB_EVENT, TABLE_CLICKED_EVENT,
  TABLE_TEXT_EVENT, SELECTION_EVENT, CLIPBOARD_EVENT, BUTTON_PRESSED_EVENT,
  BUTTON_RELEASED_EVENT, RIGHT_MOUSE_EVENT, KEYBOARD_EVENT, PLOT_MOUSE_MOVED_EVENT,
  PLOT_MOUSE_PRESSED_EVENT, PLOT_MOUSE_RELEASED_EVENT, USER_EVENT, MOUSE_OVER_EVENT
}
 
enum  {
  TQWidget = 0, TQPushButton, TQLabel, TQLineEdit,
  TQComboBox, TQLCDNumber, TQButtonGroup, TQRadio,
  TQCheck, TQSlider, TQFrame, TQImage,
  TQDraw, TQGl, TQTabWidget, TQGroupBox,
  TQListBox, TQTable, TQSpinBox, TQDial,
  TQProgressBar, TQMultiLineEdit, TQTextBrowser, TQListView,
  TQIconView, TQVtk, TQwtPlotWidget, TQwtScale,
  TQwtThermo, TQwtKnob, TQwtCounter, TQwtWheel,
  TQwtSlider, TQwtDial, TQwtCompass, TQwtAnalogClock,
  TQDateEdit, TQTimeEdit, TQDateTimeEdit, TQToolBox,
  TQVbox, TQHbox, TQGrid, TQCustomWidget
}
 
enum  Linestyle { LINESTYLE_NONE =0, LINESTYLE_CIRCLE, LINESTYLE_CROSS, LINESTYLE_RECT }
 
enum  Weight {
  Light = 25, Normal = 50, DemiBold = 63, Bold = 75,
  Black = 87
}
 
enum  FontAlignment { ALIGN_LEFT =0, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_VERT_CENTER }
 
enum  AlignmentFlags {
  AlignAuto = 0x0000, AlignLeft = 0x0001, AlignRight = 0x0002, AlignHCenter = 0x0004,
  AlignJustify = 0x0008, AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify, AlignTop = 0x0010, AlignBottom = 0x0020,
  AlignVCenter = 0x0040, AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter, AlignCenter = AlignVCenter | AlignHCenter
}
 
enum  TextFlags {
  SingleLine = 0x0080, DontClip = 0x0100, ExpandTabs = 0x0200, ShowPrefix = 0x0400,
  WordBreak = 0x0800, BreakAnywhere = 0x1000, DontPrint = 0x2000, Underline = 0x01000000,
  Overline = 0x02000000, StrikeOut = 0x04000000, IncludeTrailingSpaces = 0x08000000, NoAccel = 0x4000
}
 
enum  TextCursor {
  NoMove = 0, Start, StartOfLine, StartOfBlock,
  StartOfWord, PreviousBlock, PreviousCharacter, PreviousWord,
  Up, Left, WordLeft, End,
  EndOfLine, EndOfWord, EndOfBlock, NextBlock,
  NextCharacter, NextWord, Down, Right,
  WordRight
}
 
enum  FontNormalItalic { NORMAL = 0, ITALIC = 1 }
 
enum  Policy {
  NoInsertion =0, AtTop, AtCurrent, AtBottom,
  AfterCurrent, BeforeCurrent
}
 
enum  Mode { HEX =0, DEC, OCT, BINx }
 
enum  Mode2 { Hex =0, Dec, Oct, Bin }
 
enum  SegmentStyle { Outline =0, Filled, Flat }
 
enum  ORIENTATION { HORIZONTAL = 0, VERTICAL = 1 }
 
enum  Orientation { Horizontal = HORIZONTAL, Vertical = VERTICAL }
 
enum  MouseShape {
  ArrowCursor = 0, UpArrowCursor = 1, CrossCursor = 2, WaitCursor = 3,
  IBeamCursor = 4, SizeVerCursor = 5, SizeHorCursor = 6, SizeFDiagCursor = 8,
  SizeBDiagCursor = 7, SizeAllCursor = 9, BlankCursor = 10, SplitVCursor = 11,
  SplitHCursor = 12, PointingHandCursor = 13, ForbiddenCursor = 14, OpenHandCursor = 17,
  ClosedHandCursor = 18, WhatsThisCursor = 15, BusyCursor = 16
}
 
enum  Shape {
  NoFrame = 0, Box = 0x0001, Panel = 0x0002, WinPanel = 0x0003,
  HLine = 0x0004, VLine = 0x0005, StyledPanel = 0x0006, PopupPanel = 0x0007,
  MenuBarPanel = 0x0008, ToolBarPanel = 0x0009, LineEditPanel = 0x000a, TabWidgetPanel = 0x000b,
  GroupBoxPanel = 0x000c, MShape = 0x000f
}
 
enum  Shadow { Plain = 0x0010, Raised = 0x0020, Sunken = 0x0030, MShadow = 0x00f0 }
 
enum  FileDialogs { FileOpenDialog = 0, FileSaveDialog, FindDirectoryDialog }
 
enum  MessageBoxTypes { BoxInformation = 0, BoxWarning, BoxCritical }
 
enum  MessageBoxButtons {
  MessageBoxOk = 0x00000400, MessageBoxOpen = 0x00002000, MessageBoxSave = 0x00000800, MessageBoxCancel = 0x00400000,
  MessageBoxClose = 0x00200000, MessageBoxDiscard = 0x00800000, MessageBoxApply = 0x02000000, MessageBoxReset = 0x04000000,
  MessageBoxRestoreDefaults = 0x08000000, MessageBoxHelp = 0x01000000, MessageBoxSaveAll = 0x00001000, MessageBoxYes = 0x00004000,
  MessageBoxYesToAll = 0x00008000, MessageBoxNo = 0x00010000, MessageBoxNoToAll = 0x00020000, MessageBoxAbort = 0x00040000,
  MessageBoxRetry = 0x00080000, MessageBoxIgnore = 0x00100000, MessageBoxNoButton
}
 
enum  TextBrowserPos { Home = 0, Forward, Backward, Reload }
 
enum  TabWidgetPos { Top = 0, Bottom }
 
enum  KeyboardModifiers { ShiftButton = 4, ControlButton = 3, AltButton = 2, NormalKey = 1 }
 
enum  KeyCodes {
  Key_Escape = 0x1000000, Key_Pause = 0x1000008, Key_Print = 0x1000009, Key_SysReq = 0x100000a,
  Key_PageUp = 0x1000016, Key_PageDown = 0x1000017, Key_F1 = 0x1000030, Key_F2 = 0x1000031,
  Key_F3 = 0x1000032, Key_F4 = 0x1000033, Key_F5 = 0x1000034, Key_F6 = 0x1000035,
  Key_F7 = 0x1000036, Key_F8 = 0x1000037, Key_F9 = 0x1000038, Key_F10 = 0x1000039,
  Key_F11 = 0x100003a, Key_F12 = 0x100003b
}
 
enum  QpwLegend { BottomLegend = 0, TopLegend, LeftLegend, RightLegend }
 
enum  QwtAxis {
  yLeft, yRight, xBottom, xTop,
  axisCnt
}
 
enum  QwtAutoscale {
  pvNone = 0, IncludeRef = 1, Symmetric = 2, Floating = 4,
  Logarithmic = 8, Inverted = 16
}
 
enum  ScalePosition { ScaleLeft, ScaleRight, ScaleTop, ScaleBottom }
 
enum  ThermoPosition {
  ThermoNone, ThermoLeft, ThermoRight, ThermoTop,
  ThermoBottom
}
 
enum  KnobSymbol { KnobLine, KnobDot }
 
enum  CounterButton { CounterButton1, CounterButton2, CounterButton3, CounterButtonCnt }
 
enum  SliderScalePos {
  SliderNone, SliderLeft, SliderRight, SliderTop,
  SliderBottom
}
 
enum  SliderBGSTYLE { SliderBgTrough = 0x1, SliderBgSlot = 0x2, SliderBgBoth = SliderBgTrough | SliderBgSlot }
 
enum  DialShadow { DialPlain = Plain, DialRaised = Raised, DialSunken = Sunken }
 
enum  DialMode { RotateNeedle, RotateScale }
 
enum  DialNeedle {
  QwtDialNeedle1 = 1, QwtDialNeedle2, QwtDialNeedle3, QwtDialNeedle4,
  QwtDialLineNeedle, QwtDialArrowNeedle
}
 
enum  CompassNeedle {
  QwtCompassNeedle1 = 1, QwtCompassNeedle2, QwtCompassNeedle3, QwtCompassNeedle4,
  QwtCompassLineNeedle
}
 
enum  PenStyle {
  NoPen, SolidLine, DashLine, DotLine,
  DashDotLine, DashDotDotLine, MPenStyle = 0x0f
}
 
enum  MarkerSymbol {
  MarkerNone, MarkerEllipse, MarkerRect, MarkerDiamond,
  MarkerTriangle, MarkerDTriangle, MarkerUTriangle, MarkerLTriangle,
  MarkerRTriangle, MarkerCross, MarkerXCross, MarkerStyleCnt
}
 
enum  ButtonClicked { NoButton = 0, LeftButton, MiddleButton, RightButton }
 
enum  Order { DMY, MDY, YMD, YDM }
 
enum  SetTextOption { HTML_HEADER = 1, HTML_STYLE, HTML_BODY }
 
enum  UNIT_CONVERSION {
  MM2INCH = 1, INCH2MM, CM2FOOT, FOOT2CM,
  CM2YARD, YARD2CM, KM2MILE, MILE2KM,
  KM2NAUTICAL_MILE, NAUTICAL_MILE2KM, QMM2SQINCH, SQINCH2QMM,
  QCM2SQFOOT, SQFOOT2QCM, QM2SQYARD, SQYARD2QM,
  QM2ACRE, ACRE2QM, QKM2SQMILE, SQMILE2QKM,
  ML2TEASPOON, TEASPOON2ML, ML2TABLESPOON, TABLESPOON2ML,
  ML2OUNCE, OUNCE2ML, L2CUP, CUP2L,
  L2PINT, PINT2L, L2QUART, QUART2L,
  L2GALLON, GALLON2L, GR2OUNCE, OUNCE2GR,
  KG2POUND, POUND2KG, T2TON, TON2T,
  C2FAHRENHEIT, FAHRENHEIT2C
}
 
enum  TextEvents {
  PLAIN_TEXT_EVENT = 0, SVG_LEFT_BUTTON_PRESSED, SVG_MIDDLE_BUTTON_PRESSED, SVG_RIGHT_BUTTON_PRESSED,
  SVG_LEFT_BUTTON_RELEASED, SVG_MIDDLE_BUTTON_RELEASED, SVG_RIGHT_BUTTON_RELEASED, SVG_BOUNDS_ON_ELEMENT,
  SVG_MATRIX_FOR_ELEMENT, WIDGET_GEOMETRY, PARENT_WIDGET_ID
}
 

Functions

int glencode_set_param (PARAM *p)
 
int pvlock (PARAM *p)
 
int pvunlock (PARAM *p)
 
int pvsystem (const char *command)
 
void pvGetLocalTime (pvTime *pvtime)
 
int pvIsAccessAllowed (const char *adr, int trace)
 
int pvSendVersion (PARAM *p)
 
int pvXYAllocate (PARAM *p, int n)
 
int getIntegers (const char *text, IntegerArray *ia)
 
int getFloats (const char *text, FloatArray *fa)
 
const char * getTextFromText (const char *text)
 
int pvSetXY (PARAM *p, int i, float x, float y)
 
int * pvGetSocketPointer (PARAM *p)
 
int pvInitInternal (PARAM *p)
 
int pvInit (int ac, char **av, PARAM *p)
 
int pvAccept (PARAM *p)
 
int pvCreateThread (PARAM *p, int s)
 
int pvGetInitialMask (PARAM *p)
 
int pvMain (PARAM *p)
 
int pvSetCleanup (PARAM *p, int(*cleanup)(void *), void *app_data)
 
char * pvGetEvent (PARAM *p)
 
int pvPollEvent (PARAM *p, char *event)
 
int pvWait (PARAM *p, const char *pattern)
 
int pvGlUpdate (PARAM *p, int id)
 
int pvSleep (int milliseconds)
 
int pvWarning (PARAM *p, const char *text)
 
int pvMainFatal (PARAM *p, const char *text)
 
int pvThreadFatal (PARAM *p, const char *text)
 
int pvScreenHint (PARAM *p, int w, int h)
 
int pvSetMouseShape (PARAM *p, int shape)
 
int pvSetWhatsThis (PARAM *p, int id, const char *text)
 
int pvWhatsThisPrintf (PARAM *p, int id, const char *format,...)
 
int pvClientCommand (PARAM *p, const char *command, const char *filename, int downloadFile=0)
 
int pvWriteTextToFileAtClient (PARAM *p, const char *text, const char *filename)
 
int pvZoomMask (PARAM *p, int percent)
 
int pvSetManualUrl (PARAM *p, const char *url)
 
int pvSelectLanguage (PARAM *p, const char *section)
 
int pvStartDefinition (PARAM *p, int num_objects)
 
int pvQWidget (PARAM *p, int id, int parent)
 
int pvQLayoutVbox (PARAM *p, int id, int parent)
 
int pvQLayoutHbox (PARAM *p, int id, int parent)
 
int pvQLayoutGrid (PARAM *p, int id, int parent)
 
int pvQLabel (PARAM *p, int id, int parent)
 
int pvQComboBox (PARAM *p, int id, int parent, int editable, int policy)
 
int pvQLineEdit (PARAM *p, int id, int parent)
 
int pvQPushButton (PARAM *p, int id, int parent)
 
int pvQLCDNumber (PARAM *p, int id, int parent, int numDigits, int segmentStyle, int mode)
 
int pvQSlider (PARAM *p, int id, int parent, int minValue, int maxValue, int pageStep, int value, int orientation)
 
int pvQButtonGroup (PARAM *p, int id, int parent, int columns, int orientation, const char *title)
 
int pvQRadioButton (PARAM *p, int id, int parent)
 
int pvQCheckBox (PARAM *p, int id, int parent)
 
int pvQFrame (PARAM *p, int id, int parent, int shape, int shadow, int line_width, int margin)
 
int pvQDraw (PARAM *p, int id, int parent)
 
int pvQImage (PARAM *p, int id, int parent, const char *imagename, int *w=NULL, int *h=NULL, int *depth=NULL)
 
int pvQGL (PARAM *p, int id, int parent)
 
int pvQTabWidget (PARAM *p, int id, int parent)
 
int pvQToolBox (PARAM *p, int id, int parent)
 
int pvQGroupBox (PARAM *p, int id, int parent, int columns, int orientation, const char *title)
 
int pvQListBox (PARAM *p, int id, int parent)
 
int pvQTable (PARAM *p, int id, int parent, int rows, int columns)
 
int pvQSpinBox (PARAM *p, int id, int parent, int min, int max, int step)
 
int pvQDial (PARAM *p, int id, int parent, int min, int max, int page_step, int value)
 
int pvQProgressBar (PARAM *p, int id, int parent, int total_steps, int orientation=Horizontal)
 
int pvQMultiLineEdit (PARAM *p, int id, int parent, int editable, int max_lines)
 
int pvQTextBrowser (PARAM *p, int id, int parent)
 
int pvQListView (PARAM *p, int id, int parent)
 
int pvQIconView (PARAM *p, int id, int parent)
 
int pvQVtkTclWidget (PARAM *p, int id, int parent)
 
int pvQwtPlotWidget (PARAM *p, int id, int parent, int nCurves, int nMarker)
 
int pvQwtScale (PARAM *p, int id, int parent, int pos)
 
int pvQwtThermo (PARAM *p, int id, int parent)
 
int pvQwtKnob (PARAM *p, int id, int parent)
 
int pvQwtCounter (PARAM *p, int id, int parent)
 
int pvQwtWheel (PARAM *p, int id, int parent)
 
int pvQwtSlider (PARAM *p, int id, int parent)
 
int pvQwtDial (PARAM *p, int id, int parent)
 
int pvQwtCompass (PARAM *p, int id, int parent)
 
int pvQwtAnalogClock (PARAM *p, int id, int parent)
 
int pvQDateEdit (PARAM *p, int id, int parent)
 
int pvQTimeEdit (PARAM *p, int id, int parent)
 
int pvQDateTimeEdit (PARAM *p, int id, int parent)
 
int pvQCustomWidget (PARAM *p, int id, int parent, const char *name, const char *arg=NULL)
 
int pvEndDefinition (PARAM *p)
 
int pvAddWidgetOrLayout (PARAM *p, int id, int item, int row, int col)
 
int pvAddStretch (PARAM *p, int id, int param)
 
int pvTabOrder (PARAM *p, int id1, int id2)
 
int pvDeleteWidget (PARAM *p, int id)
 
int pvSetCaption (PARAM *p, const char *text)
 
int pvPlaySound (PARAM *p, const char *filename)
 
int pvBeep (PARAM *p)
 
int pvStatusMessage (PARAM *p, int r, int g, int b, const char *format,...)
 
int pvToolTip (PARAM *p, int id, const char *text)
 
int pvSetTextEx (PARAM *p, int id, const char *text, int option)
 
int pvSetText (PARAM *p, int id, const char *text)
 
int pvPrintf (PARAM *p, int id, const char *format,...)
 
int pvSetStyleSheet (PARAM *p, int id, const char *text)
 
int pvPrintfStyleSheet (PARAM *p, int id, const char *format,...)
 
int pvSetMinValue (PARAM *p, int id, int value)
 
int pvSetMaxValue (PARAM *p, int id, int value)
 
int pvSetValue (PARAM *p, int id, int value)
 
int pvClear (PARAM *p, int id)
 
int pvChangeItem (PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1)
 
int pvInsertItem (PARAM *p, int id, int index, const char *bmp_file, const char *text, int download_icon=1)
 
int pvRemoveItem (PARAM *p, int id, int index)
 
int pvRemoveItemByName (PARAM *p, int id, const char *name)
 
int pvAddColumn (PARAM *p, int id, const char *text, int size)
 
int pvRemoveAllColumns (PARAM *p, int id)
 
int pvSetTableText (PARAM *p, int id, int x, int y, const char *text)
 
int pvSetTableButton (PARAM *p, int id, int x, int y, const char *text)
 
int pvSetTableCheckBox (PARAM *p, int id, int x, int y, int state, const char *text)
 
int pvSetTableComboBox (PARAM *p, int id, int x, int y, int editable, const char *textlist)
 
int pvSetTableLabel (PARAM *p, int id, int x, int y, const char *text)
 
int pvTablePrintf (PARAM *p, int id, int x, int y, const char *format,...)
 
int pvSetTableTextAlignment (PARAM *p, int id, int x, int y, int alignment)
 
int pvMysqldump (PARAM *p, int id, const char *command)
 
int pvCSVdump (PARAM *p, int id, const char *filename, char delimitor='\t')
 
int pvCSVcreate (PARAM *p, const char *command, const char *filename)
 
int pvCSV (PARAM *p, int id, const char *command, char delimitor='\t')
 
int pvSetListViewText (PARAM *p, int id, const char *path, int column, const char *text)
 
int pvListViewPrintf (PARAM *p, int id, const char *path, int column, const char *format,...)
 
int pvListViewSetSelected (PARAM *p, int id, const char *path, int column, int selected)
 
int pvListBoxSetSelected (PARAM *p, int id, int index, int selected)
 
int pvSetColumnWidth (PARAM *p, int id, int column, int width)
 
int pvSetRowHeight (PARAM *p, int id, int row, int height)
 
int pvSetWordWrap (PARAM *p, int id, int wrap)
 
int pvSetPixmap (PARAM *p, int id, const char *bmp_file, int download_icon=1)
 
int pvSetTablePixmap (PARAM *p, int id, int x, int y, const char *bmp_file, int download_icon=1)
 
int pvSetSource (PARAM *p, int id, const char *html_file)
 
int pvSetImage (PARAM *p, int id, const char *filename, int rotate=0)
 
int pvSetBufferedJpgImage (PARAM *p, int id, const unsigned char *buffer, int buffersize, int rotate=0)
 
int pvSetBufferTransparency (PARAM *p, int id, int a)
 
int pvSetBackgroundColor (PARAM *p, int id, int r, int g, int b)
 
int pvSetPaletteBackgroundColor (PARAM *p, int id, int r, int g, int b)
 
int pvSetPaletteForegroundColor (PARAM *p, int id, int r, int g, int b)
 
int pvSetFontColor (PARAM *p, int id, int r, int g, int b)
 
int pvSetFont (PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout)
 
int pvDisplayNum (PARAM *p, int id, int num)
 
int pvDisplayFloat (PARAM *p, int id, float val)
 
int pvDisplayStr (PARAM *p, int id, const char *str)
 
int pvAddTab (PARAM *p, int id, int id_child, const char *str)
 
int pvSetListViewPixmap (PARAM *p, int id, const char *path, const char *bmp_file, int column, int download_icon=1)
 
int pvRemoveListViewItem (PARAM *p, int id, const char *path)
 
int pvRemoveIconViewItem (PARAM *p, int id, const char *text)
 
int pvSetIconViewItem (PARAM *p, int id, const char *bmp_file, const char *text, int download_icon=1)
 
int pvSetDateOrder (PARAM *p, int id, int order)
 
int pvSetDate (PARAM *p, int id, int year, int month, int day)
 
int pvSetMinDate (PARAM *p, int id, int year, int month, int day)
 
int pvSetMaxDate (PARAM *p, int id, int year, int month, int day)
 
int pvSetTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
 
int pvSetMinTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
 
int pvSetMaxTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
 
int pvEnsureCellVisible (PARAM *p, int id, int row, int col=1)
 
int pvMoveCursor (PARAM *p, int id, int cursor)
 
int pvScrollToAnchor (PARAM *p, int id, const char *anchor)
 
int pvSetZoomFactor (PARAM *p, int id, float factor)
 
int pvPrintHtmlOnPrinter (PARAM *p, int id)
 
int pvSetWidgetProperty (PARAM *p, int id, const char *name, const char *value)
 
int pvPassThroughOneJpegFrame (PARAM *p, int id, int source_fhdl, int inputIsSocket=1, int rotate=0)
 
int pvSendJpegFrame (PARAM *p, int id, unsigned char *frame, int rotate=0)
 
int pvSendRGBA (PARAM *p, int id, const unsigned char *image, int width, int height, int rotate=0)
 
int pvSaveDrawBuffer (PARAM *p, int id, const char *filename)
 
int pvWaitpid (PARAM *p)
 
int pvText (PARAM *p, int id)
 
int pvRequestJpeg (PARAM *p, int id)
 
int pvRequestGeometry (PARAM *p, int id)
 
int pvRequestParentWidgetId (PARAM *p, int id)
 
int pvSelection (PARAM *p, int id)
 
int pvRequestSvgBoundsOnElement (PARAM *p, int id, const char *objectname)
 
int pvRequestSvgMatrixForElement (PARAM *p, int id, const char *objectname)
 
int pvMoveContent (PARAM *p, int id, int pos)
 
int pvSetGeometry (PARAM *p, int id, int x, int y, int w, int h)
 
int pvSetMinSize (PARAM *p, int id, int w, int h)
 
int pvSetMaxSize (PARAM *p, int id, int w, int h)
 
int pvSetAlignment (PARAM *p, int id, int alignment)
 
int pvSetChecked (PARAM *p, int id, int state)
 
int pvMove (PARAM *p, int id, int x, int y)
 
int pvResize (PARAM *p, int id, int w, int h)
 
int pvHide (PARAM *p, int id)
 
int pvShow (PARAM *p, int id)
 
int pvSetParent (PARAM *p, int id, int id_parent)
 
int pvSetMultiSelection (PARAM *p, int id, int mode)
 
int pvSetEchoMode (PARAM *p, int id, int mode)
 
int pvSetEditable (PARAM *p, int id, int editable)
 
int pvSetEnabled (PARAM *p, int id, int enabled)
 
int pvSetFocus (PARAM *p, int id)
 
int pvTableSetEnabled (PARAM *p, int id, int x, int y, int enabled)
 
int pvTableSetHeaderResizeEnabled (PARAM *p, int id, int horizontal, int enabled, int section)
 
int pvSetSorting (PARAM *p, int id, int column, int mode)
 
int pvSetTabPosition (PARAM *p, int id, int pos)
 
int pvEnableTabBar (PARAM *p, int id, int state)
 
int pvSetNumRows (PARAM *p, int id, int num)
 
int pvSetNumCols (PARAM *p, int id, int num)
 
int pvInsertRows (PARAM *p, int id, int row, int count=1)
 
int pvInsertColumns (PARAM *p, int id, int col, int count=1)
 
int pvRemoveRow (PARAM *p, int id, int row)
 
int pvRemoveColumn (PARAM *p, int id, int col)
 
int pvSetCurrentItem (PARAM *p, int id, int index)
 
int pvSetTimeEditDisplay (PARAM *p, int id, int hour, int minute, int second, int ampm)
 
int pvListViewEnsureVisible (PARAM *p, int id, const char *path)
 
int pvListViewSetOpen (PARAM *p, int id, const char *path, int open)
 
int pvListViewSetHidden (PARAM *p, int id, int column, int hidden)
 
int pvListViewSetStandardPopupMenu (PARAM *p, int id, int standard_menu)
 
int pvSetStyle (PARAM *p, int id, int shape, int shadow, int line_width, int margin)
 
int pvSetMovie (PARAM *p, int id, int background, const char *filename)
 
int pvMovieControl (PARAM *p, int id, int step)
 
int pvMovieSpeed (PARAM *p, int id, int speed)
 
int pvAddTabIcon (PARAM *p, int id, int position, const char *bmp_file, int download_icon=1)
 
int pvSetCellWidget (PARAM *p, int id, int parent, int row, int column)
 
int pvSetContentsMargins (PARAM *p, int id, int xleft, int ytop, int xright, int ybottom)
 
int pvSetSpacing (PARAM *p, int id, int param)
 
int pvVtkTcl (PARAM *p, int id, const char *tcl_command)
 
int pvVtkTclPrintf (PARAM *p, int id, const char *format,...)
 
int pvVtkTclScript (PARAM *p, int id, const char *filename)
 
int pvHyperlink (PARAM *p, const char *link)
 
int pvSendUserEvent (PARAM *p, int id, const char *text)
 
int pvWriteFile (PARAM *p, const char *filename, int width, int height)
 
int pvCloseFile (PARAM *p)
 
char * pvGetTextParam (PARAM *p, const char *command)
 
int pvGetText (const char *command, char *text)
 
PARSE_EVENT_STRUCTpvParseEventStruct (PARAM *p, const char *event)
 
int pvParseEvent (const char *event, int *id, char *text)
 
int pvCopyToClipboard (PARAM *p, int id)
 
int pvPrint (PARAM *p, int id)
 
int pvSave (PARAM *p, int id)
 
int pvSave (PARAM *p, int id, const char *filename)
 
int pvSaveAsBmp (PARAM *p, int id, const char *filename)
 
int pvHtmlOrSvgDump (PARAM *p, int id, const char *filename)
 
int pvRenderTreeDump (PARAM *p, int id, const char *filename)
 
int pvSendFile (PARAM *p, const char *filename)
 
int pvDownloadFileAs (PARAM *p, const char *filename, const char *newname)
 
int pvDownloadFile (PARAM *p, const char *filename)
 
int pvSetMaxClientsPerIpAdr (int max_clients)
 
int pvMaxClientsPerIpAdr ()
 
int pvSetMaxClients (int max_clients)
 
int pvMaxClients ()
 
const pvAddressTableItempvGetAdrTableItem ()
 
int pvClearMessageQueue (PARAM *p)
 
int pvtcpsend (PARAM *p, const char *buf, int len)
 
int pvtcpsendstring (PARAM *p, const char *buf)
 
int pvtcpsend_binary (PARAM *p, const char *buf, int len)
 
int pvtcpreceive (PARAM *p, char *buf, int maxlen)
 
int pvtcpreceive_binary (PARAM *p, char *buf, int maxlen)
 
int pvSendHttpChunks (PARAM *p, const char *filename)
 
int pvSendHttpContentLength (PARAM *p, const char *filename)
 
int pvSendHttpResponseFile (PARAM *p, const char *filename, const char *content_type="text/html")
 
int pvSendHttpResponse (PARAM *p, const char *html)
 
int pvGlBegin (PARAM *p, int id)
 
int pvSendOpenGL (PARAM *p, const char *filename, GLuint *listarray, int max_array, glFont *proportional=NULL, glFont *fixed=NULL)
 
int pvGlEnd (PARAM *p)
 
int pvFileDialog (PARAM *p, int id_return, int type)
 
int pvPopupMenu (PARAM *p, int id_return, const char *text)
 
int pvMessageBox (PARAM *p, int id_return, int type, const char *text, int button0, int button1, int button2)
 
int pvInputDialog (PARAM *p, int id_return, const char *text, const char *default_text)
 
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)
 
int pvRunModalDialogScript (PARAM *p, int width, int height)
 
int pvTerminateModalDialog (PARAM *p)
 
int pvUpdateBaseWindow (PARAM *p)
 
int pvUpdateBaseWindowOnOff (PARAM *p, int onoff)
 
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 pvDeleteDockWidget (PARAM *p, int dock_id, int delete_widget=0)
 
int qpwSetCurveData (PARAM *p, int id, int c, int count, double *x, double *y)
 
int qpwSetBufferedCurveData (PARAM *p, int id, int c)
 
int qpwReplot (PARAM *p, int id)
 
int qpwSetTitle (PARAM *p, int id, const char *text)
 
int qpwSetCanvasBackground (PARAM *p, int id, int r, int g, int b)
 
int qpwEnableOutline (PARAM *p, int id, int val)
 
int qpwSetOutlinePen (PARAM *p, int id, int r, int g, int b)
 
int qpwSetAutoLegend (PARAM *p, int id, int val)
 
int qpwEnableLegend (PARAM *p, int id, int val)
 
int qpwSetLegendPos (PARAM *p, int id, int pos)
 
int qpwSetLegendFrameStyle (PARAM *p, int id, int style)
 
int qpwEnableGridXMin (PARAM *p, int id)
 
int qpwSetGridMajPen (PARAM *p, int id, int r, int g, int b, int style)
 
int qpwSetGridMinPen (PARAM *p, int id, int r, int g, int b, int style)
 
int qpwEnableAxis (PARAM *p, int id, int pos)
 
int qpwSetAxisTitle (PARAM *p, int id, int pos, const char *text)
 
int qpwSetAxisOptions (PARAM *p, int id, int pos, int val)
 
int qpwSetAxisMaxMajor (PARAM *p, int id, int pos, int val)
 
int qpwSetAxisMaxMinor (PARAM *p, int id, int pos, int val)
 
int qpwInsertCurve (PARAM *p, int id, int index, const char *text)
 
int qpwRemoveCurve (PARAM *p, int id, int index)
 
int qpwSetCurvePen (PARAM *p, int id, int index, int r, int g, int b, int width=1, int style=SolidLine)
 
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 qpwSetCurveYAxis (PARAM *p, int id, int index, int pos)
 
int qpwInsertMarker (PARAM *p, int id, int index)
 
int qpwSetMarkerLineStyle (PARAM *p, int id, int index, int style)
 
int qpwSetMarkerPos (PARAM *p, int id, int index, float x, float y)
 
int qpwSetMarkerLabelAlign (PARAM *p, int id, int index, int align)
 
int qpwSetMarkerPen (PARAM *p, int id, int index, int r, int g, int b, int style)
 
int qpwSetMarkerLabel (PARAM *p, int id, int number, const char *text)
 
int qpwSetMarkerFont (PARAM *p, int id, int index, const char *family, int size, int style)
 
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)
 
int qpwInsertLineMarker (PARAM *p, int id, int index, const char *text, int pos)
 
int qpwSetAxisScaleDraw (PARAM *p, int id, int pos, const char *text)
 
int qpwSetAxisScale (PARAM *p, int id, int pos, float min, float max, float step)
 
int pvSetZoomX (PARAM *p, int id, float zoom)
 
int pvSetZoomY (PARAM *p, int id, float zoom)
 
int gWriteFile (const char *file)
 
int gCloseFile ()
 
int gBeginDraw (PARAM *p, int id)
 
int gBox (PARAM *p, int x, int y, int w, int h)
 
int gRect (PARAM *p, int x, int y, int w, int h)
 
int gEndDraw (PARAM *p)
 
int gLineTo (PARAM *p, int x, int y)
 
int gBufferedLine (PARAM *p)
 
int gLine (PARAM *p, float *x, float *y, int n)
 
int gMoveTo (PARAM *p, int x, int y)
 
int gRightYAxis (PARAM *p, float start, float delta, float end, int draw)
 
int gSetColor (PARAM *p, int r, int g, int b)
 
int gSetWidth (PARAM *p, int w)
 
int gSetStyle (PARAM *p, int style)
 
int gDrawArc (PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length)
 
int gDrawPie (PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length)
 
int gDrawPolygon (PARAM *p, int *x, int *y, int n)
 
int gSetFont (PARAM *p, const char *family, int size, int weight, int italic)
 
int gSetLinestyle (PARAM *p, int style)
 
int gText (PARAM *p, int x, int y, const char *text, int alignment)
 
int gTextInAxis (PARAM *p, float x, float y, const char *text, int alignment)
 
int gSetFloatFormat (PARAM *p, const char *text)
 
int gXAxis (PARAM *p, float start, float delta, float end, int draw)
 
int gYAxis (PARAM *p, float start, float delta, float end, int draw)
 
int gXGrid (PARAM *p)
 
int gYGrid (PARAM *p)
 
int gBoxWithText (PARAM *p, int x, int y, int w, int h, int fontsize, const char *xlabel, const char *ylabel, const char *rylabel)
 
int gComment (PARAM *p, const char *comment)
 
int gPlaySVG (PARAM *p, const char *filename)
 
int gSocketPlaySVG (PARAM *p, const char *svgstring)
 
int gTranslate (PARAM *p, float x, float y)
 
int gRotate (PARAM *p, float angle)
 
int gScale (PARAM *p, float sx, float sy)
 
int pvSetSelector (PARAM *p, int id, int state)
 
int pvPrintSvgOnPrinter (PARAM *p, int id)
 
int qwtScaleSetTitle (PARAM *p, int id, const char *text)
 
int qwtScaleSetTitleColor (PARAM *p, int id, int r, int g, int b)
 
int qwtScaleSetTitleFont (PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout)
 
int qwtScaleSetTitleAlignment (PARAM *p, int id, int flags)
 
int qwtScaleSetBorderDist (PARAM *p, int id, int start, int end)
 
int qwtScaleSetBaselineDist (PARAM *p, int id, int bd)
 
int qwtScaleSetScaleDiv (PARAM *p, int id, float lBound, float hBound, int maxMaj, int maxMin, int log, float step, int ascend)
 
int qwtScaleSetLabelFormat (PARAM *p, int id, int f, int prec, int fieldWidth)
 
int qwtScaleSetLabelAlignment (PARAM *p, int id, int align)
 
int qwtScaleSetLabelRotation (PARAM *p, int id, float rotation)
 
int qwtScaleSetPosition (PARAM *p, int id, int position)
 
int qwtThermoSetScale (PARAM *p, int id, float min, float max, float step, int logarithmic)
 
int qwtThermoSetOrientation (PARAM *p, int id, int orientation, int position)
 
int qwtThermoSetBorderWidth (PARAM *p, int id, int width)
 
int qwtThermoSetFillColor (PARAM *p, int id, int r, int g, int b)
 
int qwtThermoSetAlarmColor (PARAM *p, int id, int r, int g, int b)
 
int qwtThermoSetAlarmLevel (PARAM *p, int id, float level)
 
int qwtThermoSetAlarmEnabled (PARAM *p, int id, int tf)
 
int qwtThermoSetPipeWidth (PARAM *p, int id, int width)
 
int qwtThermoSetRange (PARAM *p, int id, float vmin, float vmax, float step=0.0f)
 
int qwtThermoSetMargin (PARAM *p, int id, int margin)
 
int qwtThermoSetValue (PARAM *p, int id, float value)
 
int qwtKnobSetScale (PARAM *p, int id, float min, float max, float step, int logarithmic)
 
int qwtKnobSetMass (PARAM *p, int id, float mass)
 
int qwtKnobSetOrientation (PARAM *p, int id, int orientation)
 
int qwtKnobSetReadOnly (PARAM *p, int id, int rdonly)
 
int qwtKnobSetKnobWidth (PARAM *p, int id, int width)
 
int qwtKnobSetTotalAngle (PARAM *p, int id, float angle)
 
int qwtKnobSetBorderWidth (PARAM *p, int id, int width)
 
int qwtKnobSetSymbol (PARAM *p, int id, int symbol)
 
int qwtKnobSetValue (PARAM *p, int id, float value)
 
int qwtCounterSetStep (PARAM *p, int id, float step)
 
int qwtCounterSetMinValue (PARAM *p, int id, float value)
 
int qwtCounterSetMaxValue (PARAM *p, int id, float value)
 
int qwtCounterSetStepButton1 (PARAM *p, int id, int n)
 
int qwtCounterSetStepButton2 (PARAM *p, int id, int n)
 
int qwtCounterSetStepButton3 (PARAM *p, int id, int n)
 
int qwtCounterSetNumButtons (PARAM *p, int id, int n)
 
int qwtCounterSetIncSteps (PARAM *p, int id, int button, int n)
 
int qwtCounterSetValue (PARAM *p, int id, float value)
 
int qwtWheelSetMass (PARAM *p, int id, float mass)
 
int qwtWheelSetOrientation (PARAM *p, int id, int orientation)
 
int qwtWheelSetReadOnly (PARAM *p, int id, int rdonly)
 
int qwtWheelSetTotalAngle (PARAM *p, int id, float angle)
 
int qwtWheelSetTickCnt (PARAM *p, int id, int cnt)
 
int qwtWheelSetViewAngle (PARAM *p, int id, float angle)
 
int qwtWheelSetInternalBorder (PARAM *p, int id, int width)
 
int qwtWheelSetWheelWidth (PARAM *p, int id, int width)
 
int qwtWheelSetValue (PARAM *p, int id, float value)
 
int qwtSliderSetScale (PARAM *p, int id, float min, float max, float step, int logarithmic)
 
int qwtSliderSetMass (PARAM *p, int id, float mass)
 
int qwtSliderSetOrientation (PARAM *p, int id, int orientation)
 
int qwtSliderSetReadOnly (PARAM *p, int id, int rdonly)
 
int qwtSliderSetBgStyle (PARAM *p, int id, int style)
 
int qwtSliderSetScalePos (PARAM *p, int id, int pos)
 
int qwtSliderSetThumbLength (PARAM *p, int id, int length)
 
int qwtSliderSetThumbWidth (PARAM *p, int id, int width)
 
int qwtSliderSetBorderWidth (PARAM *p, int id, int width)
 
int qwtSliderSetMargins (PARAM *p, int id, int x, int y)
 
int qwtSliderSetValue (PARAM *p, int id, float value)
 
int qwtCompassSetSimpleCompassRose (PARAM *p, int id, int numThorns, int numThornLevels, float width=0.2f)
 
int qwtCompassSetRange (PARAM *p, int id, float vmin, float vmax, float step=0.0f)
 
int qwtCompassSetMass (PARAM *p, int id, float mass)
 
int qwtCompassSetReadOnly (PARAM *p, int id, int rdonly)
 
int qwtCompassSetFrameShadow (PARAM *p, int id, int shadow)
 
int qwtCompassShowBackground (PARAM *p, int id, int show)
 
int qwtCompassSetLineWidth (PARAM *p, int id, int width)
 
int qwtCompassSetMode (PARAM *p, int id, int mode)
 
int qwtCompassSetWrapping (PARAM *p, int id, int wrap)
 
int qwtCompassSetScale (PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
 
int qwtCompassSetScaleArc (PARAM *p, int id, float min, float max)
 
int qwtCompassSetOrigin (PARAM *p, int id, float o)
 
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 qwtCompassSetValue (PARAM *p, int id, float value)
 
int qwtDialSetRange (PARAM *p, int id, float vmin, float vmax, float step=0.0f)
 
int qwtDialSetMass (PARAM *p, int id, float mass)
 
int qwtDialSetReadOnly (PARAM *p, int id, int rdonly)
 
int qwtDialSetFrameShadow (PARAM *p, int id, int shadow)
 
int qwtDialShowBackground (PARAM *p, int id, int show)
 
int qwtDialSetLineWidth (PARAM *p, int id, int width)
 
int qwtDialSetMode (PARAM *p, int id, int mode)
 
int qwtDialSetWrapping (PARAM *p, int id, int wrap)
 
int qwtDialSetScale (PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
 
int qwtDialSetScaleArc (PARAM *p, int id, float min, float max)
 
int qwtDialSetOrigin (PARAM *p, int id, float o)
 
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 qwtDialSetValue (PARAM *p, int id, float value)
 
int qwtAnalogClockSetTime (PARAM *p, int id, int hour, int minute, int second)
 
int qwtAnalogClockSetMass (PARAM *p, int id, float mass)
 
int qwtAnalogClockSetReadOnly (PARAM *p, int id, int rdonly)
 
int qwtAnalogClockSetFrameShadow (PARAM *p, int id, int shadow)
 
int qwtAnalogClockShowBackground (PARAM *p, int id, int show)
 
int qwtAnalogClockSetLineWidth (PARAM *p, int id, int width)
 
int qwtAnalogClockSetMode (PARAM *p, int id, int mode)
 
int qwtAnalogClockSetWrapping (PARAM *p, int id, int wrap)
 
int qwtAnalogClockSetScale (PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
 
int qwtAnalogClockSetScaleArc (PARAM *p, int id, float min, float max)
 
int qwtAnalogClockSetOrigin (PARAM *p, int id, float o)
 
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 qwtAnalogClockSetValue (PARAM *p, int id, float value)
 
float unit (PARAM *p, float val, int conversion)
 
int textEventType (const char *text)
 
const char * svgObjectName (const char *text)
 
int getSvgBoundsOnElement (const char *text, float *x, float *y, float *width, float *height)
 
int getSvgMatrixForElement (const char *text, float *m11, float *m12, float *m21, float *m22, float *det, float *dx, float *dy)
 
int getGeometry (const char *text, int *x, int *y, int *width, int *height)
 
int getParentWidgetId (const char *text, int *parent)
 

Variables

const char pvserver_version [] = "5.1.6"
 
static const char null_string [] = ""
 

Variable Documentation

◆ pvserver_version

const char pvserver_version[] = "5.1.6"