Loading...
Searching...
No Matches
ARAPlaybackRegionListener Class Reference

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
playbackRegionThe playback region whose properties will be updated.
newPropertiesThe 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
playbackRegionThe 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
playbackRegionThe playback region with updated content.
scopeFlagsThe scope of the content update.

Reimplemented in ARAPlaybackRegionReader.

◆ willDestroyPlaybackRegion()

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

Called before the playback region is destroyed.

Parameters
playbackRegionThe playback region that will be destroyed.

Reimplemented in ARAPlaybackRegionReader.


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