27class ThreadSafePointerTo :
public ThreadSafePointerToBase<T> {
29 typedef typename ThreadSafePointerToBase<T>::To To;
31 INLINE ThreadSafePointerTo(To *ptr =
nullptr);
32 INLINE ThreadSafePointerTo(
const ThreadSafePointerTo<T> ©);
33 INLINE ~ThreadSafePointerTo();
36 INLINE To &operator *()
const;
37 INLINE To *operator -> ()
const;
39 INLINE
operator T *()
const;
56 INLINE ThreadSafePointerTo<T> &operator = (To *ptr);
57 INLINE ThreadSafePointerTo<T> &operator = (
const ThreadSafePointerTo<T> ©);
72class ThreadSafeConstPointerTo :
public ThreadSafePointerToBase<T> {
74 typedef typename ThreadSafePointerToBase<T>::To To;
76 INLINE ThreadSafeConstPointerTo(
const To *ptr =
nullptr);
78 INLINE ThreadSafeConstPointerTo(
const ThreadSafeConstPointerTo<T> ©);
79 INLINE ~ThreadSafeConstPointerTo();
82 INLINE
const To &operator *()
const;
83 INLINE
const To *operator -> ()
const;
84 INLINE
operator const T *()
const;
87 INLINE
const To *
p()
const;
89 INLINE ThreadSafeConstPointerTo<T> &operator = (
const To *ptr);
91 INLINE ThreadSafeConstPointerTo<T> &operator = (
const ThreadSafeConstPointerTo<T> ©);