|
template<typename Adapter , typename Adaptee > |
static Adapter * | adapt (Adaptee *object) |
|
template<typename AdapterBase , typename Adapter , typename Adaptee > |
static AdapterBase * | createFrom (Adaptee *a) |
| Creates an instance of Adapter using it's Adapter::Adapter(Adaptee* a) constructor. More...
|
|
template<typename Adapter , typename Adaptee > |
static void | registerAdapter (Adapter *(*creationFunction)(Adaptee *adaptee)) |
|
template<typename AdapterBase , typename Adapter , typename Adaptee > |
static void | registerAdapterViaConstructor () |
|
template<typename Adapter > |
static void | registerDefaultAdapter (Adapter *(*creationFunction)(typename Adapter::BaseAdapteeType *adaptee)) |
|
template<typename AdapterBase , typename Adapter , typename Adaptee >
AdapterBase * Core::AdapterManager::createFrom |
( |
Adaptee * |
a | ) |
|
|
static |
Creates an instance of Adapter using it's Adapter::Adapter(Adaptee* a) constructor.
This is a convenience method for creating adapter functions.