ChimeraTK-ControlSystemAdapter-OPCUAAdapter  04.00.01
void_type.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) 2023-2024 Fraunhofer IOSB (Author: Florian Düwel)
18  */
19 
20 #pragma once
21 
22 #include "ChimeraTK/ReadAnyGroup.h"
23 #include "csa_opcua_adapter.h"
24 #include "csa_processvariable.h"
25 #include "open62541/plugin/log_stdout.h"
26 #include "ua_mapped_class.h"
27 
28 namespace ChimeraTK {
29  typedef struct {
30  boost::shared_ptr<ControlSystemPVManager> csManager;
31  UA_Server* mappedServer;
32  string rootFolder;
34  vector<std::string> pvs;
36 
37  void startVoidObserverThread(void_observer_data* data, const UA_Logger* logger);
38  UA_StatusCode add_void_event_type(UA_Server* server);
39 } // namespace ChimeraTK
ChimeraTK::csa_opcua_adapter
This class provide the two parts of the OPCUA Adapter. First of all the OPCUA server starts with a po...
Definition: csa_opcua_adapter.h:44
ChimeraTK::void_observer_data::rootFolder
string rootFolder
Definition: void_type.h:32
csa_opcua_adapter.h
ChimeraTK::void_observer_data::mappedServer
UA_Server * mappedServer
Definition: void_type.h:31
ua_mapped_class.h
ChimeraTK::add_void_event_type
UA_StatusCode add_void_event_type(UA_Server *server)
Definition: void_type.cpp:203
csa_processvariable.h
ChimeraTK::void_observer_data::pvs
vector< std::string > pvs
Definition: void_type.h:34
ChimeraTK::void_observer_data
Definition: void_type.h:29
ChimeraTK::void_observer_data::adapter
csa_opcua_adapter * adapter
Definition: void_type.h:33
ChimeraTK::startVoidObserverThread
void startVoidObserverThread(void_observer_data *data, const UA_Logger *logger)
Definition: void_type.cpp:168
ChimeraTK::void_observer_data::csManager
boost::shared_ptr< ControlSystemPVManager > csManager
Definition: void_type.h:30
ChimeraTK
Definition: csa_additionalvariable.h:28
generate_open62541CCode.logger
logger
Definition: generate_open62541CCode.py:29