VisioMove SDK (iOS)
2.1.22
|
Public Member Functions | |
VgReferenced () | |
VgReferenced (const VgReferenced &pThis) | |
virtual | ~VgReferenced () |
VgReferenced & | operator= (const VgReferenced &pThis) |
void | ref () const |
int | unref () const |
int | getNbReferences () const |
Protected Attributes | |
int | mNbReferences |
The VgReferenced class owns the number of references of an object.
It is in charge of deleting the object when there is not more references. To learn more about its usage look at the VgRefPtr documentation.
VgEngine::VgReferenced::VgReferenced | ( | ) |
Constructor.
VgEngine::VgReferenced::VgReferenced | ( | const VgReferenced & | pThis | ) |
Copy constructor.
|
virtual |
Destructor.
int VgEngine::VgReferenced::getNbReferences | ( | ) | const |
Retrieves the number of references to this object.
VgReferenced& VgEngine::VgReferenced::operator= | ( | const VgReferenced & | pThis | ) |
Assignment operator.
void VgEngine::VgReferenced::ref | ( | ) | const |
This method is used to add a reference to this object. Only VgRefPtr should call this method unless the caller exactly know what he is doing.
int VgEngine::VgReferenced::unref | ( | ) | const |
|
mutableprotected |
The number of references to this object.