OpcUaCanOpen
CANopen OPC-UA server
CanOpenConfigXML.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** canopenconfigxml.h
3 **
4 **
5 ** Project: C++ OPC Server SDK sample code
6 **
7 ** Description: Configuration Address Space for the CANOpen OPC Ua Server.
8 **
9 ******************************************************************************/
10 #ifndef CANOPENCONFIGXML_H
11 #define CANOPENCONFIGXML_H
12 
13 #include "xmldocument.h"
14 #include "opcua_core.h"
15 #include "opcua_dataitemtype.h"
16 #include "OpcServer.h"
17 #include "uaobjecttypes.h"
18 #include "NmBuildingAutomation.h"
19 //#include "BuildingAutomationTypeIds.h"
20 
21 #include "CANOpenServerConfig.h"
22 
28 {
30 public:
31 
32 // CANOpenConfigXml(NmBuildingAutomation *ba, const UaString& sXmlFileName, const UaString& sApplicationPath,Canaccess *cana);
33 
42  virtual ~CANopenConfigXml();
43 
49  UaStatus CreateAddressSpace();
50 
51  /* Save the configuration to the configure file. */
52 
53  inline UaString sXmlFileName() const {return m_sXmlFileName;}
54 
55 private:
56  // parser variable
61 
63 
64  UaString m_sXmlFileName;
65 };
66 
67 
68 #endif // CANOPENCONFIGXML_H