Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types | List of all members
gtsam::ThreadsafeException< DERIVED > Class Template Reference

Base exception type that uses tbb_allocator if GTSAM is compiled with TBB. More...

#include <ThreadsafeException.h>

Inheritance diagram for gtsam::ThreadsafeException< DERIVED >:
Inheritance graph
[legend]

Public Member Functions

const char * what () const noexceptoverride
 

Protected Types

typedef std::string String
 

Protected Member Functions

 ThreadsafeException ()
 Default constructor is protected - may only be created from derived classes. More...
 
 ThreadsafeException (const ThreadsafeException &other)
 Copy constructor is protected - may only be created from derived classes. More...
 
 ThreadsafeException (const std::string &description)
 Construct with description string. More...
 
 ~ThreadsafeException () noexceptoverride
 Default destructor doesn't have the noexcept. More...
 

Protected Attributes

boost::optional< Stringdescription_
 Optional description. More...
 
bool dynamic_
 Whether this object was moved. More...
 

Private Types

typedef std::exception Base
 

Detailed Description

template<class DERIVED>
class gtsam::ThreadsafeException< DERIVED >

Base exception type that uses tbb_allocator if GTSAM is compiled with TBB.

Definition at line 40 of file ThreadsafeException.h.

Member Typedef Documentation

template<class DERIVED>
typedef std::exception gtsam::ThreadsafeException< DERIVED >::Base
private

Definition at line 44 of file ThreadsafeException.h.

template<class DERIVED>
typedef std::string gtsam::ThreadsafeException< DERIVED >::String
protected

Definition at line 51 of file ThreadsafeException.h.

Constructor & Destructor Documentation

template<class DERIVED>
gtsam::ThreadsafeException< DERIVED >::ThreadsafeException ( )
inlineprotected

Default constructor is protected - may only be created from derived classes.

Definition at line 59 of file ThreadsafeException.h.

template<class DERIVED>
gtsam::ThreadsafeException< DERIVED >::ThreadsafeException ( const ThreadsafeException< DERIVED > &  other)
inlineprotected

Copy constructor is protected - may only be created from derived classes.

Definition at line 64 of file ThreadsafeException.h.

template<class DERIVED>
gtsam::ThreadsafeException< DERIVED >::ThreadsafeException ( const std::string &  description)
inlineprotected

Construct with description string.

Definition at line 69 of file ThreadsafeException.h.

template<class DERIVED>
gtsam::ThreadsafeException< DERIVED >::~ThreadsafeException ( )
inlineoverrideprotectednoexcept

Default destructor doesn't have the noexcept.

Definition at line 75 of file ThreadsafeException.h.

Member Function Documentation

template<class DERIVED>
const char* gtsam::ThreadsafeException< DERIVED >::what ( ) const
inlineoverridenoexcept

Definition at line 79 of file ThreadsafeException.h.

Member Data Documentation

template<class DERIVED>
boost::optional<String> gtsam::ThreadsafeException< DERIVED >::description_
mutableprotected

Optional description.

Definition at line 56 of file ThreadsafeException.h.

template<class DERIVED>
bool gtsam::ThreadsafeException< DERIVED >::dynamic_
protected

Whether this object was moved.

Definition at line 55 of file ThreadsafeException.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:31