RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted. More...
#include <ik_IVirtualRefCounted.h>
Public Member Functions | |
virtual | ~IVirtualRefCounted () |
Destructor. More... | |
virtual void | grab ()=0 |
Grabs the object. Increments the reference counter by one. More... | |
virtual bool | drop ()=0 |
Drops the object. Decrements the reference counter by one. More... | |
Reference counting base class for objects in the Irrlicht Engine similar to IRefCounted.
See IRefCounted for the basics of this class. The difference to IRefCounted is that the class has to implement reference counting for itself.
Definition at line 19 of file ik_IVirtualRefCounted.h.
|
inlinevirtual |
Destructor.
Definition at line 24 of file ik_IVirtualRefCounted.h.
|
pure virtual |
Drops the object. Decrements the reference counter by one.
To be implemented by the derived class. If you don't want to implement this, use the class IRefCounted instead. See IRefCounted::grab() for details of this method.
|
pure virtual |
Grabs the object. Increments the reference counter by one.
To be implemented by the derived class. If you don't want to implement this, use the class IRefCounted instead. See IRefCounted::grab() for details of this method.