foobar2000 SDK
2015-08-03
|
#include <service.h>
Public Member Functions | |
service_nnptr_t (T *p_ptr) throw () | |
service_nnptr_t (const t_self &p_source) throw () | |
template<typename t_source > | |
service_nnptr_t (t_source *p_ptr) throw () | |
template<typename t_source > | |
service_nnptr_t (const service_ptr_base_t< t_source > &p_source) throw () | |
template<typename t_source > | |
service_nnptr_t (service_ptr_t< t_source > &&p_source) throw () | |
~service_nnptr_t () throw () | |
service_ptr_t< service_base > & | _as_base_ptr () |
T * | _duplicate_ptr () const throw () |
template<typename t_source > | |
void | copy (t_source *p_ptr) throw () |
template<typename t_source > | |
void | copy (const service_ptr_base_t< t_source > &p_source) throw () |
T * | get_ptr () const throw () |
bool | is_empty () const throw () |
bool | is_valid () const throw () |
bool | operator!= (const service_ptr_base_t< T > &p_item) const throw () |
bool | operator!= (T *p_item) const throw () |
T & | operator* () const throw () |
service_obscure_refcounting< T > * | operator-> () const throw () |
bool | operator< (const service_ptr_base_t< T > &p_item) const throw () |
bool | operator< (T *p_item) const throw () |
const t_self & | operator= (const t_self &p_source) throw () |
const t_self & | operator= (T *p_ptr) throw () |
template<typename t_source > | |
t_self & | operator= (const service_ptr_base_t< t_source > &p_source) throw () |
template<typename t_source > | |
t_self & | operator= (t_source *p_ptr) throw () |
template<typename t_source > | |
t_self & | operator= (service_ptr_t< t_source > &&p_source) throw () |
bool | operator== (const service_ptr_base_t< T > &p_item) const throw () |
bool | operator== (T *p_item) const throw () |
bool | operator> (const service_ptr_base_t< T > &p_item) const throw () |
bool | operator> (T *p_item) const throw () |
Public Member Functions inherited from service_ptr_base_t< T > | |
T * | get_ptr () const throw () |
Static Public Member Functions | |
static bool | _as_base_ptr_check () |
Private Types | |
typedef service_nnptr_t< T > | t_self |
Private Member Functions | |
service_nnptr_t () throw () | |
template<typename t_source > | |
void | _init (t_source *in) |
Additional Inherited Members | |
Protected Attributes inherited from service_ptr_base_t< T > | |
T * | m_ptr |
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
This assumes that the pointers are valid all the time (can't point to null). Mainly intended to be used for scenarios where null pointers are not valid and relevant code should crash ASAP if somebody passes invalid pointers around.
You want to use service_ptr_t<> rather than service_nnptr_t<> most of the time.
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 249 of file service.h.
|
inlinestatic |
Definition at line 253 of file service.h.
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 223 of file service.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |