Logo
Public Member Functions | Public Attributes | List of all members
SharpKmyGfx::SharedPtr< T > Class Template Reference

#include <GameView.h>

Public Member Functions

 SharedPtr ()
 
void release ()
 
 operator bool ()
 
T * operator-> ()
 
std::shared_ptr< T > & operator* ()
 

Public Attributes

std::shared_ptr< T > * m_ptr = nullptr
 

Constructor & Destructor Documentation

◆ SharedPtr()

template<typename T >
SharpKmyGfx::SharedPtr< T >::SharedPtr ( )

Member Function Documentation

◆ operator bool()

template<typename T >
SharpKmyGfx::SharedPtr< T >::operator bool ( )

◆ operator*()

template<typename T >
std::shared_ptr< T > & SharpKmyGfx::SharedPtr< T >::operator* ( )

◆ operator->()

template<typename T >
T * SharpKmyGfx::SharedPtr< T >::operator-> ( )

◆ release()

template<typename T >
void SharpKmyGfx::SharedPtr< T >::release ( )

Member Data Documentation

◆ m_ptr

template<typename T >
std::shared_ptr<T>* SharpKmyGfx::SharedPtr< T >::m_ptr = nullptr