OpcUaCanOpen
CANopen OPC-UA server
UaTraceSink.h
Go to the documentation of this file.
1 /* © Copyright CERN, 2015. All rights not expressly granted are reserved.
2  * UaTraceSink.cpp
3  *
4  * Created on: Aug 18, 2015
5  * Author: Benjamin Farnham <benjamin.farnham@cern.ch>
6  * Author: Piotr Nikiel <piotr@nikiel.info>
7  *
8  * This file is part of Quasar.
9  *
10  * Quasar is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU Lesser General Public Licence as published by
12  * the Free Software Foundation, either version 3 of the Licence.
13  *
14  * Quasar is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public Licence for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with Quasar. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef LOGIT_INCLUDE_UATRACESINK_H_
24 #define LOGIT_INCLUDE_UATRACESINK_H_
25 
26 
27 #include <string>
28 #include <LogSinkInterface.h>
29 
31 {
32 public:
33 
34  virtual bool initialize();
35 
36  virtual void logMessage(const std::string& msg);
37 };
38 
39 
40 #endif /* LOGIT_INCLUDE_UATRACESINK_H_ */