OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_ReferenceCountedObject.h>
Inherited by juce::Expression::Term.
Public Member Functions | |
void | incReferenceCount () noexcept |
void | decReferenceCount () noexcept |
bool | decReferenceCountWithoutDeleting () noexcept |
int | getReferenceCount () const noexcept |
Adds reference-counting to an object.
This is effectively a version of the ReferenceCountedObject class, but which uses a non-atomic counter, and so is not thread-safe (but which will be more efficient). For more details on how to use it, see the ReferenceCountedObject class notes.
Definition at line 153 of file juce_ReferenceCountedObject.h.
|
protecteddefault |
Creates the reference-counted object (with an initial ref count of zero).
|
inlineprotected |
Copying from another object does not affect this one's reference-count.
Definition at line 198 of file juce_ReferenceCountedObject.h.
|
inlineprotected |
Copying from another object does not affect this one's reference-count.
Definition at line 200 of file juce_ReferenceCountedObject.h.
|
inlineprotectedvirtual |
Destructor.
Definition at line 207 of file juce_ReferenceCountedObject.h.
|
inlinenoexcept |
Decreases the object's reference count. If the count gets to zero, the object will be deleted.
Definition at line 170 of file juce_ReferenceCountedObject.h.
|
inlinenoexcept |
Decreases the object's reference count. If the count gets to zero, the object will not be deleted, but this method will return true, allowing the caller to take care of deletion.
Definition at line 182 of file juce_ReferenceCountedObject.h.
|
inlinenoexcept |
Returns the object's current reference count.
Definition at line 189 of file juce_ReferenceCountedObject.h.
|
inlinenoexcept |
Increments the object's reference count.
This is done automatically by the smart pointer, but is public just in case it's needed for nefarious purposes.
Definition at line 162 of file juce_ReferenceCountedObject.h.
|
inlineprotected |
Copying from another object does not affect this one's reference-count.
Definition at line 202 of file juce_ReferenceCountedObject.h.
|
inlineprotected |
Copying from another object does not affect this one's reference-count.
Definition at line 204 of file juce_ReferenceCountedObject.h.