#include <SharedException.h>
Definition at line 18 of file SharedException.h.
void art::SharedException::store |
( |
std::exception_ptr |
ex_ptr | ) |
|
|
inline |
Definition at line 21 of file SharedException.h.
std::atomic< bool > cachedExceptionStored_
std::exception_ptr cachedException_
template<typename T , typename... Args>
void art::SharedException::store |
( |
Args &&... |
args | ) |
|
|
inline |
Definition at line 38 of file SharedException.h.
40 store(std::make_exception_ptr(
T{std::forward<Args>(
args)...}));
void store(std::exception_ptr ex_ptr)
void art::SharedException::store_current |
( |
| ) |
|
|
inline |
Definition at line 31 of file SharedException.h.
33 store(std::current_exception());
void store(std::exception_ptr ex_ptr)
void art::SharedException::throw_if_stored_exception |
( |
| ) |
|
|
inline |
Definition at line 44 of file SharedException.h.
std::thread::id const ownerThread_
std::atomic< bool > cachedExceptionStored_
std::exception_ptr cachedException_
std::exception_ptr art::SharedException::cachedException_ {} |
|
private |
std::atomic<bool> art::SharedException::cachedExceptionStored_ {false} |
|
private |
std::thread::id const art::SharedException::ownerThread_ {std::this_thread::get_id()} |
|
private |
The documentation for this class was generated from the following file: