RTXI
3.0.0
The Real-Time eXperiment Interface Reference Manual
src
logger.hpp
Go to the documentation of this file.
1
#ifndef LOGGER_HPP
2
#define LOGGER_HPP
3
4
#include <filesystem>
5
#include <mutex>
6
#include <sstream>
7
8
#include "
event.hpp
"
9
#include "
rt.hpp
"
10
14
class
eventLogger
15
{
16
public
:
29
void
log
(
Event::Object
* event);
30
42
void
log
(
RT::Telemitry::Response
response);
43
44
private
:
45
std::filesystem::path logfile;
46
std::stringstream ss;
47
std::mutex log_mutex;
48
};
49
50
#endif
Event::Object
Definition:
event.hpp:121
eventLogger
Definition:
logger.hpp:15
eventLogger::log
void log(Event::Object *event)
Definition:
logger.cpp:12
event.hpp
rt.hpp
RT::Telemitry::Response
Definition:
rt.hpp:97
Generated on Thu Nov 30 2023 16:36:00 for RTXI by
1.9.1