ChimeraTK-ControlSystemAdapter-OPCUAAdapter 04.00.05
Loading...
Searching...
No Matches
runtime_value_generator.h
Go to the documentation of this file.
1/*
2 * This file is part of ChimeraTKs ControlSystem-OPC-UA-Adapter.
3 *
4 * ChimeraTKs ControlSystem-OPC-UA-Adapter is free software: you can
5 * redistribute it and/or modify it under the terms of the Lesser GNU
6 * General Public License as published by the Free Software Foundation,
7 * either version 3 of the License, or (at your option) any later version.
8 *
9 * ChimeraTKs ControlSystem-OPC-UA-Adapter is distributed in the hope
10 * that it will be useful, but WITHOUT ANY WARRANTY; without even the
11 * implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * See the Lesser GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with Foobar. If not, see https://www.gnu.org/licenses/lgpl.html
16 *
17 * Copyright (c) 2016 Chris Iatrou <Chris_Paul.Iatrou@tu-dresden.de>
18 * Copyright (c) 2016 Julian Rahm <Julian.Rahm@tu-dresden.de>
19 */
20
21#ifndef RUN_TIME_VALUE_GENERATOR_H
22#define RUN_TIME_VALUE_GENERATOR_H
23
24#include <ChimeraTK/ControlSystemAdapter/DevicePVManager.h>
25
26#include <thread>
27
28using namespace ChimeraTK;
29
31 private:
32 bool running;
33 std::thread valueGeneratorThread;
34
35 public:
36 runtime_value_generator(boost::shared_ptr<DevicePVManager> devManager);
38 void generateValues(boost::shared_ptr<DevicePVManager> devManager);
39};
40
41#endif // RUN_TIME_VALUE_GENERATOR_H
void generateValues(boost::shared_ptr< DevicePVManager > devManager)
boost::shared_ptr< ChimeraTK::DevicePVManager > devManager