OpcUaCanOpen
CANopen OPC-UA server
|
Main OPC Server object. More...
#include <OpcServer.h>
Inherits UaServerApplication.
Public Member Functions | |
OpcServer () | |
Construction. More... | |
OpcServer (int argc, char *argv[], bool bRunAsService, const UaString &sApplicationName) | |
Construction. More... | |
void | setDeviceConfig (UaString sDeviceConfig) |
void | setApplicationPathConfig (UaString sApplicationPathConfig) |
void | setAutomationNode (AddressSpace::NmBuildingAutomation *pMyNodeManager) |
void | setTypeCreator (MyNodeManagerNodeSetXmlCreator *pTypeCreator) |
void | setControlInterface (std::shared_ptr< UserDevice::ControlInterface > pControlInterface) |
virtual | ~OpcServer () |
Destruction. More... | |
virtual OpcUa_DateTime | getBuildDate () const |
Get the build date from the static compiled in string. More... | |
void | closeInterface () |
Protected Member Functions | |
virtual UaStatus | afterStartUp () |
Protected Attributes | |
UaString | m_sDeviceConfig |
UaString | m_sAapplicationPath |
std::shared_ptr< UserDevice::ControlInterface > | m_pControlInterface |
Private Member Functions | |
UA_DISABLE_COPY (OpcServer) | |
Private Attributes | |
OpcServerPrivate * | d |
Connection to control interface. More... | |
AddressSpace::NmBuildingAutomation * | m_pMyNodeManager |
MyNodeManagerNodeSetXmlCreator * | m_pTypeCreator |
Main OPC Server object.
This class is a utility class managing all server SDK modules for common use cases in a simplified way. Enhanced users may replace this class with their own implementation to be able to use derived classes to overwrite SDK functionality.
Definition at line 45 of file OpcServer.h.
OpcServer::OpcServer | ( | ) |
Construction.
Definition at line 61 of file OpcServer.cpp.
OpcServer::OpcServer | ( | int | argc, |
char * | argv[], | ||
bool | bRunAsService, | ||
const UaString & | sApplicationName | ||
) |
Construction.
Definition at line 67 of file OpcServer.cpp.
|
virtual |
Destruction.
Definition at line 74 of file OpcServer.cpp.
|
protectedvirtual |
Definition at line 87 of file OpcServer.cpp.
void OpcServer::closeInterface | ( | ) |
disconnect of control interface
Definition at line 165 of file OpcServer.cpp.
|
virtual |
Get the build date from the static compiled in string.
Definition at line 179 of file OpcServer.cpp.
|
inline |
Definition at line 57 of file OpcServer.h.
|
inline |
Definition at line 61 of file OpcServer.h.
|
inline |
Definition at line 65 of file OpcServer.h.
|
inline |
Definition at line 53 of file OpcServer.h.
|
inline |
Definition at line 63 of file OpcServer.h.
|
private |
|
private |
Connection to control interface.
Definition at line 83 of file OpcServer.h.
|
protected |
Definition at line 80 of file OpcServer.h.
|
private |
Definition at line 84 of file OpcServer.h.
|
private |
Definition at line 85 of file OpcServer.h.
|
protected |
Definition at line 77 of file OpcServer.h.
|
protected |
Definition at line 77 of file OpcServer.h.