Numworks Epsilon  1.4.1
Graphing Calculator Operating System
values_controller.h
Go to the documentation of this file.
1 #ifndef GRAPH_VALUES_CONTROLLER_H
2 #define GRAPH_VALUES_CONTROLLER_H
3 
4 #include "../cartesian_function_store.h"
5 #include "../function_title_cell.h"
6 #include "../../shared/values_controller.h"
7 #include "../../shared/interval_parameter_controller.h"
10 
11 namespace Graph {
12 
14 public:
16  bool handleEvent(Ion::Events::Event event) override;
17  void willDisplayCellAtLocation(HighlightCell * cell, int i, int j) override;
18  I18n::Message emptyMessage() override;
20  void updateNumberOfColumns() override;
21 private:
22  CartesianFunction * functionAtColumn(int i) override;
23  bool isDerivativeColumn(int i);
24  void configureDerivativeFunction();
25  int maxNumberOfCells() override;
26  int maxNumberOfFunctions() override;
27  double evaluationOfAbscissaAtColumn(double abscissa, int columnIndex) override;
28  constexpr static int k_maxNumberOfCells = 50;
29  constexpr static int k_maxNumberOfFunctions = 5;
30  FunctionTitleCell * m_functionTitleCells[k_maxNumberOfFunctions];
31  FunctionTitleCell * functionTitleCells(int j) override;
32  EvenOddBufferTextCell * m_floatCells[k_maxNumberOfCells];
33  EvenOddBufferTextCell * floatCells(int j) override;
34  CartesianFunctionStore * m_functionStore;
35  CartesianFunctionStore * functionStore() const override;
36  FunctionParameterController m_functionParameterController;
37  FunctionParameterController * functionParameterController() override;
38  View * loadView() override;
39  void unloadView(View * view) override;
40  Shared::IntervalParameterController m_intervalParameterController;
41  DerivativeParameterController m_derivativeParameterController;
42 };
43 
44 }
45 
46 #endif
Responder * parentResponder() const
Definition: responder.cpp:12
Definition: app.cpp:9
void willDisplayCellAtLocation(HighlightCell *cell, int i, int j) override
void updateNumberOfColumns() override
ButtonRowController * header()
ValuesController(Responder *parentResponder, CartesianFunctionStore *functionStore, Shared::Interval *interval, ButtonRowController *header)
I18n::Message emptyMessage() override
Shared::IntervalParameterController * intervalParameterController() override
bool handleEvent(Ion::Events::Event event) override
Definition: view.h:23