Tramway SDK
Public Member Functions | Protected Attributes | List of all members
tram::PoolPtr< T > Class Template Reference

#include <pool.h>

Public Member Functions

 PoolPtr ()
 
 ~PoolPtr ()
 
T * GetResource ()
 
T * operator-> ()
 
T & operator* ()
 
 operator bool ()
 

Protected Attributes

T * ptr
 

Constructor & Destructor Documentation

◆ PoolPtr()

template<typename T >
tram::PoolPtr< T >::PoolPtr ( )
inline

◆ ~PoolPtr()

template<typename T >
tram::PoolPtr< T >::~PoolPtr ( )
inline

Member Function Documentation

◆ GetResource()

template<typename T >
T * tram::PoolPtr< T >::GetResource ( )
inline

◆ operator bool()

template<typename T >
tram::PoolPtr< T >::operator bool ( )
inlineexplicit

◆ operator*()

template<typename T >
T & tram::PoolPtr< T >::operator* ( )
inline

◆ operator->()

template<typename T >
T * tram::PoolPtr< T >::operator-> ( )
inline

Member Data Documentation

◆ ptr

template<typename T >
T* tram::PoolPtr< T >::ptr
protected

The documentation for this class was generated from the following file: