BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType > Class Template Reference

Represents a simple intermediate service. More...

#include <objmgr.h>

Inherits BazisLib::ObjectManager::ServiceObject.

Collaboration diagram for BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 IntermediateServiceObject (_ServiceType *pObject)
 ~IntermediateServiceObject ()
_ServiceType * GetParentService ()

Private Attributes

_ServiceType * m_pService


Detailed Description

template<class _ServiceType>
class BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >

Represents a simple intermediate service.

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.

Parameters:
_ServiceType Specifies the parent service type.

Constructor & Destructor Documentation

template<class _ServiceType >
BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::IntermediateServiceObject ( _ServiceType *  pObject  )  [inline]

template<class _ServiceType >
BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::~IntermediateServiceObject (  )  [inline]


Member Function Documentation

template<class _ServiceType >
_ServiceType* BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::GetParentService (  )  [inline]


Member Data Documentation

template<class _ServiceType >
_ServiceType* BazisLib::ObjectManager::IntermediateServiceObject< _ServiceType >::m_pService [private]


The documentation for this class was generated from the following file:
SourceForge.net Logo