exception-signal.h
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 // Copyright 2010, François Bleibel, Thomas Moulard, Olivier Stasse,
3 // JRL, CNRS/AIST.
4 //
5 
6 #ifndef DYNAMIC_GRAPH_EXCEPTION_SIGNAL_H
7 #define DYNAMIC_GRAPH_EXCEPTION_SIGNAL_H
8 
11 
12 #include <dynamic-graph/fwd.hh>
13 
14 namespace dynamicgraph {
19 class DYNAMIC_GRAPH_DLLAPI ExceptionSignal : public ExceptionAbstract {
20  public:
28  BAD_CAST
29  };
30 
31  static const std::string EXCEPTION_NAME;
32 
33  explicit ExceptionSignal(const ExceptionSignal::ErrorCodeEnum &errcode,
34  const std::string &msg = "");
36  const std::string &msg, const char *format, ...);
37  virtual ~ExceptionSignal() throw() {}
38 
39  virtual const std::string &getExceptionName() const { return EXCEPTION_NAME; }
40 };
41 
42 } // end of namespace dynamicgraph
43 
44 #endif
dynamicgraph::ExceptionSignal::SET_IMPOSSIBLE
@ SET_IMPOSSIBLE
Definition: exception-signal.h:27
dynamicgraph::ExceptionSignal::COPY_NOT_INITIALIZED
@ COPY_NOT_INITIALIZED
Definition: exception-signal.h:24
dynamicgraph::ExceptionSignal::PLUG_IMPOSSIBLE
@ PLUG_IMPOSSIBLE
Definition: exception-signal.h:26
dynamic-graph-api.h
dynamicgraph
dynamicgraph::ExceptionSignal::~ExceptionSignal
virtual ~ExceptionSignal()
Definition: exception-signal.h:37
dynamicgraph::ExceptionSignal::NOT_INITIALIZED
@ NOT_INITIALIZED
Definition: exception-signal.h:25
dynamicgraph::ExceptionSignal::ErrorCodeEnum
ErrorCodeEnum
Definition: exception-signal.h:21
fwd.hh
dynamicgraph::ExceptionSignal::EXCEPTION_NAME
static const std::string EXCEPTION_NAME
Definition: exception-signal.h:31
dynamicgraph::ExceptionAbstract
Abstract root class for all dynamic-graph exceptions.
Definition: exception-abstract.h:31
dynamicgraph::ExceptionSignal::getExceptionName
virtual const std::string & getExceptionName() const
Definition: exception-signal.h:39
dynamicgraph::ExceptionSignal
Exceptions raised when an error related to signals happen.
Definition: exception-signal.h:19
dynamicgraph::ExceptionSignal::READWRITE_LOCK
@ READWRITE_LOCK
Definition: exception-signal.h:23
dynamicgraph::ExceptionAbstract::SIGNAL
@ SIGNAL
Definition: exception-abstract.h:69
exception-abstract.h


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38