OSVR-Core
|
Header. More...
#include <osvr/Util/Verbosity.h>
#include <exception>
Go to the source code of this file.
Functions | |
template<typename InterfaceType , typename F > | |
OSVR_ReturnCode | useSendGuard (InterfaceType &iface, F &&func) |
Calls a function using the send guard, returning the return value of the function if it completes without exception. More... | |
template<typename InterfaceType , typename F > | |
OSVR_ReturnCode | useSendGuardVoid (InterfaceType &iface, F &&func) |
Calls a void function using the send guard, returning success if it completes without exception. More... | |
Header.
|
inline |
Calls a function using the send guard, returning the return value of the function if it completes without exception.
|
inline |
Calls a void function using the send guard, returning success if it completes without exception.