sot-core  4.11.4
Hierarchical task solver plug-in for dynamic-graph.
exception-tools.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2010,
3  * François Bleibel,
4  * Olivier Stasse,
5  *
6  * CNRS/AIST
7  *
8  */
9 
10 #ifndef __SOT_TOOLS_EXCEPTION_H
11 #define __SOT_TOOLS_EXCEPTION_H
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
17 #include "sot/core/api.hh"
19 /* --------------------------------------------------------------------- */
20 /* --- CLASS ----------------------------------------------------------- */
21 /* --------------------------------------------------------------------- */
22 
23 namespace dynamicgraph {
24 namespace sot {
25 
26 /* \class ExceptionTools
27  */
29 
30 {
31 public:
34 
35  ,
38  PARAMETER_SERVER
39  };
40 
41  static const std::string EXCEPTION_NAME;
42  virtual const std::string &getExceptionName() const { return EXCEPTION_NAME; }
43 
44 public:
46  const std::string &msg = "");
48  const std::string &msg, const char *format, ...);
49  virtual ~ExceptionTools(void) throw() {}
50 };
51 
52 } // namespace sot
53 } // namespace dynamicgraph
54 
55 #endif /* #ifndef __SOT_TOOLS_EXCEPTION_H */
56 
57 /*
58  * Local variables:
59  * c-basic-offset: 2
60  * End:
61  */
dynamicgraph::sot::ExceptionTools::ErrorCodeEnum
ErrorCodeEnum
Definition: exception-tools.hh:32
SOT_CORE_EXPORT
#define SOT_CORE_EXPORT
Definition: api.hh:20
dynamicgraph::sot::ExceptionAbstract
Definition: exception-abstract.hh:35
dynamicgraph
Definition: abstract-sot-external-interface.hh:17
dynamicgraph::sot::ExceptionTools::KALMAN_SIZE
@ KALMAN_SIZE
Definition: exception-tools.hh:37
dynamicgraph::sot::ExceptionTools
Definition: exception-tools.hh:28
dynamicgraph::sot::ExceptionTools::getExceptionName
virtual const std::string & getExceptionName() const
Definition: exception-tools.hh:42
dynamicgraph::sot::ExceptionTools::EXCEPTION_NAME
static const std::string EXCEPTION_NAME
Definition: exception-tools.hh:41
dynamicgraph::sot::ExceptionTools::~ExceptionTools
virtual ~ExceptionTools(void)
Definition: exception-tools.hh:49
api.hh
dynamicgraph::sot::ExceptionTools::CORBA
@ CORBA
Definition: exception-tools.hh:36
exception-abstract.hh
dynamicgraph::sot::ExceptionAbstract::TOOLS
@ TOOLS
Definition: exception-abstract.hh:46