Numworks Epsilon  1.4.1
Graphing Calculator Operating System
function_parameter_controller.h
Go to the documentation of this file.
1 #ifndef GRAPH_FUNCTION_PARAM_CONTROLLER_H
2 #define GRAPH_FUNCTION_PARAM_CONTROLLER_H
3 
4 #include "../cartesian_function.h"
5 #include "../../shared/values_function_parameter_controller.h"
6 
7 namespace Graph {
8 
9 class ValuesController;
10 
12 public:
14  bool handleEvent(Ion::Events::Event event) override;
15  int numberOfRows() override;
16  HighlightCell * reusableCell(int index) override;
17  int reusableCellCount() override;
18  void willDisplayCellForIndex(HighlightCell * cell, int index) override;
19  void setFunction(Shared::Function * function) override;
20  void viewWillAppear() override;
21 private:
22 #if COPY_COLUMN
23  constexpr static int k_totalNumberOfCell = 2;
24 #else
25  constexpr static int k_totalNumberOfCell = 1;
26 #endif
27  MessageTableCellWithSwitch m_displayDerivativeColumn;
28  CartesianFunction * m_cartesianFunction;
29  ValuesController * m_valuesController;
30 };
31 
32 }
33 
34 #endif
void willDisplayCellForIndex(HighlightCell *cell, int index) override
bool handleEvent(Ion::Events::Event event) override
Definition: app.cpp:9
HighlightCell * reusableCell(int index) override
FunctionParameterController(ValuesController *valuesController)
void setFunction(Shared::Function *function) override