#include <mw/cwrt/servicebase.h>
| class IServiceBase |
| Public Member Functions | |
|---|---|
| pure virtual void | addRef() |
| void | getInterface(const ServiceInterfaceInfo &, T **) |
| pure virtual void | getInterface(const ServiceInterfaceInfo &, void **) |
| pure virtual QObject * | getServiceObject() |
| pure virtual void | release() |
The base class for service interfaces. All of interfaces supported by service object must derive from this interface. Service class must derive from this interface or IServiceBase derived interface.
| void | getInterface | ( | const ServiceInterfaceInfo & | aInterfaceInfo, |
| T ** | aInterface | |||
| ) | [inline] | |||
Interface getter helper Get another interface from available interface implemented by the same service provider.
| Parameters | |
|---|---|
| aInterfaceInfo | interface info |
| aInterface | Address of the pointer that is the interface pointer to the object or NULL. |
| void | getInterface | ( | const ServiceInterfaceInfo & | aInterfaceInfo, |
| void ** | aInterface | |||
| ) | [pure virtual] | |||
Interface getter Get another interface from available interface implemented by the same service provider.
| Parameters | |
|---|---|
| aInterfaceInfo | interface info |
| aInterface | Address of the pointer that is the interface pointer to the object or NULL. |