raisim::ScopedRaiSimFatalCallback
final class · #include <raisim/raisim_message_logger.hpp>
Restore-on-destruction wrapper for the calling thread's fatal callback. Destroy it on the thread that created it.
Constructors & destructor
ScopedRaiSimFatalCallback
cpp
explicit ScopedRaiSimFatalCallback(RaiSimMsg::FatalCallback callback)Installs callback for the calling thread until destruction.
Parameters
| Parameter | Description |
|---|---|
callback (in) | fatal callback of the calling thread |
cpp
ScopedRaiSimFatalCallback(const ScopedRaiSimFatalCallback &) = delete~ScopedRaiSimFatalCallback
cpp
~ScopedRaiSimFatalCallback()Public member functions
operator=
cpp
ScopedRaiSimFatalCallback &operator=(const ScopedRaiSimFatalCallback &) = delete