ChimeraTK-ControlSystemAdapter-OPCUAAdapter  04.00.01
ChimeraTK::ua_mapped_class Class Referenceabstract

This class mapped all inforamtion into the opca server. More...

#include <ua_mapped_class.h>

+ Inheritance diagram for ChimeraTK::ua_mapped_class:
+ Collaboration diagram for ChimeraTK::ua_mapped_class:

Public Member Functions

 ua_mapped_class (UA_Server *server, UA_NodeId baseNodeId)
 Constructor of the class with parameter. More...
 
 ua_mapped_class ()
 Constructor of the class with parameter. More...
 
virtual ~ua_mapped_class ()
 Destructor of the class. More...
 
UA_StatusCode ua_mapSelfToNamespace ()
 This methode mapped all own nodes into the opcua server. More...
 
UA_StatusCode ua_unmapSelfFromNamespace ()
 This methode unmapped all nodes. More...
 
virtual UA_DateTime getSourceTimeStamp ()=0
 Get the SourceTimeStamp from node in the OPC UA server Virtual methode which returned Timestamp is setted into the node with the help of the proxy_callback.h. More...
 

Public Attributes

UA_Server * mappedServer
 

Protected Attributes

nodePairList ownedNodes
 
UA_NodeId baseNodeId {}
 

Detailed Description

This class mapped all inforamtion into the opca server.

Definition at line 33 of file ua_mapped_class.h.

Constructor & Destructor Documentation

◆ ua_mapped_class() [1/2]

ChimeraTK::ua_mapped_class::ua_mapped_class ( UA_Server *  server,
UA_NodeId  baseNodeId 
)

Constructor of the class with parameter.

Parameters
serveropcua server
baseNodeIdNode id from the parent node
Returns
Returns a element pointer if some was found, in other cases it will return NULL

Definition at line 36 of file ua_mapped_class.cpp.

◆ ua_mapped_class() [2/2]

ChimeraTK::ua_mapped_class::ua_mapped_class ( )

Constructor of the class with parameter.

Definition at line 29 of file ua_mapped_class.cpp.

◆ ~ua_mapped_class()

ChimeraTK::ua_mapped_class::~ua_mapped_class ( )
virtual

Destructor of the class.

Definition at line 43 of file ua_mapped_class.cpp.

Member Function Documentation

◆ getSourceTimeStamp()

virtual UA_DateTime ChimeraTK::ua_mapped_class::getSourceTimeStamp ( )
pure virtual

Get the SourceTimeStamp from node in the OPC UA server Virtual methode which returned Timestamp is setted into the node with the help of the proxy_callback.h.

Returns
Returns a UA_DateTime

Implemented in ChimeraTK::ua_uaadapter, ChimeraTK::ua_processvariable, and ChimeraTK::ua_additionalvariable.

◆ ua_mapSelfToNamespace()

UA_StatusCode ChimeraTK::ua_mapped_class::ua_mapSelfToNamespace ( )

This methode mapped all own nodes into the opcua server.

Returns
UA_StatusCode

Definition at line 49 of file ua_mapped_class.cpp.

◆ ua_unmapSelfFromNamespace()

UA_StatusCode ChimeraTK::ua_mapped_class::ua_unmapSelfFromNamespace ( )

This methode unmapped all nodes.

Returns
UA_StatusCode

Definition at line 62 of file ua_mapped_class.cpp.

Member Data Documentation

◆ baseNodeId

UA_NodeId ChimeraTK::ua_mapped_class::baseNodeId {}
protected

Definition at line 36 of file ua_mapped_class.h.

◆ mappedServer

UA_Server* ChimeraTK::ua_mapped_class::mappedServer

Definition at line 39 of file ua_mapped_class.h.

◆ ownedNodes

nodePairList ChimeraTK::ua_mapped_class::ownedNodes
protected

Definition at line 35 of file ua_mapped_class.h.


The documentation for this class was generated from the following files: