27 #define LOCK_PTR_NDEBUG
182 obj =
new PointerObject(
p);
188 obj =
new PointerObject(p_o);
282 return (
obj->
get() == NULL);
310 return (
obj->
get() != NULL);
349 #ifndef LOCK_PTR_NDEBUG
PointerObject(PointerObject const &)
bool operator!=(const lockPTR< D > &p) const
Definition: lockptr.h:301
void lock(void) const
Definition: lockptr.h:325
lockPTR< D > operator=(D &s)
Definition: lockptr.h:221
void lock(void)
Definition: lockptr.h:156
bool islocked(void) const
Definition: lockptr.h:313
~PointerObject()
Definition: lockptr.h:111
bool locked
Definition: lockptr.h:94
void unlock(void) const
Definition: lockptr.h:331
virtual ~lockPTR()
Definition: lockptr.h:199
bool operator==(const lockPTR< D > &p) const
Definition: lockptr.h:296
void unlock(void)
Definition: lockptr.h:337
D & operator*()
Definition: lockptr.h:264
size_t references(void) const
Definition: lockptr.h:141
bool valid(void) const
< returns true if and only if obj->pointee != NULL
Definition: lockptr.h:307
lockPTR(D &p_o)
Definition: lockptr.h:186
lockPTR< D > operator=(const lockPTR< D > &spd)
Definition: lockptr.h:205
size_t references(void) const
Definition: lockptr.h:343
bool deletable
Definition: lockptr.h:93
void unlock(void)
Definition: lockptr.h:162
lockPTR(D *p=NULL)
Definition: lockptr.h:180
bool operator!() const
< returns true if and only if obj->pointee == NULL
Definition: lockptr.h:278
const D & operator*() const
Definition: lockptr.h:271
D * operator->()
Definition: lockptr.h:257
lockPTR(const lockPTR< D > &spd)
Definition: lockptr.h:192
bool isdeletable(void) const
Definition: lockptr.h:151
PointerObject(D *p=NULL)
Definition: lockptr.h:101
size_t number_of_references
Definition: lockptr.h:92
D * get(void) const
Definition: lockptr.h:120
lockPTR< D > operator=(D const &s)
Definition: lockptr.h:228
PointerObject(D &p_o)
Definition: lockptr.h:106
void removeReference(void)
Definition: lockptr.h:130
This template is the standard safe-pointer implementation of SYNOD.
Definition: lockptr.h:84
D * pointee
Definition: lockptr.h:91
D * operator->() const
Definition: lockptr.h:250
bool deletable(void) const
Definition: lockptr.h:319
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218
PointerObject * obj
Definition: lockptr.h:170
void addReference(void)
Definition: lockptr.h:125
bool islocked(void) const
Definition: lockptr.h:146