#include <service_registry.h>
Public Member Functions | |
| template<class I > | |
| void | provide (I *service) |
Register service as the provider of interface I (call during attach()). | |
| template<class I > | |
| I * | get () const |
| Resolve the provider of interface I, or nullptr if none is registered. | |
Definition at line 39 of file service_registry.h.
|
inline |
Resolve the provider of interface I, or nullptr if none is registered.
Definition at line 49 of file service_registry.h.
|
inline |
Register service as the provider of interface I (call during attach()).
Definition at line 43 of file service_registry.h.