Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Shared::InteractiveCurveViewController Class Referenceabstract

#include <interactive_curve_view_controller.h>

Inheritance diagram for Shared::InteractiveCurveViewController:
Shared::SimpleInteractiveCurveViewController ButtonRowDelegate AlternateEmptyViewDelegate ViewController Responder Regression::GraphController Shared::FunctionGraphController Graph::GraphController Sequence::GraphController

Public Member Functions

 InteractiveCurveViewController (Responder *parentResponder, ButtonRowController *header, InteractiveCurveViewRange *interactiveRange, CurveView *curveView, CurveViewCursor *cursor, uint32_t *modelVersion, uint32_t *rangeVersion)
 
const char * title () override
 
bool handleEvent (Ion::Events::Event event) override
 
void didBecomeFirstResponder () override
 
ViewControllerrangeParameterController ()
 
ViewControllerzoomParameterController ()
 
virtual ViewControllerinitialisationParameterController ()=0
 
int numberOfButtons (ButtonRowController::Position position) const override
 
ButtonbuttonAtIndex (int index, ButtonRowController::Position position) const override
 
ResponderdefaultController () override
 
void viewWillAppear () override
 
void viewDidDisappear () override
 
void didEnterResponderChain (Responder *previousFirstResponder) override
 
void willExitResponderChain (Responder *nextFirstResponder) override
 
- Public Member Functions inherited from Shared::SimpleInteractiveCurveViewController
 SimpleInteractiveCurveViewController (Responder *parentResponder, InteractiveCurveViewRange *interactiveRange, CurveView *curveView, CurveViewCursor *cursor)
 
Viewview () override
 
bool handleEvent (Ion::Events::Event event) override
 
- Public Member Functions inherited from ViewController
 ViewController (Responder *parentResponder)
 
virtual DisplayParameter displayParameter ()
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void willResignFirstResponder ()
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 
- Public Member Functions inherited from ButtonRowDelegate
 ButtonRowDelegate (ButtonRowController *header, ButtonRowController *footer)
 
ButtonRowControllerheader ()
 
ButtonRowControllerfooter ()
 
- Public Member Functions inherited from AlternateEmptyViewDelegate
virtual bool isEmpty () const =0
 
virtual I18n::Message emptyMessage ()=0
 

Protected Member Functions

RespondertabController () const
 
virtual StackViewControllerstackController () const
 
virtual void initRangeParameters ()=0
 
virtual void initCursorParameters ()=0
 
virtual bool moveCursorVertically (int direction)=0
 
virtual uint32_t modelVersion ()=0
 
virtual uint32_t rangeVersion ()=0
 
virtual bool isCursorVisible ()=0
 
- Protected Member Functions inherited from Shared::SimpleInteractiveCurveViewController
virtual bool handleZoom (Ion::Events::Event event)
 
virtual bool handleLeftRightEvent (Ion::Events::Event event)
 
virtual void reloadBannerView ()
 
virtual bool moveCursorHorizontally (int direction)
 
virtual InteractiveCurveViewRangeinteractiveCurveViewRange ()=0
 
virtual CurveViewcurveView ()=0
 
virtual bool handleEnter ()=0
 

Protected Attributes

OkView m_okView
 
- Protected Attributes inherited from Shared::SimpleInteractiveCurveViewController
CurveViewCursorm_cursor
 

Additional Inherited Members

- Public Types inherited from ViewController
enum  DisplayParameter { DisplayParameter::Default, DisplayParameter::DoNotShowOwnTitle, DisplayParameter::WantsMaximumSpace }
 
- Static Public Attributes inherited from Shared::SimpleInteractiveCurveViewController
static constexpr float k_cursorRightMarginRatio = 0.04f
 
static constexpr float k_cursorLeftMarginRatio = 0.04f
 
static constexpr float k_numberOfCursorStepsInGradUnit = 5.0f
 

Detailed Description

Definition at line 12 of file interactive_curve_view_controller.h.

Constructor & Destructor Documentation

◆ InteractiveCurveViewController()

Shared::InteractiveCurveViewController::InteractiveCurveViewController ( Responder parentResponder,
ButtonRowController header,
InteractiveCurveViewRange interactiveRange,
CurveView curveView,
CurveViewCursor cursor,
uint32_t modelVersion,
uint32_t rangeVersion 
)

Definition at line 10 of file interactive_curve_view_controller.cpp.

Member Function Documentation

◆ buttonAtIndex()

Button * Shared::InteractiveCurveViewController::buttonAtIndex ( int  index,
ButtonRowController::Position  position 
) const
overridevirtual

Reimplemented from ButtonRowDelegate.

Definition at line 97 of file interactive_curve_view_controller.cpp.

◆ defaultController()

Responder * Shared::InteractiveCurveViewController::defaultController ( )
overridevirtual

Implements AlternateEmptyViewDelegate.

Definition at line 102 of file interactive_curve_view_controller.cpp.

◆ didBecomeFirstResponder()

void Shared::InteractiveCurveViewController::didBecomeFirstResponder ( )
overridevirtual

Reimplemented from Responder.

Definition at line 76 of file interactive_curve_view_controller.cpp.

◆ didEnterResponderChain()

void Shared::InteractiveCurveViewController::didEnterResponderChain ( Responder previousFirstResponder)
overridevirtual

Reimplemented from Responder.

Definition at line 135 of file interactive_curve_view_controller.cpp.

◆ handleEvent()

bool Shared::InteractiveCurveViewController::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 39 of file interactive_curve_view_controller.cpp.

◆ initCursorParameters()

virtual void Shared::InteractiveCurveViewController::initCursorParameters ( )
protectedpure virtual

◆ initialisationParameterController()

virtual ViewController* Shared::InteractiveCurveViewController::initialisationParameterController ( )
pure virtual

◆ initRangeParameters()

virtual void Shared::InteractiveCurveViewController::initRangeParameters ( )
protectedpure virtual

◆ isCursorVisible()

virtual bool Shared::InteractiveCurveViewController::isCursorVisible ( )
protectedpure virtual

◆ modelVersion()

virtual uint32_t Shared::InteractiveCurveViewController::modelVersion ( )
protectedpure virtual

◆ moveCursorVertically()

virtual bool Shared::InteractiveCurveViewController::moveCursorVertically ( int  direction)
protectedpure virtual

◆ numberOfButtons()

int Shared::InteractiveCurveViewController::numberOfButtons ( ButtonRowController::Position  position) const
overridevirtual

Reimplemented from ButtonRowDelegate.

Definition at line 90 of file interactive_curve_view_controller.cpp.

◆ rangeParameterController()

ViewController * Shared::InteractiveCurveViewController::rangeParameterController ( )

Definition at line 82 of file interactive_curve_view_controller.cpp.

◆ rangeVersion()

virtual uint32_t Shared::InteractiveCurveViewController::rangeVersion ( )
protectedpure virtual

◆ stackController()

StackViewController * Shared::InteractiveCurveViewController::stackController ( ) const
protectedvirtual

Definition at line 152 of file interactive_curve_view_controller.cpp.

◆ tabController()

Responder * Shared::InteractiveCurveViewController::tabController ( ) const
protected

Definition at line 148 of file interactive_curve_view_controller.cpp.

◆ title()

const char * Shared::InteractiveCurveViewController::title ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 35 of file interactive_curve_view_controller.cpp.

◆ viewDidDisappear()

void Shared::InteractiveCurveViewController::viewDidDisappear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 131 of file interactive_curve_view_controller.cpp.

◆ viewWillAppear()

void Shared::InteractiveCurveViewController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 106 of file interactive_curve_view_controller.cpp.

◆ willExitResponderChain()

void Shared::InteractiveCurveViewController::willExitResponderChain ( Responder nextFirstResponder)
overridevirtual

Reimplemented from Responder.

Definition at line 140 of file interactive_curve_view_controller.cpp.

◆ zoomParameterController()

ViewController * Shared::InteractiveCurveViewController::zoomParameterController ( )

Definition at line 86 of file interactive_curve_view_controller.cpp.

Member Data Documentation

◆ m_okView

OkView Shared::InteractiveCurveViewController::m_okView
protected

Definition at line 41 of file interactive_curve_view_controller.h.


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