exception-signal.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_SIGNAL_EXCEPTION_H
11 #define __SOT_SIGNAL_EXCEPTION_H
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
18 
19 #include "sot/core/api.hh"
20 /* --------------------------------------------------------------------- */
21 /* --- CLASS ----------------------------------------------------------- */
22 /* --------------------------------------------------------------------- */
23 
24 namespace dynamicgraph {
25 namespace sot {
26 
27 /* \class ExceptionSignal
28  */
30 
31 {
32  public:
35 
36  ,
42  BAD_CAST
43  };
44 
45  static const std::string EXCEPTION_NAME;
46  virtual const std::string &getExceptionName(void) const {
47  return EXCEPTION_NAME;
48  }
49 
50  public:
52  const std::string &msg = "");
54  const std::string &msg, const char *format, ...);
55  virtual ~ExceptionSignal(void) throw() {}
56 };
57 
58 } /* namespace sot */
59 } /* namespace dynamicgraph */
60 
61 #endif /* #ifndef __SOT_SIGNAL_EXCEPTION_H */
62 
63 /*
64  * Local variables:
65  * c-basic-offset: 2
66  * End:
67  */
dynamicgraph::sot::ExceptionSignal::getExceptionName
virtual const std::string & getExceptionName(void) const
Definition: exception-signal.hh:46
SOT_CORE_EXPORT
#define SOT_CORE_EXPORT
Definition: api.hh:20
dynamicgraph
dynamicgraph::sot::ExceptionSignal::SET_IMPOSSIBLE
@ SET_IMPOSSIBLE
Definition: exception-signal.hh:41
dynamicgraph::sot::ExceptionSignal::READWRITE_LOCK
@ READWRITE_LOCK
Definition: exception-signal.hh:37
dynamicgraph::sot::ExceptionSignal::NOT_INITIALIZED
@ NOT_INITIALIZED
Definition: exception-signal.hh:39
dynamicgraph::ExceptionAbstract
api.hh
dynamicgraph::ExceptionSignal
dynamicgraph::sot::ExceptionSignal::ErrorCodeEnum
ErrorCodeEnum
Definition: exception-signal.hh:33
exception-abstract.hh
dynamicgraph::ExceptionAbstract::SIGNAL
SIGNAL
dynamicgraph::sot::ExceptionSignal::COPY_NOT_INITIALIZED
@ COPY_NOT_INITIALIZED
Definition: exception-signal.hh:38
dynamicgraph::sot::ExceptionSignal::PLUG_IMPOSSIBLE
@ PLUG_IMPOSSIBLE
Definition: exception-signal.hh:40
dynamicgraph::sot::ExceptionSignal::~ExceptionSignal
virtual ~ExceptionSignal(void)
Definition: exception-signal.hh:55
dynamicgraph::sot::ExceptionSignal::EXCEPTION_NAME
static const std::string EXCEPTION_NAME
Definition: exception-signal.hh:45


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31