OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::util::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 <osvr/Util/GenericCaller.h>

Inherits type< FunctionPtr, FunctionObjectType, ThisLocation >.

Detailed Description

template<typename FunctionPtr, typename FunctionObjectType, typename ThisLocation>
struct osvr::util::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.

Definition at line 241 of file GenericCaller.h.


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