error_stack.h
Go to the documentation of this file.
1 /***************************************************************************
2  tag: Erwin Aertbelien Mon Jan 10 16:38:39 CET 2005 error_stack.h
3 
4  error_stack.h - description
5  -------------------
6  begin : Mon January 10 2005
7  copyright : (C) 2005 Erwin Aertbelien
8  email : erwin.aertbelien@mech.kuleuven.ac.be
9 
10  ***************************************************************************
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU Lesser General Public *
13  * License as published by the Free Software Foundation; either *
14  * version 2.1 of the License, or (at your option) any later version. *
15  * *
16  * This library is distributed in the hope that it will be useful, *
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19  * Lesser General Public License for more details. *
20  * *
21  * You should have received a copy of the GNU Lesser General Public *
22  * License along with this library; if not, write to the Free Software *
23  * Foundation, Inc., 59 Temple Place, *
24  * Suite 330, Boston, MA 02111-1307 USA *
25  * *
26  ***************************************************************************/
27 
28 
38 #ifndef ERROR_STACK_H
39 #define ERROR_STACK_H
40 
41 #include "utility.h"
42 #include "utility_io.h"
43 #include <string>
44 
45 
46 namespace KDL {
47 
48 /*
49  * \todo
50  * IOTrace-routines store in static memory, should be in thread-local memory.
51  * pushes a description of the current routine on the IO-stack trace
52  */
53 void IOTrace(const std::string& description);
54 
56 void IOTracePop();
57 
58 
60 void IOTraceOutput(std::ostream& os);
61 
64 void IOTracePopStr(char* buffer,int size);
65 
66 
67 }
68 
69 #endif
70 
void IOTracePop()
pops a description of the IO-stack
void IOTraceOutput(std::ostream &os)
outputs the IO-stack to a stream to provide a better errormessage.
void IOTracePopStr(char *buffer, int size)
void IOTrace(const std::string &description)


orocos_kdl
Author(s):
autogenerated on Mon Oct 19 2020 03:19:17