Function navtk::set_global_error_mode
Defined in File errors.hpp
Function Documentation
-
void navtk::set_global_error_mode(ErrorMode mode)
Sets the global ErrorMode (see navtk::get_global_error_mode).
If another function holds an ErrorModeLock, this function blocks until that lock exits. If the current thread holds an ErrorModeLock, this function works as normal.
See navtk::ErrorMode for a discussion of error modes.
In a multi-threaded environment, consider using navtk::ErrorModeLock instead, as it will prevent other threads from changing the global error state.
- Parameters
mode – Target error mode