RefobjBase class reference
[Base module]
Declaration
This class is for internal use only.
#include <QtLua/Ref>
namespace QtLua {
class RefobjBase;
};
This class is a member of the QtLua namespace.
This class is declared in QtLua/qtluaref.hh source file, line 361.
Description
Members
Functions
- int ref_count() const
- void ref_delegate(RefobjBase *o)
- bool ref_is_delegate() const
Protected functions
- RefobjBase()
- virtual ~RefobjBase()
- void ref_allocated()
- virtual void ref_single()
- void _drop() const
- void _inc() const
Private constants
- static const uintptr_t REF_DELEGATE
- static const uintptr_t REF_DELETE
- static const uintptr_t REF_MASK
- static const uintptr_t REF_ONE
Private field
- uintptr_t _state
Members detail
This constructor is declared in QtLua/qtluaref.hh source file, line 380.
This member access is protected.
This virtual destructor is declared in QtLua/qtluaref.hh source file, line 375.
This member access is protected.
This variable is declared in QtLua/qtluaref.hh source file, line 368.
This member access is private.
This variable is declared in QtLua/qtluaref.hh source file, line 367.
This member access is private.
This variable is declared in QtLua/qtluaref.hh source file, line 370.
This member access is private.
This variable is declared in QtLua/qtluaref.hh source file, line 369.
This member access is private.
This function is declared in QtLua/qtluaref.hh source file, line 430.
This member access is protected.
This function is declared in QtLua/qtluaref.hh source file, line 470.
Get object current reference count
void ref_delegate(RefobjBase *o)
This function is declared in QtLua/qtluaref.hh source file, line 452.
This function set the passed object as references counter in place of this object. The reference counter of this object is disabled and all Ref pointing to this contribute to reference counter of specified object instead.
This function must be used when an object is instantiated as a member of an other object so that references to the member object are used to keep the container object alive.
This function is declared in QtLua/qtluaref.hh source file, line 462.
Check if RefobjBase::ref_delegate has been used on this object.
This virtual function is declared in QtLua/qtluaref.hh source file, line 438.
This member access is protected.
This function is called when a dynamically allocated object has its reference count decreased to 1.
This function is for internal use only.
This function is declared in QtLua/qtluaref.hh source file, line 400.
This member access is protected.
This function is for internal use only.
This function is declared in QtLua/qtluaref.hh source file, line 385.
This member access is protected.
This variable is for internal use only.
This variable is declared in QtLua/qtluaref.hh source file, line 365.
This member access is private.
Reference counter value