![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <ThreadPool.hpp>
Public Member Functions | |
| CAT_INLINE | AutoRef (T *ref=0) throw () |
| CAT_INLINE void | Forget () throw () |
| CAT_INLINE T * | Get () throw () |
| CAT_INLINE | operator T * () |
| CAT_INLINE T & | operator* () throw () |
| CAT_INLINE T * | operator-> () throw () |
| CAT_INLINE AutoRef & | operator= (T *ref) throw () |
| CAT_INLINE void | Reset (T *ref=0) throw () |
| CAT_INLINE | ~AutoRef () throw () |
Private Attributes | |
| T * | _ref |
Definition at line 93 of file ThreadPool.hpp.
| CAT_INLINE cat::AutoRef< T >::AutoRef | ( | T * | ref = 0 | ) | throw () [inline] |
| CAT_INLINE cat::AutoRef< T >::~AutoRef | ( | ) | throw () [inline] |
Definition at line 99 of file ThreadPool.hpp.
References cat::AutoRef< T >::_ref, and cat::ThreadRefObject::SafeRelease().
| CAT_INLINE void cat::AutoRef< T >::Forget | ( | ) | throw () [inline] |
| CAT_INLINE T* cat::AutoRef< T >::Get | ( | ) | throw () [inline] |
| CAT_INLINE cat::AutoRef< T >::operator T * | ( | ) | [inline] |
| CAT_INLINE T& cat::AutoRef< T >::operator* | ( | ) | throw () [inline] |
Definition at line 104 of file ThreadPool.hpp.
References cat::AutoRef< T >::_ref.
{ return *_ref; }
| CAT_INLINE T* cat::AutoRef< T >::operator-> | ( | ) | throw () [inline] |
| CAT_INLINE AutoRef& cat::AutoRef< T >::operator= | ( | T * | ref | ) | throw () [inline] |
Definition at line 100 of file ThreadPool.hpp.
References cat::AutoRef< T >::Reset().
{ Reset(ref); return *this; }
| CAT_INLINE void cat::AutoRef< T >::Reset | ( | T * | ref = 0 | ) | throw () [inline] |
Definition at line 108 of file ThreadPool.hpp.
References cat::AutoRef< T >::_ref, and cat::ThreadRefObject::SafeRelease().
Referenced by cat::AutoRef< T >::operator=().
{ ThreadRefObject::SafeRelease(_ref); _ref = ref; }
T* cat::AutoRef< T >::_ref [private] |
Definition at line 95 of file ThreadPool.hpp.
Referenced by cat::AutoRef< T >::AutoRef(), cat::AutoRef< T >::Forget(), cat::AutoRef< T >::Get(), cat::AutoRef< T >::operator T *(), cat::AutoRef< T >::operator*(), cat::AutoRef< T >::operator->(), cat::AutoRef< T >::Reset(), and cat::AutoRef< T >::~AutoRef().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.