Class Object¶
Defined in File object.h
Page Contents
Inheritance Relationships¶
Derived Types¶
public nanogui::Layout
(Class Layout)public nanogui::Theme
(Class Theme)public nanogui::Widget
(Class Widget)
Class Documentation¶
-
class
Object
¶ Reference counted object base class.
Subclassed by nanogui::Layout, nanogui::Theme, nanogui::Widget
Public Functions
-
Object
()¶ Default constructor.
-
int
getRefCount
() const¶ Return the current reference count.
-
void
incRef
() const¶ Increase the object’s reference count by one.
-
void
decRef
(bool dealloc = true) const¶ Decrease the reference count of the object and possibly deallocate it.
The object will automatically be deallocated once the reference count reaches zero.
-