Numworks Epsilon
1.4.1
Graphing Calculator Operating System
app.h
Go to the documentation of this file.
1
#ifndef REGRESSION_APP_H
2
#define REGRESSION_APP_H
3
4
#include <
escher.h
>
5
#include "../shared/text_field_delegate_app.h"
6
#include "
store.h
"
7
#include "
store_controller.h
"
8
#include "
graph_controller.h
"
9
#include "
calculation_controller.h
"
10
11
namespace
Regression
{
12
13
class
App
:
public
Shared::TextFieldDelegateApp
{
14
public
:
15
class
Descriptor
:
public
::App::Descriptor
{
16
public
:
17
I18n::Message
name
()
override
;
18
I18n::Message
upperName
()
override
;
19
const
Image
*
icon
()
override
;
20
};
21
class
Snapshot
:
public
::App::Snapshot
,
public
TabViewDataSource
{
22
public
:
23
Snapshot
();
24
App
*
unpack
(
Container
*
container
)
override
;
25
void
reset
()
override
;
26
Descriptor
*
descriptor
()
override
;
27
Store
*
store
();
28
Shared::CurveViewCursor
*
cursor
();
29
int
*
graphSelectedDotIndex
();
30
uint32_t
*
modelVersion
();
31
uint32_t
*
rangeVersion
();
32
private
:
33
Store
m_store;
34
Shared::CurveViewCursor
m_cursor;
35
int
m_graphSelectedDotIndex;
36
uint32_t
m_modelVersion;
37
uint32_t
m_rangeVersion;
38
};
39
private
:
40
App
(
Container
*
container
,
Snapshot
*
snapshot
);
41
CalculationController
m_calculationController;
42
AlternateEmptyViewController
m_calculationAlternateEmptyViewController;
43
ButtonRowController
m_calculationHeader;
44
GraphController
m_graphController;
45
AlternateEmptyViewController
m_graphAlternateEmptyViewController;
46
ButtonRowController
m_graphHeader;
47
StackViewController
m_graphStackViewController;
48
StoreController
m_storeController;
49
ButtonRowController
m_storeHeader;
50
StackViewController
m_storeStackViewController;
51
TabViewController
m_tabViewController;
52
};
53
54
}
55
56
#endif
Regression::App::Descriptor::upperName
I18n::Message upperName() override
Definition:
app.cpp:13
graph_controller.h
Regression::StoreController
Definition:
store_controller.h:10
store.h
Container
Definition:
container.h:18
calculation_controller.h
Regression::App::Snapshot::reset
void reset() override
Definition:
app.cpp:34
Regression::App::Snapshot::descriptor
Descriptor * descriptor() override
Definition:
app.cpp:42
ButtonRowController
Definition:
button_row_controller.h:14
App::snapshot
Snapshot * snapshot()
Definition:
app.cpp:41
Regression::App::Snapshot::rangeVersion
uint32_t * rangeVersion()
Definition:
app.cpp:63
Regression::App::Snapshot::store
Store * store()
Definition:
app.cpp:47
TabViewDataSource
Definition:
tab_view_data_source.h:8
escher.h
Image
Definition:
image.h:6
Regression::App
Definition:
app.h:13
AlternateEmptyViewController
Definition:
alternate_empty_view_controller.h:9
Regression::App::Snapshot::modelVersion
uint32_t * modelVersion()
Definition:
app.cpp:59
Regression::App::Descriptor::name
I18n::Message name() override
Definition:
app.cpp:9
Shared::CurveViewCursor
Definition:
curve_view_cursor.h:6
Regression::App::Descriptor::icon
const Image * icon() override
Definition:
app.cpp:17
Regression::App::Snapshot::graphSelectedDotIndex
int * graphSelectedDotIndex()
Definition:
app.cpp:55
Regression::App::Descriptor
Definition:
app.h:15
Regression
Definition:
app.cpp:7
Regression::Store
Definition:
store.h:9
StackViewController
Definition:
stack_view_controller.h:10
uint32_t
unsigned int uint32_t
Definition:
stdint.h:6
Regression::App::Snapshot::unpack
App * unpack(Container *container) override
Definition:
app.cpp:30
Regression::App::Snapshot::cursor
Shared::CurveViewCursor * cursor()
Definition:
app.cpp:51
Regression::App::Snapshot
Definition:
app.h:21
store_controller.h
Regression::CalculationController
Definition:
calculation_controller.h:12
Shared::TextFieldDelegateApp
Definition:
text_field_delegate_app.h:12
Regression::GraphController
Definition:
graph_controller.h:17
TabViewController
Definition:
tab_view_controller.h:8
Shared::TextFieldDelegateApp::container
AppsContainer * container()
Definition:
text_field_delegate_app.cpp:20
Regression::App::Snapshot::Snapshot
Snapshot()
Definition:
app.cpp:21
epsilon
apps
regression
app.h
Generated by
1.8.14