Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
v
w
+
Functions
_
a
c
d
g
m
n
o
r
s
t
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
c
d
e
f
g
h
m
n
q
s
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
_
b
c
d
e
l
m
o
s
v
+
Functions
b
d
l
m
o
Variables
Typedefs
+
Macros
_
b
c
d
e
l
s
v
include
dynamic-graph
real-time-logger.h
Go to the documentation of this file.
1
// -*- mode: c++ -*-
2
// Copyright 2018, Joseph Mirabel LAAS-CNRS
3
//
4
5
#ifndef DYNAMIC_GRAPH_LOGGER_REAL_TIME_H
6
#define DYNAMIC_GRAPH_LOGGER_REAL_TIME_H
7
8
#ifdef ENABLE_RT_LOG
9
#define dgADD_OSTREAM_TO_RTLOG(ostr) \
10
::dynamicgraph::RealTimeLogger::instance().addOutputStream( \
11
::dynamicgraph::LoggerStreamPtr_t( \
12
new ::dynamicgraph::LoggerIOStream(ostr)))
13
14
#define dgRTLOG() ::dynamicgraph::RealTimeLogger::instance().front()
15
#else // ENABLE_RT_LOG
16
#define dgADD_OSTREAM_TO_RTLOG(ostr) struct __end_with_semicolon
17
#define dgRTLOG() \
18
if (1) \
19
; \
20
else \
21
__null_stream()
22
#endif
23
24
#include <
dynamic-graph/real-time-logger-def.h
>
25
26
#endif
real-time-logger-def.h
dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03