sot-core  4.10.1
Hierarchical task solver plug-in for dynamic-graph.
exception-task.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_EXCEPTION_TASK_H
11 #define __SOT_EXCEPTION_TASK_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 ExceptionTask
27  */
29 
30 {
31 public:
38  PARSER_MULTI_BOUND
39  };
40 
41  static const std::string EXCEPTION_NAME;
42  virtual const std::string &getExceptionName(void) const {
43  return EXCEPTION_NAME;
44  }
45 
47  const std::string &msg = "");
49  const std::string &msg, const char *format, ...);
50  virtual ~ExceptionTask(void) throw() {}
51 };
52 
53 } /* namespace sot */
54 } /* namespace dynamicgraph */
55 
56 #endif /* #ifndef __SOT_EXCEPTION_TASK_H */
57 
58 /*
59  * Local variables:
60  * c-basic-offset: 2
61  * End:
62  */
Definition: exception-task.hh:28
Definition: exception-abstract.hh:41
#define SOT_CORE_EXPORT
Definition: api.hh:20
Definition: exception-abstract.hh:35
static const std::string EXCEPTION_NAME
Definition: exception-task.hh:41
Definition: exception-task.hh:34
virtual ~ExceptionTask(void)
Definition: exception-task.hh:50
Definition: exception-task.hh:37
Definition: exception-task.hh:36
virtual const std::string & getExceptionName(void) const
Definition: exception-task.hh:42
ErrorCodeEnum
Definition: exception-task.hh:32
Definition: abstract-sot-external-interface.hh:17