JUCE: MarkerList::Listener Class Reference

JUCE

Public Member Functions | List of all members
MarkerList::Listener Class Referenceabstract

A class for receiving events when changes are made to a MarkerList. More...

Inheritance diagram for MarkerList::Listener:

## Public Member Functions
virtual | ~Listener ()=default
| Destructor. More...
virtual void | markersChanged (MarkerList *markerList)=0
| Called when something in the given marker list changes. More...
virtual void | markerListBeingDeleted (MarkerList *markerList)
| Called when the given marker list is being deleted. More...

## Detailed Description

A class for receiving events when changes are made to a MarkerList.

You can register a MarkerList::Listener with a MarkerList using the MarkerList::addListener() method, and it will be called when markers are moved, added, or deleted.

See also
  MarkerList::addListener, MarkerList::removeListener

## Constructor & Destructor Documentation

## ◆ ~Listener()

virtual MarkerList::Listener::~Listener | ( |  | ) |
| virtualdefault

Destructor.

## Member Function Documentation

## ◆ markersChanged()

virtual void MarkerList::Listener::markersChanged | ( | MarkerList * | markerList | ) |
| pure virtual

Called when something in the given marker list changes.

Implemented in RelativeCoordinatePositionerBase.

## ◆ markerListBeingDeleted()

virtual void MarkerList::Listener::markerListBeingDeleted | ( | MarkerList * | markerList | ) |
| virtual

Called when the given marker list is being deleted.

Reimplemented in RelativeCoordinatePositionerBase.

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

- juce_MarkerList.h