protocol/node_management.h
Go to the documentation of this file.
1 
11 #ifndef __OPC_UA_BINARY_NODEMANAGEMENT_H_
12 #define __OPC_UA_BINARY_NODEMANAGEMENT_H_
13 
16 #include <opc/ua/protocol/types.h>
20 #include <map>
21 #include <bitset>
22 
23 namespace OpcUa
24 {
25 
26 //
27 // AddNode Message definition
28 //
29 
31 {
35  DataType = 4,
42  IsAbstract = 11,
44  Symmetric = 15,
48  ValueRank = 19,
49  WriteMask = 20,
50  Value = 21,
51 };
52 
54 {
55  static const uint8_t SubscribeToEvents = 1 << 0;
56  static const uint8_t Reserved = 1 << 1;
57  static const uint8_t HistoryRead = 1 << 2;
58  static const uint8_t HistoryWrite = 1 << 3;
59  //all other bytes are reserved
60 };
61 
62 typedef std::bitset<sizeof(uint32_t)> IntBits;
63 
65 {
69  uint8_t EventNotifier = 0;
70  uint32_t WriteMask = 0;
71  uint32_t UserWriteMask = 0;
72 };
73 
75 {
81  int32_t Rank = 0;
82  std::vector<uint32_t> Dimensions;
86  bool Historizing = false;
87  uint32_t WriteMask = 0;
88  uint32_t UserWriteMask = 0;
89 };
90 
92 {
96  bool Executable = false;
97  bool UserExecutable = false;
98  uint32_t WriteMask = 0;
99  uint32_t UserWriteMask = 0;
100 };
101 
103 {
107  bool IsAbstract = false;
108  uint32_t WriteMask = 0;
109  uint32_t UserWriteMask = 0;
110 };
111 
113 {
119  int32_t Rank = 0;
120  std::vector<uint32_t> Dimensions;
121  bool IsAbstract = false;
122  uint32_t WriteMask = 0;
123  uint32_t UserWriteMask = 0;
124 };
125 
127 {
131  bool IsAbstract = false;
132  bool Symmetric = false;
134  uint32_t WriteMask = 0;
135  uint32_t UserWriteMask = 0;
136 };
137 
139 {
143  bool IsAbstract = false;
144  uint32_t WriteMask = 0;
145  uint32_t UserWriteMask = 0;
146 };
147 
149 {
153  bool ContainsNoLoops = true;
154  uint32_t WriteMask = 0;
155  uint32_t UserWriteMask = 0;
156 };
157 
159 {
162  std::map<AttributeId, Variant> Attributes;
163 
173 };
174 
175 // TODO Rename to NodeParameters
177 {
185 };
186 
187 
189 {
190  std::vector<AddNodesItem> NodesToAdd;
191 };
192 
194 {
198  AddNodesRequest();
199 };
200 
202 {
205 };
206 
208 {
211  std::vector<AddNodesResult> results;
214 };
215 
216 
217 //
218 // AddReference
219 //
220 
222 {
225  bool IsForward;
229 };
230 
232 {
233  std::vector<AddReferencesItem> ReferencesToAdd;
234 };
235 
237 {
241 
243 };
244 
246 {
249  std::vector<StatusCode> Results;
251 
253 };
254 
255 //FIXME: move somewhere else!!
256 const char * GetObjectIdName(const NodeId & id) ;
257 
258 
259 }
260 
261 #endif
static const uint8_t HistoryWrite
static const uint8_t SubscribeToEvents
std::vector< AddNodesResult > results
static const uint8_t HistoryRead
std::map< AttributeId, Variant > Attributes
double Duration
Definition: datetime.h:53
ExtensionObjectHeader Header
std::vector< AddNodesItem > NodesToAdd
std::bitset< sizeof(uint32_t)> IntBits
std::vector< StatusCode > Results
const char * GetObjectIdName(const NodeId &id)
static const uint8_t Reserved
OPC UA Address space part. GNU LGPL.
std::vector< DiagnosticInfo > DiagnosticInfoList
Definition: types.h:253
NodeClass
Definition: enums.h:39
std::vector< uint32_t > Dimensions
std::vector< AddReferencesItem > ReferencesToAdd
AddReferencesParameters Parameters


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:07