Header. More...
Go to the source code of this file.
Classes | |
struct | osvr::pluginkit::detail::CallbackType_impl< ReportType > |
Namespaces | |
osvr | |
< | |
osvr::pluginkit | |
Contains C++ header-only wrappers for the PluginKit C API.Use of these wrappers is optional: they duplicate functionality found in the C API as they are implemented in headers on top of the C API. However, they also provide a much cleaner, low-boilerplate interface for the most common operations. | |
osvr::pluginkit::detail | |
Internal implementation-only namespace. | |
Typedefs | |
template<typename ReportType > | |
using | osvr::pluginkit::detail::WrappedCallbackFunction = std::function< void(const OSVR_TimeValue *, const ReportType *)> |
template<typename ReportType > | |
using | osvr::pluginkit::detail::WrappedCallbackPtr = std::unique_ptr< WrappedCallbackFunction< ReportType >> |
template<typename ReportType > | |
using | osvr::pluginkit::detail::CallbackType = typename CallbackType_impl< ReportType >::type |
Functions | |
template<typename ReportType > | |
void | osvr::pluginkit::detail::callbackCaller (void *userdata, const OSVR_TimeValue *timestamp, const ReportType *report) |
template<typename ReportType > | |
CallbackType< ReportType > | osvr::pluginkit::detail::getCaller () |
template<typename ReportType , typename F > | |
std::pair< CallbackType < ReportType > , WrappedCallbackPtr < ReportType > > | osvr::pluginkit::detail::wrapCallback (F &&f) |