#include <cabal_ref.h>
Inheritance diagram for Cabal::Referenceable:
Public Member Functions | |
virtual void | incref ()=0 |
Signal that there is one more user for the object. | |
virtual void | decref ()=0 |
Signal that an user does not needs the object anymore. |
Definition at line 20 of file cabal_ref.h.
|
Signal that an user does not needs the object anymore. If the object is not disposeable, this call is ignored. Else, if the reference count hits zero, the object is immediately destroyed.
Implemented in Cabal::Socket. |
|
Signal that there is one more user for the object. If the object is not disposeable, this call is ignored, else the internal refcount is incremented.
Implemented in Cabal::Socket. |