This is a handy base class for the state of a processor (such as parameter values) which is typically shared among several processors. More...
#include <juce_ProcessContext.h>
Public Types | |
using | Ptr = ReferenceCountedObjectPtr<ProcessorState> |
The ProcessorState structure is ref-counted, so this is a handy type that can be used as a pointer to one. | |
Additional Inherited Members | |
Public Member Functions inherited from ReferenceCountedObject | |
void | incReferenceCount () noexcept |
Increments the object's reference count. | |
void | decReferenceCount () noexcept |
Decreases the object's reference count. | |
bool | decReferenceCountWithoutDeleting () noexcept |
Decreases the object's reference count. | |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. | |
Protected Member Functions inherited from ReferenceCountedObject | |
ReferenceCountedObject ()=default | |
Creates the reference-counted object (with an initial ref count of zero). | |
ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
Copying from another object does not affect this one's reference-count. | |
virtual | ~ReferenceCountedObject () |
Destructor. | |
void | resetReferenceCount () noexcept |
Resets the reference count to zero without deleting the object. | |
This is a handy base class for the state of a processor (such as parameter values) which is typically shared among several processors.
This is useful for multi-mono filters which share the same state among several mono processors.
The ProcessorState structure is ref-counted, so this is a handy type that can be used as a pointer to one.