Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <usServiceInterface.h>
Public Member Functions | |
template<class Impl > | |
MakeInterfaceMap (Impl *impl) | |
MakeInterfaceMap (ServiceFactory *factory) | |
operator InterfaceMap () | |
Public Attributes | |
ServiceFactory * | m_factory |
I1 * | m_interface1 |
I2 * | m_interface2 |
I3 * | m_interface3 |
Helper class for constructing InterfaceMap instances based on service implementations or service factories.
Example usage:
The MakeInterfaceMap supports service implementations with up to three service interfaces.
Definition at line 179 of file usServiceInterface.h.
|
inline |
Constructor taking a service implementation pointer.
impl | A service implementation pointer, which must be castable to a all specified service interfaces. |
Definition at line 193 of file usServiceInterface.h.
|
inline |
Constructor taking a service factory.
factory | A service factory. |
Definition at line 205 of file usServiceInterface.h.
|
inline |
Definition at line 217 of file usServiceInterface.h.
References us::InsertInterfaceType().
ServiceFactory* us::MakeInterfaceMap< I1, I2, I3 >::m_factory |
Definition at line 181 of file usServiceInterface.h.
I1* us::MakeInterfaceMap< I1, I2, I3 >::m_interface1 |
Definition at line 182 of file usServiceInterface.h.
I2* us::MakeInterfaceMap< I1, I2, I3 >::m_interface2 |
Definition at line 183 of file usServiceInterface.h.
I3* us::MakeInterfaceMap< I1, I2, I3 >::m_interface3 |
Definition at line 184 of file usServiceInterface.h.