JUCE: ARAPlaybackRegionListener Class Reference

JUCE

- Main Page
- Related Pages
- Topics
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ARAPlaybackRegionListener Class Reference
juce_audio_processors » utilities

A base class for listeners that want to know about changes to an ARAPlaybackRegion object. More...

`#include <juce_ARAModelObjects.h>`

Inheritance diagram for ARAPlaybackRegionListener:

## Public Member Functions
virtual | ~ARAPlaybackRegionListener ()=default
| Destructor.
virtual void | willUpdatePlaybackRegionProperties (ARAPlaybackRegion *playbackRegion, ARA::PlugIn::PropertiesPtr< ARA::ARAPlaybackRegionProperties > newProperties)
| Called before the playback region's properties are updated.
virtual void | didUpdatePlaybackRegionProperties (ARAPlaybackRegion *playbackRegion)
| Called after the playback region's properties are updated.
virtual void | didUpdatePlaybackRegionContent (ARAPlaybackRegion *playbackRegion, ARAContentUpdateScopes scopeFlags)
| Called when the playback region's content (i.e.
virtual void | willDestroyPlaybackRegion (ARAPlaybackRegion *playbackRegion)
| Called before the playback region is destroyed.

## Detailed Description

A base class for listeners that want to know about changes to an ARAPlaybackRegion object.

Use ARAPlaybackRegion::addListener() to register your listener with an ARAPlaybackRegion.

## Constructor & Destructor Documentation

## ◆ ~ARAPlaybackRegionListener()

virtual ARAPlaybackRegionListener::~ARAPlaybackRegionListener | ( |  | ) |
| virtualdefault

Destructor.

## Member Function Documentation

## ◆ willUpdatePlaybackRegionProperties()

virtual void ARAPlaybackRegionListener::willUpdatePlaybackRegionProperties | ( | ARAPlaybackRegion * | playbackRegion,
|  | ARA::PlugIn::PropertiesPtr< ARA::ARAPlaybackRegionProperties > | newProperties
| ) |  |
| virtual

Called before the playback region's properties are updated.

Parameters

  playbackRegion | The playback region whose properties will be updated.
  newProperties | The playback region properties that will be assigned to `playbackRegion`.

Reimplemented in ARAPlaybackRegionReader.

## ◆ didUpdatePlaybackRegionProperties()

virtual void ARAPlaybackRegionListener::didUpdatePlaybackRegionProperties | ( | ARAPlaybackRegion * | playbackRegion | ) |
| virtual

Called after the playback region's properties are updated.

Parameters

  playbackRegion | The playback region whose properties were updated.

## ◆ didUpdatePlaybackRegionContent()

virtual void ARAPlaybackRegionListener::didUpdatePlaybackRegionContent | ( | ARAPlaybackRegion * | playbackRegion,
|  | ARAContentUpdateScopes | scopeFlags
| ) |  |
| virtual

Called when the playback region's content (i.e.

samples or notes) changes.

Parameters

  playbackRegion | The playback region with updated content.
  scopeFlags | The scope of the content update.

Reimplemented in ARAPlaybackRegionReader.

## ◆ willDestroyPlaybackRegion()

virtual void ARAPlaybackRegionListener::willDestroyPlaybackRegion | ( | ARAPlaybackRegion * | playbackRegion | ) |
| virtual

Called before the playback region is destroyed.

Parameters

  playbackRegion | The playback region that will be destroyed.

Reimplemented in ARAPlaybackRegionReader.

The documentation for this class was generated from the following file:

- juce_ARAModelObjects.h