ChimeraTK-DeviceAccess-DoocsBackend
01.09.02
eq_dummy.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <d_fct.h>
4
#include <doocs/Server.h>
5
#include <eq_fct.h>
6
7
class
eq_dummy
:
public
EqFct {
8
public
:
9
eq_dummy
(
const
EqFctParameters& p);
10
virtual
~eq_dummy
();
11
12
D_int
prop_someInt
;
13
D_int
prop_someReadonlyInt
;
14
D_float
prop_someFloat
;
15
D_double
prop_someDouble
;
16
D_string
prop_someString
;
17
D_status
prop_someStatus
;
18
D_bit
prop_someBit
;
19
20
D_intarray
prop_someIntArray
;
21
D_shortarray
prop_someShortArray
;
22
D_longarray
prop_someLongArray
;
23
D_floatarray
prop_someFloatArray
;
24
D_doublearray
prop_someDoubleArray
;
25
26
D_spectrum
prop_someSpectrum
;
27
D_iiii
prop_someIIII
;
28
D_ifff
prop_someIFFF
;
29
D_image
prop_someImage
;
30
D_ttii
prop_unsupportedDataType
;
31
32
D_int
prop_someZMQInt
;
33
34
int64_t
counter
;
35
int64_t
startTime
;
36
37
void
init
();
38
void
post_init
();
39
void
update
();
40
41
static
constexpr
int
code
= 10;
42
43
int
fct_code
()
override
{
return
code
; }
44
45
static
std::unique_ptr<doocs::Server>
createServer
() {
46
auto
server = std::make_unique<doocs::Server>(
"Dummy DOOCS server"
);
47
server->register_location_class<
eq_dummy
>();
48
return
server;
49
}
50
};
eq_dummy::prop_someImage
D_image prop_someImage
Definition:
eq_dummy.h:29
eq_dummy::prop_someIIII
D_iiii prop_someIIII
Definition:
eq_dummy.h:27
eq_dummy::fct_code
int fct_code() override
Definition:
eq_dummy.h:43
eq_dummy::prop_someString
D_string prop_someString
Definition:
eq_dummy.h:16
eq_dummy::prop_someBit
D_bit prop_someBit
Definition:
eq_dummy.h:18
eq_dummy::prop_someFloatArray
D_floatarray prop_someFloatArray
Definition:
eq_dummy.h:23
eq_dummy
Definition:
eq_dummy.h:7
eq_dummy::init
void init()
Definition:
eq_dummy.cc:23
eq_dummy::startTime
int64_t startTime
Definition:
eq_dummy.h:35
eq_dummy::eq_dummy
eq_dummy(const EqFctParameters &p)
Definition:
eq_dummy.cc:6
eq_dummy::prop_someLongArray
D_longarray prop_someLongArray
Definition:
eq_dummy.h:22
eq_dummy::update
void update()
Definition:
eq_dummy.cc:103
eq_dummy::prop_someStatus
D_status prop_someStatus
Definition:
eq_dummy.h:17
eq_dummy::prop_someZMQInt
D_int prop_someZMQInt
Definition:
eq_dummy.h:32
eq_dummy::prop_someSpectrum
D_spectrum prop_someSpectrum
Definition:
eq_dummy.h:26
eq_dummy::post_init
void post_init()
Definition:
eq_dummy.cc:94
eq_dummy::prop_unsupportedDataType
D_ttii prop_unsupportedDataType
Definition:
eq_dummy.h:30
eq_dummy::prop_someInt
D_int prop_someInt
Definition:
eq_dummy.h:12
eq_dummy::prop_someDouble
D_double prop_someDouble
Definition:
eq_dummy.h:15
eq_dummy::code
static constexpr int code
Definition:
eq_dummy.h:41
eq_dummy::prop_someShortArray
D_shortarray prop_someShortArray
Definition:
eq_dummy.h:21
eq_dummy::createServer
static std::unique_ptr< doocs::Server > createServer()
Definition:
eq_dummy.h:45
eq_dummy::prop_someIntArray
D_intarray prop_someIntArray
Definition:
eq_dummy.h:20
eq_dummy::counter
int64_t counter
Definition:
eq_dummy.h:34
eq_dummy::prop_someReadonlyInt
D_int prop_someReadonlyInt
Definition:
eq_dummy.h:13
eq_dummy::prop_someDoubleArray
D_doublearray prop_someDoubleArray
Definition:
eq_dummy.h:24
eq_dummy::~eq_dummy
virtual ~eq_dummy()
Definition:
eq_dummy.cc:21
eq_dummy::prop_someIFFF
D_ifff prop_someIFFF
Definition:
eq_dummy.h:28
eq_dummy::prop_someFloat
D_float prop_someFloat
Definition:
eq_dummy.h:14
sources
ChimeraTK-DeviceAccess-DoocsBackend
tests
DoocsDummyServer
eq_dummy.h
Generated by
1.8.17