|
ChimeraTK-ControlSystemAdapter-OPCUAAdapter
04.00.01
|
Go to the documentation of this file.
23 #include "ChimeraTK/ControlSystemAdapter/ApplicationBase.h"
24 #include "ChimeraTK/ControlSystemAdapter/ControlSystemPVManager.h"
46 std::thread adapter_thread;
47 std::thread observer_thread;
48 std::shared_ptr<ua_uaadapter> adapter;
49 boost::shared_ptr<ControlSystemPVManager> csManager;
50 set<string> unusedVariables;
This class provide the two parts of the OPCUA Adapter. First of all the OPCUA server starts with a po...
void stop()
Stop all objects in single threads for this case only the opc ua server.
const set< string > & getUnusedVariables() const
const UA_Logger * getLogger()
Get the adapter logger.
bool isRunning()
Checks if the opcua server is still running and return the suitable bool value.
csa_opcua_adapter(boost::shared_ptr< ControlSystemPVManager > csManager, string configFile)
Constructor for ControlSystemAdapter-OPC-UA-Adapter.
~csa_opcua_adapter()
Destructor to stop the running thread, hence it stops the OPC UA server.
boost::shared_ptr< ChimeraTK::ControlSystemPVManager > csManager
std::shared_ptr< ua_uaadapter > getUAAdapter()
Return the uaadapter, hence the OPC UA server.
void start()
Start all objects in single threads for this case only the opc ua server.
boost::shared_ptr< ControlSystemPVManager > const & getControlSystemManager() const
Return the ControlsystemPVManager of the class.