#include <factory.h>
This class defines the Create function for Factory.
Public Types | |
using | type = FactoryFunctions |
using | DelegateType = Delegate< Result< T >(FactoryInterface::ConstPtr, ARGS...)> |
Public Member Functions | |
MAXON_DEFAULT_REFERENCE_CONSTRUCTORS (FactoryFunctions, typename SUPER::type) | |
Result< T > | Create (ARGS... args) const |
using type = FactoryFunctions |
using DelegateType = Delegate<Result<T>(FactoryInterface::ConstPtr, ARGS...)> |
MAXON_DEFAULT_REFERENCE_CONSTRUCTORS | ( | FactoryFunctions< Factory< T(ARGS...)>, SUPER > | , |
typename SUPER::type | |||
) |
Result<T> Create | ( | ARGS... | args | ) | const |
Creates a new object of type T given the arguments args.
[in] | args | Arguments for the creation of the new object. |