Numworks Epsilon
1.4.1
Graphing Calculator Operating System
app.h
Go to the documentation of this file.
1
#ifndef STAT_APP_H
2
#define STAT_APP_H
3
4
#include <
escher.h
>
5
#include "
box_controller.h
"
6
#include "
calculation_controller.h
"
7
#include "
store.h
"
8
#include "
store_controller.h
"
9
#include "
histogram_controller.h
"
10
#include "../shared/text_field_delegate_app.h"
11
12
namespace
Statistics
{
13
14
class
App
:
public
Shared::TextFieldDelegateApp
{
15
public
:
16
class
Descriptor
:
public
::App::Descriptor
{
17
public
:
18
I18n::Message
name
()
override
;
19
I18n::Message
upperName
()
override
;
20
const
Image
*
icon
()
override
;
21
};
22
class
Snapshot
:
public
::App::Snapshot
,
public
TabViewDataSource
{
23
public
:
24
Snapshot
();
25
App
*
unpack
(
Container
*
container
)
override
;
26
void
reset
()
override
;
27
Descriptor
*
descriptor
()
override
;
28
Store
*
store
();
29
uint32_t
*
storeVersion
();
30
uint32_t
*
barVersion
();
31
uint32_t
*
rangeVersion
();
32
int
*
selectedHistogramBarIndex
();
33
BoxView::Quantile
*
selectedBoxQuantile
();
34
private
:
35
Store
m_store;
36
uint32_t
m_storeVersion;
37
uint32_t
m_barVersion;
38
uint32_t
m_rangeVersion;
39
int
m_selectedHistogramBarIndex;
40
BoxView::Quantile
m_selectedBoxQuantile;
41
};
42
private
:
43
App
(
Container
*
container
,
Snapshot
*
snapshot
);
44
CalculationController
m_calculationController;
45
AlternateEmptyViewController
m_calculationAlternateEmptyViewController;
46
ButtonRowController
m_calculationHeader;
47
BoxController
m_boxController;
48
AlternateEmptyViewController
m_boxAlternateEmptyViewController;
49
ButtonRowController
m_boxHeader;
50
HistogramController
m_histogramController;
51
AlternateEmptyViewController
m_histogramAlternateEmptyViewController;
52
ButtonRowController
m_histogramHeader;
53
StackViewController
m_histogramStackViewController;
54
StoreController
m_storeController;
55
ButtonRowController
m_storeHeader;
56
StackViewController
m_storeStackViewController;
57
TabViewController
m_tabViewController;
58
};
59
60
}
61
62
#endif
Statistics::App::Descriptor::name
I18n::Message name() override
Definition:
app.cpp:9
box_controller.h
Statistics::App::Snapshot::selectedHistogramBarIndex
int * selectedHistogramBarIndex()
Definition:
app.cpp:66
Statistics::StoreController
Definition:
store_controller.h:10
Statistics::App::Descriptor
Definition:
app.h:16
Container
Definition:
container.h:18
ButtonRowController
Definition:
button_row_controller.h:14
Statistics::App::Snapshot::descriptor
Descriptor * descriptor() override
Definition:
app.cpp:45
store_controller.h
App::snapshot
Snapshot * snapshot()
Definition:
app.cpp:41
calculation_controller.h
TabViewDataSource
Definition:
tab_view_data_source.h:8
Statistics::CalculationController
Definition:
calculation_controller.h:10
Statistics::App
Definition:
app.h:14
Statistics::BoxView::Quantile
Quantile
Definition:
box_view.h:14
escher.h
Image
Definition:
image.h:6
Statistics::App::Descriptor::icon
const Image * icon() override
Definition:
app.cpp:17
AlternateEmptyViewController
Definition:
alternate_empty_view_controller.h:9
Statistics::App::Snapshot::storeVersion
uint32_t * storeVersion()
Definition:
app.cpp:54
Statistics::Store
Definition:
store.h:9
Statistics::App::Snapshot::selectedBoxQuantile
BoxView::Quantile * selectedBoxQuantile()
Definition:
app.cpp:70
StackViewController
Definition:
stack_view_controller.h:10
uint32_t
unsigned int uint32_t
Definition:
stdint.h:6
Statistics::App::Snapshot::barVersion
uint32_t * barVersion()
Definition:
app.cpp:58
Statistics::App::Snapshot::unpack
App * unpack(Container *container) override
Definition:
app.cpp:31
Statistics::App::Snapshot::Snapshot
Snapshot()
Definition:
app.cpp:21
Shared::TextFieldDelegateApp
Definition:
text_field_delegate_app.h:12
Statistics::App::Snapshot
Definition:
app.h:22
TabViewController
Definition:
tab_view_controller.h:8
Statistics::App::Snapshot::store
Store * store()
Definition:
app.cpp:50
Statistics::App::Snapshot::rangeVersion
uint32_t * rangeVersion()
Definition:
app.cpp:62
histogram_controller.h
Statistics
Definition:
app.cpp:7
Statistics::HistogramController
Definition:
histogram_controller.h:13
Statistics::BoxController
Definition:
box_controller.h:11
Shared::TextFieldDelegateApp::container
AppsContainer * container()
Definition:
text_field_delegate_app.cpp:20
Statistics::App::Snapshot::reset
void reset() override
Definition:
app.cpp:35
store.h
Statistics::App::Descriptor::upperName
I18n::Message upperName() override
Definition:
app.cpp:13
epsilon
apps
statistics
app.h
Generated by
1.8.14