ChimeraTK-ControlSystemAdapter-OPCUAAdapter  04.00.01
ChimeraTK::ua_additionalvariable Class Reference

This class represent a additional variable from <variableMap.xml> in the information model of a OPC UA Server. More...

#include <csa_additionalvariable.h>

+ Inheritance diagram for ChimeraTK::ua_additionalvariable:
+ Collaboration diagram for ChimeraTK::ua_additionalvariable:

Public Member Functions

 ua_additionalvariable (UA_Server *server, UA_NodeId basenodeid, string name, string value, string description)
 Constructor from <ua_additionalvariable> for generic creation. More...
 
 ~ua_additionalvariable ()
 
UA_DateTime getSourceTimeStamp ()
 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...
 
string getValue ()
 

Static Public Member Functions

static UA_StatusCode ua_readproxy_ua_additionalvariable_getValue (UA_Server *server, const UA_NodeId *sessionId, void *sessionContext, const UA_NodeId *nodeId, void *nodeContext, UA_Boolean includeSourceTimeStamp, const UA_NumericRange *range, UA_DataValue *value)
 

Detailed Description

This class represent a additional variable from <variableMap.xml> in the information model of a OPC UA Server.

Author
Chris Iatrou, Julian Rahm
Date
22.11.2016

Definition at line 36 of file csa_additionalvariable.h.

Constructor & Destructor Documentation

◆ ua_additionalvariable()

ChimeraTK::ua_additionalvariable::ua_additionalvariable ( UA_Server *  server,
UA_NodeId  basenodeid,
string  name,
string  value,
string  description 
)

Constructor from <ua_additionalvariable> for generic creation.

Parameters
serverA UA_Server type, with all server specific information from the used server
basenodeidParent NodeId from OPC UA information model to add a new UA_ObjectNode
nameName of the additinal node
valueValue of the additinal node
descriptionDescripption of the additinal node

Definition at line 37 of file csa_additionalvariable.cpp.

◆ ~ua_additionalvariable()

ChimeraTK::ua_additionalvariable::~ua_additionalvariable ( )

Definition at line 48 of file csa_additionalvariable.cpp.

Member Function Documentation

◆ getSourceTimeStamp()

UA_DateTime ChimeraTK::ua_additionalvariable::getSourceTimeStamp ( )
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

Implements ChimeraTK::ua_mapped_class.

Definition at line 157 of file csa_additionalvariable.cpp.

+ Here is the caller graph for this function:

◆ getValue()

string ChimeraTK::ua_additionalvariable::getValue ( )

Definition at line 77 of file csa_additionalvariable.cpp.

+ Here is the caller graph for this function:

◆ ua_readproxy_ua_additionalvariable_getValue()

UA_StatusCode ChimeraTK::ua_additionalvariable::ua_readproxy_ua_additionalvariable_getValue ( UA_Server *  server,
const UA_NodeId *  sessionId,
void *  sessionContext,
const UA_NodeId *  nodeId,
void *  nodeContext,
UA_Boolean  includeSourceTimeStamp,
const UA_NumericRange *  range,
UA_DataValue *  value 
)
static

Definition at line 55 of file csa_additionalvariable.cpp.


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