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 noexcept override
 

Protected Types

typedef std::allocator< char > Allocator
 
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 () noexcept override
 Default destructor doesn't have the noexcept. More...
 

Protected Attributes

std::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

◆ Allocator

template<class DERIVED>
typedef std::allocator<char> gtsam::ThreadsafeException< DERIVED >::Allocator
protected

Definition at line 53 of file ThreadsafeException.h.

◆ Base

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

Definition at line 44 of file ThreadsafeException.h.

◆ String

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

Definition at line 52 of file ThreadsafeException.h.

Constructor & Destructor Documentation

◆ ThreadsafeException() [1/3]

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

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

Definition at line 61 of file ThreadsafeException.h.

◆ ThreadsafeException() [2/3]

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 66 of file ThreadsafeException.h.

◆ ThreadsafeException() [3/3]

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

Construct with description string.

Definition at line 71 of file ThreadsafeException.h.

◆ ~ThreadsafeException()

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

Default destructor doesn't have the noexcept.

Definition at line 77 of file ThreadsafeException.h.

Member Function Documentation

◆ what()

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

Definition at line 81 of file ThreadsafeException.h.

Member Data Documentation

◆ description_

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

Optional description.

Definition at line 58 of file ThreadsafeException.h.

◆ dynamic_

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

Whether this object was moved.

Definition at line 57 of file ThreadsafeException.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:13