DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
#include <cacheddatastorage.h>
Classes | |
struct | Record |
Public Member Functions | |
CachedDataStorage () | |
virtual | ~CachedDataStorage () noexcept=default |
void | invalidateAllCache () |
virtual void | queryAllData (types::tstep_t step)=0 |
void | refreshAllData (types::tstep_t step) |
std::shared_ptr< Data > | getData (types::NodeId nodeId, types::tstep_t tstep) |
Protected Member Functions | |
Record & | getRecord (types::NodeId nodeId) |
void | updateData (types::tstep_t step, Data n) |
Protected Attributes | |
std::vector< Record > | cachedData |
|
inline |
|
virtualdefaultnoexcept |
|
inline |
|
inlineprotected |
|
inline |
|
pure virtual |
|
inline |
|
inlineprotected |
|
protected |