a2dSmrtPtrWrap< T > Class Template Reference
[base classes used for many others]

help class which makes it possible to store a smart pointer as a wxObject* More...

#include <comevt.h>

Collaboration diagram for a2dSmrtPtrWrap< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dSmrtPtrWrap (T *caller)

Public Attributes

a2dSmrtPtr< T > m_smrtP


Detailed Description

template<class T>
class a2dSmrtPtrWrap< T >

help class which makes it possible to store a smart pointer as a wxObject*

If a class X has a member wxObject* m_obj, this pointer can normally not be used for storing a a2dSmrtPtr which is a template class not derived from wxObject. This class here is wxObject derived, and the smart pointer is maintained within. On deletion of this class it will delete the smart pointer, releasing the object pointed to.

Definition at line 1497 of file comevt.h.


The documentation for this class was generated from the following file:
a2dSmrtPtrWrap< T > Class Template Reference -- Tue Aug 31 18:34:17 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation