ACQ400_XRM (xrmIoc)
Loading...
Searching...
No Matches
pvxsWrapper.h
1/*
2 * pvxsWrapper.h
3 *
4 * Created on: 27 Mar 2026
5 * Author: pgm
6 */
7
8#ifndef XRMIOCAPP_SRC_PVXSWRAPPER_H_
9#define XRMIOCAPP_SRC_PVXSWRAPPER_H_
10
11#define MAXSIZE 65536 // if pvxmonitor output ever greater than this per line, we're in trouble
12
13
14template<class CONTAINER>
15class PVX_getter {
16 const CONTAINER* parse(CONTAINER* values, char* txt);
17
18 const char* pv_name;
19 const char* needle;
20
21 static const char* make_pv_name(const char* hostname, const char* pv_suffix);
22public:
23
24 const CONTAINER* pvx_get(
25 CONTAINER* values,
26 bool wait_first_change = false);
27
28
29 PVX_getter(
30 const char* hostname,
31 const char* pv_suffix,
32 const char* NEEDLE = 0);
33
34 ~PVX_getter();
35};
36
37
38
39
40
41#endif /* XRMIOCAPP_SRC_PVXSWRAPPER_H_ */