![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSingletonPtr.h>
Public Member Functions | |
cSingletonPtr (bool bInit=true) | |
void | InitPtr () |
void | ReleasePtr () |
bool | isValidPtr () const |
TYPE * | operator-> () const |
TYPE * | get_Ptr () const |
Additional Inherited Members | |
![]() | |
void | IncRefFirst () |
cRefPtr () noexcept | |
cRefPtr (const TYPE *p2) | |
cRefPtr (const THIS_t &ref) | |
cRefPtr (const TYPE *p2, TIMESYSD_t dwWaitMS) | |
~cRefPtr () | |
bool | isValidPtr () const |
bool | isCorruptPtr () const |
void | put_Ptr (TYPE *p) |
void | ReleasePtr () |
int | get_RefCount () const |
THIS_t & | operator= (const TYPE *p2) |
THIS_t & | operator= (const THIS_t &ref) |
operator cRefPtr< _TYPE_2 > () const | |
![]() | |
cPtrFacade (TYPE *p=nullptr) noexcept | |
cPtrFacade (THIS_t &&ref) noexcept | |
bool | isValidPtr () const noexcept |
TYPE ** | get_PPtr () |
TYPE * | get_Ptr () const noexcept |
void | put_Ptr (TYPE *p) noexcept |
void | ReleasePtr () noexcept |
void | AttachPtr (TYPE *p) noexcept |
TYPE * | DetachPtr () noexcept |
THIS_t & | operator= (TYPE *p) noexcept |
THIS_t & | operator= (THIS_t &&ref) noexcept |
operator TYPE * () const noexcept | |
TYPE & | get_Ref () const |
TYPE & | operator* () const |
TYPE * | operator-> () const |
bool | operator! () const noexcept |
Comparison ops. More... | |
bool | operator!= (TYPE *p2) const noexcept |
bool | operator== (TYPE *p2) const noexcept |
![]() | |
TYPE * | m_p |
Pointer to some object of TYPE. More... | |
A reference to a cSingletonSmart<> based TYPE or a type that has both cSingleton and cRefBase.
|
inline |
|
inline |
For use with SMARTS_CAST(x) and SMART_CAST(x) or just use TYPE::get_Single() ?
|
inline |
If i created an empty cSingletonPtr(false) (as part of some class) this is how I populate it on that classes constructor. Attach to cSingletonSmart
|
inline |
|
inline |
|
inline |