sot-core  4.11.6
Hierarchical task solver plug-in for dynamic-graph.
exception-feature.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_FEATURE_H
11 #define __SOT_EXCEPTION_FEATURE_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 ExceptionFeature
27  */
29 
30 {
31 public:
35  UNCOMPATIBLE_SIZE
36  };
37 
38  static const std::string EXCEPTION_NAME;
39  virtual const std::string &getExceptionName(void) const {
41  }
42 
44  const std::string &msg = "");
45 
47  const std::string &msg, const char *format, ...);
48 
49  virtual ~ExceptionFeature(void) throw() {}
50 };
51 
52 } /* namespace sot */
53 } /* namespace dynamicgraph */
54 
55 #endif /* #ifndef __SOT_EXCEPTION_FEATURE_H */
56 
57 /*
58  * Local variables:
59  * c-basic-offset: 2
60  * End:
61  */
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::ExceptionAbstract::FEATURE
@ FEATURE
Definition: exception-abstract.hh:42
dynamicgraph::sot::ExceptionFeature::ErrorCodeEnum
ErrorCodeEnum
Definition: exception-feature.hh:32
dynamicgraph::sot::ExceptionFeature::~ExceptionFeature
virtual ~ExceptionFeature(void)
Definition: exception-feature.hh:49
api.hh
dynamicgraph::sot::ExceptionFeature::getExceptionName
virtual const std::string & getExceptionName(void) const
Definition: exception-feature.hh:39
dynamicgraph::sot::ExceptionFeature
Definition: exception-feature.hh:28
dynamicgraph::sot::ExceptionFeature::EXCEPTION_NAME
static const std::string EXCEPTION_NAME
Definition: exception-feature.hh:38
exception-abstract.hh
dynamicgraph::sot::ExceptionFeature::BAD_INIT
@ BAD_INIT
Definition: exception-feature.hh:34