GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | 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]
Collaboration diagram for gtsam::ThreadsafeException< DERIVED >:
Collaboration graph
[legend]

Public Member Functions

const char * what () const noexcept override
 

Protected Types

typedef std::string String
 
typedef std::allocator< char > Allocator
 

Protected Member Functions

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

Protected Attributes

bool dynamic_
 Whether this object was moved.
 
std::optional< String > description_
 Optional description.
 

Detailed Description

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

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


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