corona::DLLImplementation< Interface > Class Template Reference

#include <corona.h>

List of all members.

Public Member Functions

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>.


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.


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.

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()...


The documentation for this class was generated from the following file:
Generated on Wed Jan 17 14:53:48 2007 for iTunesIslands by  doxygen 1.5.1-p1