ememory::EnableSharedFromThis< EMEMORY_TYPE > Class Template Reference
#include <EnableSharedFromThis.hpp>
Inheritance diagram for ememory::EnableSharedFromThis< EMEMORY_TYPE >:
Public Member Functions | |
ememory::SharedPtr< EMEMORY_TYPE > | sharedFromThis () |
const ememory::SharedPtr< EMEMORY_TYPE > | sharedFromThis () const |
ememory::WeakPtr< EMEMORY_TYPE > | weakFromThis () |
const ememory::WeakPtr< EMEMORY_TYPE > | weakFromThis () const |
Protected Member Functions | |
EnableSharedFromThis () | |
virtual | ~EnableSharedFromThis ()=default |
Detailed Description
template<typename EMEMORY_TYPE>
class ememory::EnableSharedFromThis< EMEMORY_TYPE >
Enable the acces of the self sharedPtr inside an object (note: not availlable in contructor and destructor)
Constructor & Destructor Documentation
§ EnableSharedFromThis()
template<typename EMEMORY_TYPE >
|
protected |
Contructor.
§ ~EnableSharedFromThis()
template<typename EMEMORY_TYPE >
|
protectedvirtualdefault |
Virual destructor (simply virtualyse the destructor)
Member Function Documentation
§ sharedFromThis() [1/2]
template<typename EMEMORY_TYPE >
ememory::SharedPtr<EMEMORY_TYPE> ememory::EnableSharedFromThis< EMEMORY_TYPE >::sharedFromThis | ( | ) |
§ sharedFromThis() [2/2]
template<typename EMEMORY_TYPE >
const ememory::SharedPtr<EMEMORY_TYPE> ememory::EnableSharedFromThis< EMEMORY_TYPE >::sharedFromThis | ( | ) | const |
§ weakFromThis() [1/2]
template<typename EMEMORY_TYPE >
ememory::WeakPtr<EMEMORY_TYPE> ememory::EnableSharedFromThis< EMEMORY_TYPE >::weakFromThis | ( | ) |
§ weakFromThis() [2/2]
template<typename EMEMORY_TYPE >
const ememory::WeakPtr<EMEMORY_TYPE> ememory::EnableSharedFromThis< EMEMORY_TYPE >::weakFromThis | ( | ) | const |
The documentation for this class was generated from the following file:
- framework/atria-soft/ememory/ememory/EnableSharedFromThis.hpp