Mirror reflection library 0.5.13
|
Class template for generating function invokers. More...
#include <mirror/invoker.hpp>
Public Member Functions | |
template<typename Param > | |
invoker (Param param) |
Class template for generating function invokers.
This template can be used to create a custom invoker class that uses the registered meta-data about a function and two user-specified templates create and pass the arguments to a function.
Manufacturer | a class template which knows how to construct the parametes for the constructors. this template can for example use this factory template recursivelly for elaborated types and specify how to construct and initialize instances of the native C++ types. |
Suppliers | a class template which knows how to get existing instances to be supplied as parameters to the constructors. |
Enumerator | a class template which knows how to get enumerated values from external representations, like their names or values. |
SourceTraits | A parameter for the Manufacturer and Suppliers templates, which can be used for further configuration and fine-tuning of the generated factory. |
Product | the type instances of which are produced by this factory |