#include <objmgr.h>
Inherits BazisLib::ObjectManager::ServiceObject.
Public Member Functions | |
IntermediateServiceObject (_ServiceType *pObject) | |
~IntermediateServiceObject () | |
_ServiceType * | GetParentService () |
Private Attributes | |
_ServiceType * | m_pService |
A simple intermediate service is a service that is a client one and only one service. Such 'service-for-service' is called a parent service. This class allows automatic registration/deregistration within a parent service. To get the parent service pointer, use the IntermediateServiceObject::GetParentService() pointer.
_ServiceType | Specifies the parent service type. |
BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::IntermediateServiceObject | ( | _ServiceType * | pObject | ) | [inline] |
BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::~IntermediateServiceObject | ( | ) | [inline] |
_ServiceType* BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::GetParentService | ( | ) | [inline] |
_ServiceType* BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::m_pService [private] |