FactoryFactory Class Reference

详细描述

Helper interface for the Create*Factory functions of Factory.

Public Types

using  DataCreator = Result < 数据 >(const FactoryInterface *, const DataDictionary &, const DelegateBase &)

静态公共成员函数

template<typename FACTORY >
static Result < typename FACTORY::NonConst >  创建 (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())

私有成员函数

  MAXON_INTERFACE_NONVIRTUAL ( FactoryFactory , MAXON_REFERENCE_NONE , "net.maxon.interface.factoryfactory")

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 数据 & >  CreateDataCached (const FactoryInterface *factory, const DataDictionary ¶ms, DataCreator *dc)
template<typename T >
static Result < 数据 CreateData (const FactoryInterface *factory, const DataDictionary ¶ms, const DelegateBase &creator)
template<typename T >
static Result < T >  CreateCachedImpl (FactoryInterface::ConstPtr factory, const DataDictionary ¶ms)

Member Typedef Documentation

◆  DataCreator

using DataCreator = Result < 数据 >(const FactoryInterface *, const DataDictionary&, const DelegateBase &)

成员函数文档编制

◆  MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( FactoryFactory   ,
MAXON_REFERENCE_NONE   ,
"net.maxon.interface.factoryfactory"   
)
private

◆  Create()

static Result <typename FACTORY::NonConst> Create ( typename FACTORY::DelegateType &&  delegate ,
const DataDictionary &  params = DataDictionary()  
)
static

◆  CreateCached()

static Result <typename Factory<T(const DataDictionary&)>::NonConst> CreateCached ( typename Factory< T(const DataDictionary &)>::DelegateType &&  delegate ,
Int   size ,
const DataDictionary &  params = DataDictionary()  
)
static

◆  PrivateCreate()

static MAXON_METHOD Result <GenericFactory::NonConst> PrivateCreate ( DelegateBase &&  func ,
const DataDictionary &  params  
)
static private

◆  PrivateCreateCached()

static MAXON_METHOD Result <GenericFactory::NonConst> PrivateCreateCached ( DelegateBase &&  func ,
DelegateBase &&  creator ,
Int   size ,
const DataDictionary &  params  
)
static private

◆  CreateDataCached()

static MAXON_METHOD Result <const 数据 &> CreateDataCached ( const FactoryInterface factory ,
const DataDictionary &  params ,
DataCreator dc  
)
static private

◆  CreateData()

static Result < 数据 > CreateData ( const FactoryInterface factory ,
const DataDictionary &  params ,
const DelegateBase creator  
)
static private

◆  CreateCachedImpl()

static Result <T> CreateCachedImpl ( FactoryInterface::ConstPtr  factory ,
const DataDictionary &  params  
)
static private