Separatista
SepaControlUnknown< T > Class Template Reference
Inheritance diagram for SepaControlUnknown< T >:
SepaControlDispatch< T >

Public Member Functions

 SepaControlUnknown ()
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID iid, void **pvvObject)
 
ULONG STDMETHODCALLTYPE AddRef ()
 
ULONG STDMETHODCALLTYPE Release ()
 

Protected Member Functions

virtual ~SepaControlUnknown ()
 

Protected Attributes

ULONG m_uRefCount
 

Constructor & Destructor Documentation

◆ SepaControlUnknown()

template<class T >
SepaControlUnknown< T >::SepaControlUnknown ( )

This constructor takes the parent COM object as an argument. It will call AddRef on the parent object and call Release on destruction. This will make sure the parent object isn't destroyed before this child.

◆ ~SepaControlUnknown()

template<class T >
SepaControlUnknown< T >::~SepaControlUnknown ( )
protectedvirtual

Destructor. Calls Release on the parent COM object if set through the constructor. Destructor with protected access. This object has to be freed through Release method since it uses reference counting.

See also
Release()

The documentation for this class was generated from the following files: