Otclient  14/8/2020
stdext::shared_object Class Reference

#include <shared_object.h>

Inheritance diagram for stdext::shared_object:

Public Member Functions

 shared_object ()
 
virtual ~shared_object ()
 
void add_ref ()
 
void dec_ref ()
 
refcount_t ref_count ()
 
template<typename T >
stdext::shared_object_ptr< T > static_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > dynamic_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > const_self_cast ()
 

Detailed Description

Definition at line 41 of file shared_object.h.

Constructor & Destructor Documentation

◆ shared_object()

stdext::shared_object::shared_object ( )
inline

Definition at line 44 of file shared_object.h.

◆ ~shared_object()

virtual stdext::shared_object::~shared_object ( )
inlinevirtual

Definition at line 45 of file shared_object.h.

Member Function Documentation

◆ add_ref()

void stdext::shared_object::add_ref ( )
inline

Definition at line 46 of file shared_object.h.

◆ const_self_cast()

template<typename T >
stdext::shared_object_ptr<T> stdext::shared_object::const_self_cast ( )
inline

Definition at line 52 of file shared_object.h.

◆ dec_ref()

void stdext::shared_object::dec_ref ( )
inline

Definition at line 47 of file shared_object.h.

◆ dynamic_self_cast()

template<typename T >
stdext::shared_object_ptr<T> stdext::shared_object::dynamic_self_cast ( )
inline

Definition at line 51 of file shared_object.h.

◆ ref_count()

refcount_t stdext::shared_object::ref_count ( )
inline

Definition at line 48 of file shared_object.h.

Here is the caller graph for this function:

◆ static_self_cast()

template<typename T >
stdext::shared_object_ptr<T> stdext::shared_object::static_self_cast ( )
inline

Definition at line 50 of file shared_object.h.

Here is the caller graph for this function:

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