Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

corona::DLLImplementation< Interface > Class Template Reference

#include <corona.h>

Inheritance diagram for corona::DLLImplementation< Interface >:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~DLLImplementation ()
virtual void COR_CALL destroy ()
void operator delete (void *p)

Detailed Description

template<class Interface>
class corona::DLLImplementation< Interface >

A helper class for DLL-compatible interface implementations. Derive your implementations from DLLImplementation<YourInterface>.

Definition at line 136 of file corona.h.


Constructor & Destructor Documentation

template<class Interface>
virtual corona::DLLImplementation< Interface >::~DLLImplementation   [inline, virtual]
 

So the implementation can put its destruction logic in the destructor, as natural C++ code does.

Definition at line 142 of file corona.h.


Member Function Documentation

template<class Interface>
virtual void COR_CALL corona::DLLImplementation< Interface >::destroy   [inline, virtual]
 

Call the destructor in a Win32 ABI-compatible way.

Definition at line 147 of file corona.h.

template<class Interface>
void corona::DLLImplementation< Interface >::operator delete void *    p [inline]
 

So destroy()'s "delete this" doesn't go into an infinite loop, calling the interface's operator delete, which calls destroy()...

Definition at line 155 of file corona.h.


The documentation for this class was generated from the following file:
Generated on Thu Oct 2 13:00:11 2003 for corona by doxygen1.3-rc1