tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tracktion::engine::CurveEditorPoint Class Reference
Inheritance diagram for tracktion::engine::CurveEditorPoint:
tracktion::engine::Selectable tracktion::engine::TempoSetting

Public Member Functions

 CurveEditorPoint (int i, CurveEditor *ed)
 
void selectionStatusChanged (bool isNowSelected) override
 Can be overridden to tell this object that it has just been selected or deselected.
 
- Public Member Functions inherited from tracktion::engine::Selectable
virtual juce::String getSelectableDescription ()=0
 Subclasses must return a description of what they are.
 
virtual void changed ()
 This should be called to send a change notification to any SelectableListeners that are registered with this object.
 
virtual void selectableAboutToBeDeleted ()
 Called just before the selectable is about to be deleted so any subclasses should still be valid at this point.
 
void addListener (SelectableListener *)
 
void removeListener (SelectableListener *)
 
void addSelectableListener (SelectableListener *)
 
void removeSelectableListener (SelectableListener *)
 
void cancelAnyPendingUpdates ()
 If changed() has been called, this will cancel any pending async change notificaions.
 
void deselect ()
 
void propertiesChanged ()
 
void notifyListenersOfDeletion ()
 
WeakRef getWeakRef ()
 

Static Public Member Functions

static bool arePointsConsecutive (const SelectableList &)
 
static bool arePointsOnSameCurve (const SelectableList &)
 
static TimeRange getPointTimeRange (const SelectableList &)
 
- Static Public Member Functions inherited from tracktion::engine::Selectable
static void initialise ()
 
static bool isSelectableValid (const Selectable *) noexcept
 checks whether this object has been deleted.
 

Public Attributes

int index
 
juce::Component::SafePointer< CurveEditoreditor
 
- Public Attributes inherited from tracktion::engine::Selectable
WeakRef::Master masterReference
 

Additional Inherited Members

- Public Types inherited from tracktion::engine::Selectable
using WeakRef = juce::WeakReference< Selectable >
 

Detailed Description

Definition at line 31 of file tracktion_CurveEditor.h.

Constructor & Destructor Documentation

◆ CurveEditorPoint() [1/2]

tracktion::engine::CurveEditorPoint::CurveEditorPoint ( )
noexcept

Definition at line 34 of file tracktion_CurveEditor.h.

◆ CurveEditorPoint() [2/2]

tracktion::engine::CurveEditorPoint::CurveEditorPoint ( int  i,
CurveEditor ed 
)

Definition at line 35 of file tracktion_CurveEditor.h.

◆ ~CurveEditorPoint()

tracktion::engine::CurveEditorPoint::~CurveEditorPoint ( )
override

Definition at line 14 of file tracktion_CurveEditor.cpp.

Member Function Documentation

◆ arePointsConsecutive()

bool tracktion::engine::CurveEditorPoint::arePointsConsecutive ( const SelectableList items)
static

Definition at line 49 of file tracktion_CurveEditor.cpp.

◆ arePointsOnSameCurve()

bool tracktion::engine::CurveEditorPoint::arePointsOnSameCurve ( const SelectableList items)
static

Definition at line 34 of file tracktion_CurveEditor.cpp.

◆ getPointTimeRange()

TimeRange tracktion::engine::CurveEditorPoint::getPointTimeRange ( const SelectableList items)
static

Definition at line 61 of file tracktion_CurveEditor.cpp.

◆ selectionStatusChanged()

void tracktion::engine::CurveEditorPoint::selectionStatusChanged ( bool  isNowSelected)
overridevirtual

Can be overridden to tell this object that it has just been selected or deselected.

Reimplemented from tracktion::engine::Selectable.

Definition at line 72 of file tracktion_CurveEditor.cpp.

Member Data Documentation

◆ editor

juce::Component::SafePointer<CurveEditor> tracktion::engine::CurveEditorPoint::editor

Definition at line 46 of file tracktion_CurveEditor.h.

◆ index

int tracktion::engine::CurveEditorPoint::index

Definition at line 45 of file tracktion_CurveEditor.h.


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