![]() |
ChimeraTK-ControlSystemAdapter-OPCUAAdapter 04.00.05
|
This class represent a processvariable of the controlsystemadapter in the information model of a OPC UA Server. More...
#include <csa_processvariable.h>
Inheritance diagram for ChimeraTK::ua_processvariable:
Collaboration diagram for ChimeraTK::ua_processvariable:Public Member Functions | |
| ua_processvariable (UA_Server *server, UA_NodeId basenodeid, const string &namePV, boost::shared_ptr< ControlSystemPVManager > csManager, const UA_Logger *logger, string overwriteNodeString="") | |
| Constructor from ua_processvaribale for generic creation. | |
| ~ua_processvariable () | |
| Destructor for ua_processvariable. | |
| UA_DateTime | getSourceTimeStamp () |
| Reimplement the sourcetimestamp for every processvariable. | |
| string | getName () |
| Get name of processvariable. | |
| string | getType () |
| Get type of processvariable. | |
| void | setEngineeringUnit (string engineeringUnit) |
| Set engineering unit of processvariable. | |
| string | getEngineeringUnit () |
| Get engineering unit of processvariable. | |
| void | setDescription (string description) |
| Get description unit of processvariable. | |
| string | getDescription () |
| Get description unit of processvariable. | |
| UA_NodeId | getOwnNodeId () |
| Get node id of this processvariable instance. | |
| template<typename T > | |
| UA_StatusCode | getValue (UA_Variant *v, const UA_NumericRange *range) |
| template<typename T > | |
| UA_StatusCode | setValue (const UA_Variant *data) |
| template<typename T > | |
| UA_UInt32 | typeSpecificSetup (UA_DataSource_Map_Element &mapElem, const UA_NodeId nodeId) |
| template<> | |
| UA_StatusCode | getValue (UA_Variant *v, const UA_NumericRange *) |
Static Public Member Functions | |
| static UA_StatusCode | ua_readproxy_ua_processvariable_getName (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 UA_StatusCode | ua_readproxy_ua_processvariable_getType (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 UA_StatusCode | ua_readproxy_ua_processvariable_getEngineeringUnit (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 UA_StatusCode | ua_writeproxy_ua_processvariable_setEngineeringUnit (UA_Server *server, const UA_NodeId *sessionId, void *sessionContext, const UA_NodeId *nodeId, void *nodeContext, const UA_NumericRange *range, const UA_DataValue *value) |
| static UA_StatusCode | ua_writeproxy_ua_processvariable_setDescription (UA_Server *server, const UA_NodeId *sessionId, void *sessionContext, const UA_NodeId *nodeId, void *nodeContext, const UA_NumericRange *range, const UA_DataValue *value) |
| static UA_StatusCode | ua_readproxy_ua_processvariable_getDescription (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 UA_StatusCode | ua_readproxy_ua_processvariable_getValidity (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) |
| Get vadility of processvariable. | |
| template<typename T > | |
| static UA_StatusCode | ua_readproxy_ua_processvariable_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) |
| template<typename T > | |
| static UA_StatusCode | ua_writeproxy_ua_processvariable_setValue (UA_Server *server, const UA_NodeId *sessionId, void *sessionContext, const UA_NodeId *nodeId, void *nodeContext, const UA_NumericRange *range, const UA_DataValue *value) |
This class represent a processvariable of the controlsystemadapter in the information model of a OPC UA Server.
Definition at line 49 of file csa_processvariable.h.
| ChimeraTK::ua_processvariable::ua_processvariable | ( | UA_Server * | server, |
| UA_NodeId | basenodeid, | ||
| const string & | namePV, | ||
| boost::shared_ptr< ControlSystemPVManager > | csManager, | ||
| const UA_Logger * | logger, | ||
| string | overwriteNodeString = "" |
||
| ) |
Constructor from ua_processvaribale for generic creation.
| server | A UA_Server type, with all server specific information from the used server |
| basenodeid | Parent NodeId from OPC UA information model to add a new UA_ObjectNode |
| namePV | Name of the process variable from control-system-adapter, is needed to fetch the rigth process varibale from PV-Manager |
| csManager | Provide the hole PVManager from control-system-adapter to map all processvariable to the OPC UA-Model |
Definition at line 37 of file csa_processvariable.cpp.
| ChimeraTK::ua_processvariable::~ua_processvariable | ( | ) |
Destructor for ua_processvariable.
Definition at line 44 of file csa_processvariable.cpp.
| string ChimeraTK::ua_processvariable::getDescription | ( | ) |
Get description unit of processvariable.
Definition at line 179 of file csa_processvariable.cpp.
| string ChimeraTK::ua_processvariable::getEngineeringUnit | ( | ) |
Get engineering unit of processvariable.
Definition at line 107 of file csa_processvariable.cpp.
| string ChimeraTK::ua_processvariable::getName | ( | ) |
Get name of processvariable.
Definition at line 66 of file csa_processvariable.cpp.
| UA_NodeId ChimeraTK::ua_processvariable::getOwnNodeId | ( | ) |
Get node id of this processvariable instance.
Definition at line 584 of file csa_processvariable.cpp.
|
virtual |
Reimplement the sourcetimestamp for every processvariable.
Reimplement the SourceTimeStamp to timestamp of csa_config.
Implements ChimeraTK::ua_mapped_class.
Definition at line 572 of file csa_processvariable.cpp.
| string ChimeraTK::ua_processvariable::getType | ( | ) |
Get type of processvariable.
Definition at line 206 of file csa_processvariable.cpp.
|
inline |
Definition at line 243 of file csa_processvariable.h.
| UA_StatusCode ChimeraTK::ua_processvariable::getValue | ( | UA_Variant * | v, |
| const UA_NumericRange * | range | ||
| ) |
Definition at line 216 of file csa_processvariable.h.
| void ChimeraTK::ua_processvariable::setDescription | ( | string | description | ) |
Get description unit of processvariable.
Definition at line 134 of file csa_processvariable.cpp.
| void ChimeraTK::ua_processvariable::setEngineeringUnit | ( | string | engineeringUnit | ) |
Set engineering unit of processvariable.
| type | Define the engineering unit of the processvariable |
Definition at line 87 of file csa_processvariable.cpp.
| UA_StatusCode ChimeraTK::ua_processvariable::setValue | ( | const UA_Variant * | data | ) |
Definition at line 267 of file csa_processvariable.h.
| UA_UInt32 ChimeraTK::ua_processvariable::typeSpecificSetup | ( | UA_DataSource_Map_Element & | mapElem, |
| const UA_NodeId | nodeId | ||
| ) |
Definition at line 334 of file csa_processvariable.h.
|
static |
Definition at line 138 of file csa_processvariable.cpp.
|
static |
Definition at line 91 of file csa_processvariable.cpp.
|
static |
Definition at line 50 of file csa_processvariable.cpp.
|
static |
Definition at line 190 of file csa_processvariable.cpp.
|
static |
Get vadility of processvariable.
Definition at line 154 of file csa_processvariable.cpp.
|
static |
Definition at line 189 of file csa_processvariable.h.
|
static |
Definition at line 118 of file csa_processvariable.cpp.
|
static |
Definition at line 71 of file csa_processvariable.cpp.
|
static |
Definition at line 206 of file csa_processvariable.h.