Loading...
Searching...
No Matches
dsp::ProcessorState Struct Reference

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>

Inheritance diagram for dsp::ProcessorState:

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.
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (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.
 

Detailed Description

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.

Member Typedef Documentation

◆ Ptr

The ProcessorState structure is ref-counted, so this is a handy type that can be used as a pointer to one.


The documentation for this struct was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram