18 lines
523 B
C++
18 lines
523 B
C++
#pragma once
|
||
#include <string>
|
||
|
||
namespace geopro::data {
|
||
|
||
class ChartLoad;
|
||
class GridLoad;
|
||
|
||
// 数据集详情异步仓储抽象。返回自管理句柄(完成/失败后 deleteLater)。
|
||
class IAsyncDatasetRepository {
|
||
public:
|
||
virtual ~IAsyncDatasetRepository() = default;
|
||
virtual ChartLoad* loadChartAsync(const std::string& dsId) = 0; // scatter + 散点色阶(type1)
|
||
virtual GridLoad* loadGridAsync(const std::string& dsId) = 0; // grid(rows) + 色阶(type2) + 异常
|
||
};
|
||
|
||
} // namespace geopro::data
|