RTXI
2.4
The Real-Time eXperiment Interface Documentation
src
debug.h
Go to the documentation of this file.
1
/*
2
The Real-Time eXperiment Interface (RTXI)
3
Copyright (C) 2011 Georgia Institute of Technology, University of Utah, Weill Cornell Medical College
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
*/
19
20
#ifndef DEBUG_H
21
#define DEBUG_H
22
23
#include <boost/stacktrace.hpp>
24
#include <execinfo.h>
25
#include <stdarg.h>
26
#include <string>
27
#include <memory>
28
#include <iostream>
29
30
#if XENOMAI
31
#include <rtdk.h>
32
#endif
33
35
void
PRINT_BACKTRACE
(
void
);
36
37
void
ERROR_MSG
(
const
std::string& errmsg, ...);
38
39
#endif
/* DEBUG_H */
PRINT_BACKTRACE
void PRINT_BACKTRACE(void)
Prints a backtrace to standard error.
Definition:
debug.cpp:22
ERROR_MSG
void ERROR_MSG(const std::string &errmsg,...)
Definition:
debug.cpp:27
Generated on Thu Apr 21 2022 16:58:34 for RTXI by
1.8.17