TracktionEngine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tracktion::engine::CurveEditorPoint Class Reference
Inheritance diagram for tracktion::engine::CurveEditorPoint:

Public Member Functions

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

Public Attributes

int index = 0
 
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 >
 

Constructor & Destructor Documentation

◆ CurveEditorPoint() [1/2]

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

◆ CurveEditorPoint() [2/2]

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

◆ ~CurveEditorPoint()

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

Member Function Documentation

◆ 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.

◆ arePointsConsecutive()

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

◆ arePointsOnSameCurve()

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

◆ getPointTimeRange()

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

Member Data Documentation

◆ index

int tracktion::engine::CurveEditorPoint::index = 0

◆ editor

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

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