Header. More...
Go to the source code of this file.
Functions | |
template<typename InterfaceType , typename F > | |
OSVR_ReturnCode | useSendGuard (InterfaceType &iface, F &&func) |
template<typename InterfaceType , typename F > | |
OSVR_ReturnCode | useSendGuardVoid (InterfaceType &iface, F &&func) |
|
inline |
Calls a function using the send guard, returning the return value of the function if it completes without exception.
Definition at line 40 of file UseSendGuard.h.
|
inline |
Calls a void function using the send guard, returning success if it completes without exception.
Definition at line 59 of file UseSendGuard.h.