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.
bool isRunning()
Checks if the opcua server is still running and return the suitable bool value.
~csa_opcua_adapter()
Destructor to stop the running thread, hence it stops the OPC UA server.
void start()
Start all objects in single threads for this case only the opc ua server.
const UA_Logger * getLogger()
Get the adapter logger.
const set< string > & getUnusedVariables() const
std::shared_ptr< ua_uaadapter > getUAAdapter()
Return the uaadapter, hence the OPC UA server.
void stop()
Stop 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.
boost::shared_ptr< ChimeraTK::ControlSystemPVManager > csManager