server_object.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (C) 2013-2014 by Alexander Rykovanov *
3  * rykovanov.as@gmail.com *
4  * *
5  * This library is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU Lesser General Public License as *
7  * published by the Free Software Foundation; version 3 of the License. *
8  * *
9  * This library is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU Lesser General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU Lesser General Public License *
15  * along with this library; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
18  ******************************************************************************/
19 
20 #pragma once
21 
23 #include <opc/ua/model.h>
24 
25 #include "timer.h"
26 
27 namespace OpcUa
28 {
29 namespace Server
30 {
31 
33 {
34 public:
36 
37 public:
38  ServerObject(Services::SharedPtr services, boost::asio::io_service & io, bool debug);
39  ~ServerObject();
40 
41 private:
42  Model::Object CreateServerObject(const Services::SharedPtr & services) const;
43  void UpdateTime();
44 
45 private:
46  Services::SharedPtr Server;
47 // boost::asio::io_service & Io;
48  bool Debug = false;
52 };
53 
54 }
55 }
ServerObject(Services::SharedPtr services, boost::asio::io_service &io, bool debug)
Services::SharedPtr Server
Definition: server_object.h:46
Model::Variable ServerTime
Definition: server_object.h:50
OPC UA Address space part. GNU LGPL.
#define DEFINE_CLASS_POINTERS(ClassName)
Exception declarations GNU LGPL.
Model::Object CreateServerObject(const Services::SharedPtr &services) const
const char Server[]
Definition: strings.h:121


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