30 #ifndef AVT_VMBAPI_SHAREDPOINTER_H 31 #define AVT_VMBAPI_SHAREDPOINTER_H 49 virtual void inc() = 0;
50 virtual void dec() = 0;
51 virtual long use_count()
const = 0;
71 virtual long use_count()
const;
87 static void swap(T2 &rValue1, T2 &rValue2);
107 void reset(T2 *pObject);
110 T& operator * ()
const;
111 T* operator -> ()
const;
112 long use_count()
const;
124 return &this_type::m_pObject;
130 template<
class T,
class T2>
133 template<
class T1,
class T2>
135 template<
class T1,
class T2>
142 #endif //AVT_VMBAPI_SHAREDPOINTER_H
AVT::VmbAPI::ref_count_base * m_pRefCount
bool operator!=(const shared_ptr< T1 > &sp1, const shared_ptr< T2 > &sp2)
T *this_type::* unspecified_bool_type
virtual ~ref_count_base()
shared_ptr< T > this_type
bool operator==(const shared_ptr< T1 > &sp1, const shared_ptr< T2 > &sp2)
shared_ptr< T > dynamic_pointer_cast(const shared_ptr< T2 > &rSharedPointer)