#include <oscl_shared_ptr.h>
Public Methods | |
| OsclSharedPtr () | |
| Constructor. | |
| OsclSharedPtr (TheClass *inClassPtr, OsclRefCounter *in_refcnt) | |
| Constructor. | |
| OsclSharedPtr (const OsclSharedPtr &inSharedPtr) | |
| Copy constructor. | |
| virtual | ~OsclSharedPtr () |
| Destructor. | |
| TheClass * | operator-> () |
| TheClass & | operator * () |
| The indirection operator returns a reference to an object of the parameterized type. | |
| operator TheClass * () | |
| Casting operator. | |
| TheClass * | GetRep () |
| Use this function to get a pointer to the wrapped object. | |
| OsclRefCounter * | GetRefCounter () |
| Get the refcount pointer. This should primarily be used for conversion operations. | |
| int | get_count () |
| Get a count of how many references to the object exist. | |
| void | Bind (const OsclSharedPtr &inHandle) |
| Use this function to bind an existing OsclSharedPtr to a already-wrapped object. | |
| void | Bind (TheClass *ptr, OsclRefCounter *in_refcnt) |
| Use this function to bind an existing OsclSharedPtr to a new (unwrapped) object. | |
| void | Unbind () |
| Use this function of unbind an existing OsclSharedPtr. | |
| OsclSharedPtr & | operator= (const OsclSharedPtr &inSharedPtr) |
| Assignment operator. | |
| bool | operator== (const OsclSharedPtr &b) const |
| Test for equality to see if two PVHandles wrap the same object. | |
|
|||||||||
|
Constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
||||||||||
|
Copy constructor.
|
|
|||||||||
|
Destructor.
|
|
|||||||||
|
Get a count of how many references to the object exist.
|
|
|||||||||
|
Get the refcount pointer. This should primarily be used for conversion operations.
|
|
|||||||||
|
Use this function to get a pointer to the wrapped object.
|
|
|||||||||
|
The indirection operator returns a reference to an object of the parameterized type.
|
|
|||||||||
|
Casting operator.
|
|
|||||||||
|
The dereferencing operator returns a pointer to the parameterized type and can be used to access member elements of TheClass. |
|
||||||||||
|
Assignment operator.
|
|
|||||||||
|
Use this function of unbind an existing OsclSharedPtr.
|
OSCL API
Posting Version: CORE_8.000.1.1_RC4