OSVR-Core
osvr::util::functor_trampolines::GenericCaller< FunctionPtr, FunctionObjectType, ThisLocation > Struct Template Reference

Struct containing a single static function member named "call" that serves as a converter from a function call with an opaque userdata pointer to a functor call using the userdata pointer as "this". More...

#include <GenericCaller.h>

Inheritance diagram for osvr::util::functor_trampolines::GenericCaller< FunctionPtr, FunctionObjectType, ThisLocation >:

Detailed Description

template<typename FunctionPtr, typename FunctionObjectType, typename ThisLocation>
struct osvr::util::functor_trampolines::GenericCaller< FunctionPtr, FunctionObjectType, ThisLocation >

Struct containing a single static function member named "call" that serves as a converter from a function call with an opaque userdata pointer to a functor call using the userdata pointer as "this".

Template Parameters
FunctionPtrDesired function pointer type
FunctionObjectTypeType of your function object
ThisLocationone of this_first_t or this_last_t indicating which parameter is the "userdata" this pointer.

The documentation for this struct was generated from the following file: