![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <alarm.h>#include <epicsTime.h>#include <epicsString.h>#include <cadef.h>#include "tool_lib.h"
Include dependency graph for tool_lib.c:Go to the source code of this file.
Macros | |
| #define | TIMETEXTLEN 28 /* Length of timestamp text buffer */ |
| #define | STR 500 |
| #define | FMT_TIME " Timestamp: %s" |
| #define | ARGS_TIME(T) timeText |
| #define | FMT_STS |
| #define | ARGS_STS(T) |
| #define | ARGS_STS_UNSIGNED(T) |
| #define | FMT_ACK |
| #define | ARGS_ACK(T) |
| #define | FMT_UNITS " Units: %s" |
| #define | ARGS_UNITS(T) ((struct T *)value)->units |
| #define | FMT_PREC " Precision: %d" |
| #define | ARGS_PREC(T) ((struct T *)value)->precision |
| #define | FMT_GR(FMT) |
| #define | ARGS_GR(T, F) |
| #define | FMT_CTRL(FMT) |
| #define | ARGS_CTRL(T, F) |
| #define | PRN_DBR_STS(T) |
| #define | PRN_DBR_TIME(T) |
| #define | PRN_DBR_GR(T, F, FMT) |
| #define | PRN_DBR_GR_PREC(T, F, FMT) |
| #define | PRN_DBR_CTRL(T, F, FMT) |
| #define | PRN_DBR_CTRL_PREC(T, F, FMT) |
| #define | PRN_DBR_STSACK(T) |
| #define | PRN_DBR_X_ENUM(T) |
| #define | DBR_PRINT_BUFFER_SIZE |
| #define | PRN_TIME_VAL_STS(TYPE, TYPE_ENUM) |
Functions | |
| char * | val2str (const void *v, unsigned type, int index) |
| char * | dbr2str (const void *value, unsigned type) |
| void | print_time_val_sts (pv *pv, unsigned long reqElems) |
| int | create_pvs (pv *pvs, int nPvs, caCh *pCB) |
| int | connect_pvs (pv *pvs, int nPvs) |
Variables | |
| TimeT | tsType = absolute |
| int | tsSrcServer = 1 |
| int | tsSrcClient = 0 |
| IntFormatT | outTypeI = dec |
| IntFormatT | outTypeF = dec |
| char | dblFormatStr [30] = "%g" |
| char | timeFormatStr [30] = "%Y-%m-%d %H:%M:%S.%06f" |
| char | fieldSeparator = ' ' |
| int | enumAsNr = 0 |
| int | charArrAsStr = 0 |
| double | caTimeout = 1.0 |
| capri | caPriority = DEFAULT_CA_PRIORITY |
| #define ARGS_ACK | ( | T | ) |
Definition at line 230 of file tool_lib.c.
| #define ARGS_CTRL | ( | T, | |
| F | |||
| ) |
Definition at line 266 of file tool_lib.c.
| #define ARGS_GR | ( | T, | |
| F | |||
| ) |
Definition at line 254 of file tool_lib.c.
| #define ARGS_PREC | ( | T | ) | ((struct T *)value)->precision |
Definition at line 243 of file tool_lib.c.
| #define ARGS_STS | ( | T | ) |
Definition at line 218 of file tool_lib.c.
| #define ARGS_STS_UNSIGNED | ( | T | ) |
Definition at line 222 of file tool_lib.c.
| #define ARGS_TIME | ( | T | ) | timeText |
Definition at line 211 of file tool_lib.c.
| #define ARGS_UNITS | ( | T | ) | ((struct T *)value)->units |
Definition at line 237 of file tool_lib.c.
| #define DBR_PRINT_BUFFER_SIZE |
Definition at line 322 of file tool_lib.c.
| #define FMT_ACK |
Definition at line 226 of file tool_lib.c.
| #define FMT_CTRL | ( | FMT | ) |
Definition at line 262 of file tool_lib.c.
| #define FMT_GR | ( | FMT | ) |
Definition at line 246 of file tool_lib.c.
| #define FMT_PREC " Precision: %d" |
Definition at line 240 of file tool_lib.c.
| #define FMT_STS |
Definition at line 214 of file tool_lib.c.
| #define FMT_TIME " Timestamp: %s" |
Definition at line 208 of file tool_lib.c.
| #define FMT_UNITS " Units: %s" |
Definition at line 234 of file tool_lib.c.
| #define PRN_DBR_CTRL | ( | T, | |
| F, | |||
| FMT | |||
| ) |
Definition at line 295 of file tool_lib.c.
| #define PRN_DBR_CTRL_PREC | ( | T, | |
| F, | |||
| FMT | |||
| ) |
Definition at line 300 of file tool_lib.c.
| #define PRN_DBR_GR | ( | T, | |
| F, | |||
| FMT | |||
| ) |
Definition at line 285 of file tool_lib.c.
| #define PRN_DBR_GR_PREC | ( | T, | |
| F, | |||
| FMT | |||
| ) |
Definition at line 290 of file tool_lib.c.
| #define PRN_DBR_STS | ( | T | ) |
Definition at line 273 of file tool_lib.c.
| #define PRN_DBR_STSACK | ( | T | ) |
Definition at line 305 of file tool_lib.c.
| #define PRN_DBR_TIME | ( | T | ) |
Definition at line 278 of file tool_lib.c.
| #define PRN_DBR_X_ENUM | ( | T | ) |
Definition at line 310 of file tool_lib.c.
| #define PRN_TIME_VAL_STS | ( | TYPE, | |
| TYPE_ENUM | |||
| ) |
Definition at line 411 of file tool_lib.c.
| #define STR 500 |
| #define TIMETEXTLEN 28 /* Length of timestamp text buffer */ |
Definition at line 58 of file tool_lib.c.
| int connect_pvs | ( | pv * | pvs, |
| int | nPvs | ||
| ) |
Definition at line 621 of file tool_lib.c.
Definition at line 574 of file tool_lib.c.
| char* dbr2str | ( | const void * | value, |
| unsigned | type | ||
| ) |
Definition at line 333 of file tool_lib.c.
| void print_time_val_sts | ( | pv * | pv, |
| unsigned long | reqElems | ||
| ) |
Definition at line 503 of file tool_lib.c.
| char* val2str | ( | const void * | v, |
| unsigned | type, | ||
| int | index | ||
| ) |
Definition at line 109 of file tool_lib.c.
| capri caPriority = DEFAULT_CA_PRIORITY |
Definition at line 56 of file tool_lib.c.
| double caTimeout = 1.0 |
Definition at line 55 of file tool_lib.c.
| int charArrAsStr = 0 |
Definition at line 54 of file tool_lib.c.
| char dblFormatStr[30] = "%g" |
Definition at line 49 of file tool_lib.c.
| int enumAsNr = 0 |
Definition at line 53 of file tool_lib.c.
| char fieldSeparator = ' ' |
Definition at line 51 of file tool_lib.c.
| IntFormatT outTypeF = dec |
Definition at line 47 of file tool_lib.c.
| IntFormatT outTypeI = dec |
Definition at line 46 of file tool_lib.c.
| char timeFormatStr[30] = "%Y-%m-%d %H:%M:%S.%06f" |
Definition at line 50 of file tool_lib.c.
| int tsSrcClient = 0 |
Definition at line 45 of file tool_lib.c.
| int tsSrcServer = 1 |
Definition at line 44 of file tool_lib.c.
Definition at line 43 of file tool_lib.c.