|
template<typename T > |
OSVR_ReturnCode | registerHardwareDetectCallbackImpl (OSVR_PluginRegContext ctx, T functor, typename boost::enable_if< boost::is_pointer< T > >::type *=NULL) |
| Traits-based overload to register a hardware detect callback where we're given a pointer to a function object. More...
|
|
template<typename T > |
OSVR_ReturnCode | registerHardwareDetectCallbackImpl (OSVR_PluginRegContext ctx, T functor, typename boost::disable_if< boost::is_pointer< T > >::type *=NULL) |
| Traits based overload to copy a hardware detect callback passed by value then register the copy. More...
|
|
template<typename T > |
OSVR_ReturnCode | registerDriverInstantiationCallbackImpl (OSVR_PluginRegContext ctx, const char driverName[], T functor, typename boost::enable_if< boost::is_pointer< T > >::type *=NULL) |
| Traits-based overload to register an instantiation callback where we're given a pointer to a function object. More...
|
|
template<typename T > |
OSVR_ReturnCode | registerDriverInstantiationCallbackImpl (OSVR_PluginRegContext ctx, const char driverName[], T functor, typename boost::disable_if< boost::is_pointer< T > >::type *=NULL) |
| Traits based overload to copy an instantiation callback passed by value then register the copy. More...
|
|
template<typename ReportType > |
void | callbackCaller (void *userdata, const OSVR_TimeValue *timestamp, const ReportType *report) |
|
template<typename ReportType > |
CallbackType< ReportType > | getCaller () |
|
template<typename ReportType , typename F > |
std::pair< CallbackType< ReportType >, WrappedCallbackPtr< ReportType > > | wrapCallback (F &&f) |
|
Internal implementation-only namespace.