foobar2000 SDK
2015-08-03
|
#include <service.h>
Public Member Functions | |
service_ptr_t () throw () | |
service_ptr_t (T *p_ptr) throw () | |
service_ptr_t (const t_self &p_source) throw () | |
service_ptr_t (t_self &&p_source) throw () | |
template<typename t_source > | |
service_ptr_t (t_source *p_ptr) throw () | |
template<typename t_source > | |
service_ptr_t (const service_ptr_base_t< t_source > &p_source) throw () | |
template<typename t_source > | |
service_ptr_t (const service_nnptr_t< t_source > &p_source) throw () | |
template<typename t_source > | |
service_ptr_t (service_ptr_t< t_source > &&p_source) throw () | |
~service_ptr_t () throw () | |
service_ptr_t< service_base > & | _as_base_ptr () |
T * | _duplicate_ptr () const throw () |
template<typename t_source > | |
void | attach (t_source *p_ptr) 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 () |
template<typename t_source > | |
void | copy (service_ptr_t< t_source > &&p_source) throw () |
T * | detach () 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 () |
template<typename otherPtr_t > | |
bool | operator&= (otherPtr_t other) |
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 () |
template<typename t_other > | |
t_self & | operator<< (service_ptr_t< t_other > &p_source) throw () |
const t_self & | operator= (const t_self &p_source) throw () |
const t_self & | operator= (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= (service_ptr_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= (const service_nnptr_t< t_source > &p_ptr) 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 () |
template<typename t_other > | |
t_self & | operator>> (service_ptr_t< t_other > &p_dest) throw () |
template<typename otherPtr_t > | |
void | operator^= (otherPtr_t other) |
void | release () 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_ptr_t< T > | t_self |
Private Member Functions | |
template<typename t_source > | |
void | _init (t_source *in) throw () |
template<typename t_source > | |
void | _init (t_source &&in) throw () |
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.
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 157 of file service.h.
|
inlinestatic |
Definition at line 161 of file service.h.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 115 of file service.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Forced cast operator - obtains a valid service pointer to the expected class or crashes the app if such pointer cannot be obtained.
|
inline |