DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
mapsdataprovider.h
Go to the documentation of this file.
1 #ifndef MAPSDATAPROVIDER_H
2 #define MAPSDATAPROVIDER_H
3 
4 #include <memory>
5 #include "modeltypes.h"
6 
8 
10 {
11  struct Impl;
12  std::unique_ptr<Impl> p;
13 public:
15  ~MapsDataProvider() noexcept;
16 
17  void attach (std::shared_ptr<SQLiteOutputStorage> storage);
18 
19  std::shared_ptr<types::EnvironmentData> getEnvironmentData (types::NodeId nodeId, types::tstep_t tstep);
20  std::shared_ptr<types::NodesPopData> getNodesPopData(types::NodeId nodeId, types::tstep_t tstep);
21  std::shared_ptr<types::NodesBenthosData> getNodesBenthosData (types::NodeId nodeId, types::tstep_t tstep);
22 };
23 
24 #endif // MAPSDATAPROVIDER_H
void attach(std::shared_ptr< SQLiteOutputStorage > storage)
Definition: mapsdataprovider.cpp:101
Definition: mapsdataprovider.cpp:84
Definition: idtypes.h:52
int tstep
Definition: main.cpp:205
~MapsDataProvider() noexcept
Definition: mapsdataprovider.h:9
std::shared_ptr< types::EnvironmentData > getEnvironmentData(types::NodeId nodeId, types::tstep_t tstep)
Definition: mapsdataprovider.cpp:120
MapsDataProvider()
Definition: mapsdataprovider.cpp:94
Definition: sqliteoutputstorage.h:37
std::shared_ptr< types::NodesBenthosData > getNodesBenthosData(types::NodeId nodeId, types::tstep_t tstep)
Definition: mapsdataprovider.cpp:136
std::shared_ptr< types::NodesPopData > getNodesPopData(types::NodeId nodeId, types::tstep_t tstep)
Definition: mapsdataprovider.cpp:128