Discussion:
[xplc-general] [ xplc-Patches-1263006 ] xplc_ptr updates
SourceForge.net
2005-08-18 11:10:00 UTC
Permalink
Patches item #1263006, was opened at 2005-08-18 05:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=301814&aid=1263006&group_id=1814

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: xplc_ptr updates

Initial Comment:
xplc_ptr changes :
- all xplc_ptr constructors do an addRef()
- add a static protected method which returns a non
addRef()ed xplc_ptr
- declare XPLC class as friend of xplc_ptr
- update the copy constructor to only take the same
xplc_ptr type
- move the operator=(xplc_ptr) in the public part

XPLC class changes :
- add some new constructors in XPLC which directly return
a valid xplc_ptr with a refCount at 1

mutate method changes :
- the interface is only released if the getInterface() returns
a valid pointer

---
Lionel Petit <ptiyo at ipsquad dot net>

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=301814&aid=1263006&group_id=1814
Loading...