Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Graph::GraphController Class Reference

#include <graph_controller.h>

Inheritance diagram for Graph::GraphController:
Shared::FunctionGraphController Graph::GraphControllerHelper Shared::InteractiveCurveViewController Shared::InteractiveCurveViewRangeDelegate Shared::FunctionBannerDelegate Shared::SimpleInteractiveCurveViewController ButtonRowDelegate AlternateEmptyViewDelegate ViewController Responder

Public Member Functions

 GraphController (Responder *parentResponder, CartesianFunctionStore *functionStore, Shared::InteractiveCurveViewRange *curveViewRange, Shared::CurveViewCursor *cursor, int *indexFunctionSelectedByCursor, uint32_t *modelVersion, uint32_t *rangeVersion, Poincare::Expression::AngleUnit *angleUnitVersion, ButtonRowController *header)
 
I18n::Message emptyMessage () override
 
void viewWillAppear () override
 
bool displayDerivativeInBanner () const
 
void setDisplayDerivativeInBanner (bool displayDerivative)
 
float interestingXRange () override
 
- Public Member Functions inherited from Shared::FunctionGraphController
 FunctionGraphController (Responder *parentResponder, ButtonRowController *header, InteractiveCurveViewRange *interactiveRange, CurveView *curveView, CurveViewCursor *cursor, int *indexFunctionSelectedByCursor, uint32_t *modelVersion, uint32_t *rangeVersion, Poincare::Expression::AngleUnit *angleUnitVersion)
 
bool isEmpty () const override
 
ViewControllerinitialisationParameterController () override
 
void viewWillAppear () override
 
- Public Member Functions inherited from Shared::InteractiveCurveViewController
 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 ()
 
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 Shared::InteractiveCurveViewRangeDelegate
bool didChangeRange (InteractiveCurveViewRange *interactiveCurveViewRange)
 

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
 
- Static Public Attributes inherited from Shared::FunctionBannerDelegate
static constexpr int k_maxNumberOfCharacters = 50
 
static constexpr int k_maxDigitLegendLength = 11
 
- Protected Member Functions inherited from Shared::FunctionGraphController
void reloadBannerView () override
 
bool handleEnter () override
 
int indexFunctionSelectedByCursor () const
 
- Protected Member Functions inherited from Shared::InteractiveCurveViewController
RespondertabController () const
 
virtual StackViewControllerstackController () const
 
- Protected Member Functions inherited from Shared::SimpleInteractiveCurveViewController
virtual bool handleZoom (Ion::Events::Event event)
 
virtual bool handleLeftRightEvent (Ion::Events::Event event)
 
- Protected Member Functions inherited from Shared::FunctionBannerDelegate
void reloadBannerViewForCursorOnFunction (CurveViewCursor *cursor, Function *function, char symbol)
 
- Protected Member Functions inherited from Graph::GraphControllerHelper
bool privateMoveCursorHorizontally (Shared::CurveViewCursor *cursor, int direction, Shared::InteractiveCurveViewRange *range, int numberOfStepsInGradUnit, Shared::Function *function, Shared::TextFieldDelegateApp *app, float cursorTopMarginRatio, float cursorRightMarginRatio, float cursorBottomMarginRatio, float cursorLeftMarginRatio)
 
void reloadDerivativeInBannerViewForCursorOnFunction (Shared::CurveViewCursor *cursor, CartesianFunction *function, Shared::TextFieldDelegateApp *app)
 
- Protected Attributes inherited from Shared::InteractiveCurveViewController
OkView m_okView
 
- Protected Attributes inherited from Shared::SimpleInteractiveCurveViewController
CurveViewCursorm_cursor
 
- Static Protected Attributes inherited from Shared::FunctionGraphController
static constexpr float k_cursorTopMarginRatio = 0.068f
 
static constexpr float k_cursorBottomMarginRatio = 0.15f
 
- Static Protected Attributes inherited from Graph::GraphControllerHelper
static constexpr int k_maxDigitLegendLength = 10
 

Detailed Description

Definition at line 16 of file graph_controller.h.

Constructor & Destructor Documentation

◆ GraphController()

Graph::GraphController::GraphController ( Responder parentResponder,
CartesianFunctionStore functionStore,
Shared::InteractiveCurveViewRange curveViewRange,
Shared::CurveViewCursor cursor,
int *  indexFunctionSelectedByCursor,
uint32_t modelVersion,
uint32_t rangeVersion,
Poincare::Expression::AngleUnit angleUnitVersion,
ButtonRowController header 
)

Definition at line 9 of file graph_controller.cpp.

Member Function Documentation

◆ displayDerivativeInBanner()

bool Graph::GraphController::displayDerivativeInBanner ( ) const

Definition at line 34 of file graph_controller.cpp.

◆ emptyMessage()

I18n::Message Graph::GraphController::emptyMessage ( )
overridevirtual

Implements AlternateEmptyViewDelegate.

Definition at line 21 of file graph_controller.cpp.

◆ interestingXRange()

float Graph::GraphController::interestingXRange ( )
overridevirtual

Reimplemented from Shared::InteractiveCurveViewRangeDelegate.

Definition at line 42 of file graph_controller.cpp.

◆ setDisplayDerivativeInBanner()

void Graph::GraphController::setDisplayDerivativeInBanner ( bool  displayDerivative)

Definition at line 38 of file graph_controller.cpp.

◆ viewWillAppear()

void Graph::GraphController::viewWillAppear ( )
overridevirtual

Reimplemented from ViewController.

Definition at line 28 of file graph_controller.cpp.


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