Macros
Exceptions.hpp File Reference
#include "../rtt-config.h"
Include dependency graph for Exceptions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ORO_THROW(x)   throw x
 
#define ORO_THROW_OR_RETURN(x, rv)   throw x
 

Detailed Description

When Orocos is compiled without exceptions (define ORO_EMBEDDED), the functions which would throw an exception simply return. For void functions, use ORO_THROW, for other functions, use ORO_THROW_OR_RETURN.

Definition in file Exceptions.hpp.

Macro Definition Documentation

#define ORO_THROW (   x)    throw x

Definition at line 52 of file Exceptions.hpp.

#define ORO_THROW_OR_RETURN (   x,
  rv 
)    throw x

Definition at line 53 of file Exceptions.hpp.



rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:45