wxArt2D
Public Member Functions | Public Attributes | List of all members
a2dSmrtPtrWrap< T > Class Template Reference

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

#include <comevt.h>

Inheritance diagram for a2dSmrtPtrWrap< T >:
Inheritance graph
[legend]
Collaboration diagram for a2dSmrtPtrWrap< T >:
Collaboration graph
[legend]

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 1053 of file comevt.h.


The documentation for this class was generated from the following file:
a2dSmrtPtrWrap< T > Class Template Reference -- Sun Oct 12 2014 17:04:48 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation