mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:00:06 +00:00
Add NEXRAD data provider function to get time points by date
This commit is contained in:
parent
3bee6f65e5
commit
a9f5a766cc
4 changed files with 83 additions and 9 deletions
|
|
@ -101,6 +101,17 @@ public:
|
|||
virtual std::chrono::system_clock::time_point
|
||||
GetTimePointByKey(const std::string& key) const = 0;
|
||||
|
||||
/**
|
||||
* Gets NEXRAD data time points for the date supplied. Lists and adds them
|
||||
* to the cache if required.
|
||||
*
|
||||
* @param date Date for which to get NEXRAD data time points
|
||||
*
|
||||
* @return NEXRAD data time points
|
||||
*/
|
||||
virtual std::vector<std::chrono::system_clock::time_point>
|
||||
GetTimePointsByDate(std::chrono::system_clock::time_point date) = 0;
|
||||
|
||||
/**
|
||||
* Requests available NEXRAD products for the current radar site, and adds
|
||||
* the list to the cache.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue