mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/graph/app] Inline accessors in header file
This commit is contained in:
committed by
LeaNumworks
parent
1908c9c674
commit
569bcc26d2
@@ -43,14 +43,6 @@ App::Descriptor * App::Snapshot::descriptor() {
|
||||
return &descriptor;
|
||||
}
|
||||
|
||||
CartesianFunctionStore * App::Snapshot::functionStore() {
|
||||
return &m_functionStore;
|
||||
}
|
||||
|
||||
InteractiveCurveViewRange * App::Snapshot::graphRange() {
|
||||
return &m_graphRange;
|
||||
}
|
||||
|
||||
void App::Snapshot::tidy() {
|
||||
m_functionStore.tidy();
|
||||
m_graphRange.setDelegate(nullptr);
|
||||
|
||||
@@ -25,8 +25,8 @@ public:
|
||||
App * unpack(Container * container) override;
|
||||
void reset() override;
|
||||
Descriptor * descriptor() override;
|
||||
CartesianFunctionStore * functionStore() override;
|
||||
Shared::InteractiveCurveViewRange * graphRange();
|
||||
CartesianFunctionStore * functionStore() override { return &m_functionStore; }
|
||||
Shared::InteractiveCurveViewRange * graphRange() { return &m_graphRange; }
|
||||
Shared::Interval * intervalForType(Shared::CartesianFunction::PlotType plotType) {
|
||||
return m_interval + static_cast<size_t>(plotType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user