Helper interface for the Create*Factory
functions of Factory.
Public Types | |
using | DataCreator = Result< Data >(const FactoryInterface *, const DataDictionary &, const DelegateBase &) |
Static Public Member Functions | |
template<typename FACTORY > | |
static Result< typename FACTORY::NonConst > | Create (typename FACTORY::DelegateType &&delegate, const DataDictionary ¶ms=DataDictionary()) |
template<typename T > | |
static Result< typename Factory< T(const DataDictionary &)>::NonConst > | CreateCached (typename Factory< T(const DataDictionary &)>::DelegateType &&delegate, Int size, const DataDictionary ¶ms=DataDictionary()) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (FactoryFactory, MAXON_REFERENCE_STATIC, "net.maxon.interface.factoryfactory", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
Static Private Member Functions | |
static MAXON_METHOD Result< GenericFactory::NonConst > | PrivateCreate (DelegateBase &&func, const DataDictionary ¶ms) |
static MAXON_METHOD Result< GenericFactory::NonConst > | PrivateCreateCached (DelegateBase &&func, DelegateBase &&creator, Int size, const DataDictionary ¶ms) |
static MAXON_METHOD Result< const Data & > | CreateDataCached (const FactoryInterface *factory, const DataDictionary ¶ms, DataCreator *dc) |
template<typename T > | |
static Result< Data > | CreateData (const FactoryInterface *factory, const DataDictionary ¶ms, const DelegateBase &creator) |
template<typename T > | |
static Result< T > | CreateCachedImpl (FactoryInterface::ConstPtr factory, const DataDictionary ¶ms) |
using DataCreator = Result<Data>(const FactoryInterface*, const DataDictionary&, const DelegateBase&) |
|
private |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |