Cogs.Core
|
Public Member Functions | |
WCSRasterSource (Context *context) | |
bool | init (const WCSConfig &conf, std::unique_ptr< ICache > &&icache) |
void | getConfig (WCSConfig &conf) const |
![]() | |
HTTPRasterSource (Context *context) | |
bool | init (const HTTPConfig &conf, std::unique_ptr< ICache > &&icache) |
void | getConfig (HTTPConfig &conf) const |
![]() | |
BaseRasterSource (Context *context) | |
Cogs::RasterSourceParameters | getParameters () const override |
const CoordSys & | getCoordSys () const |
ErrorCode | getErrorCode () const final |
void | setErrorCode (ErrorCode newErrorCode) |
![]() | |
virtual Cogs::RasterSourceParameters | getParameters () const =0 |
virtual ErrorCode | getErrorCode () const =0 |
uint64_t | id () const |
Protected Member Functions | |
bool | createFetchTileUrl (std::string &url, TileId id) final |
![]() | |
void | requestTile (Request *req) final |
virtual bool | createFetchTileUrl (std::string &url, TileId id)=0 |
![]() | |
bool | init (const BaseConfig &conf, std::unique_ptr< ICache > &&icache) |
void | getConfig (BaseConfig &conf) const |
void | addTile (const Cogs::Memory::MemoryBuffer &contents, MimeType kind, Request *req, StringView debugLog) |
void | addTileFailure (Request *req, StringView debugLog) |
virtual void | requestTile (Request *req)=0 |
Protected Attributes | |
StringRef | layer = NoString |
StringRef | format = NoString |
StringRef | interpolation = NoString |
StringRef | interpolationFieldName = NoString |
![]() | |
StringRef | baseUrl = NoString |
StringRef | username = NoString |
StringRef | password = NoString |
Cogs::Desktop::HTTPDataFetcher | httpDataFetcher |
![]() | |
Context * | context = nullptr |
Extent | extent |
Tiling | tiling |
CoordSys | coordsys |
TextureFormat | textureFormat = TextureFormat::Unknown |
StringRef | name = NoString |
float | noDataValue = std::numeric_limits<float>::quiet_NaN() |
bool | emitDebugLog = true |
Additional Inherited Members | |
![]() | |
enum struct | ErrorCode { NoError , Done , FailedToOpenDiskCache , FailedToCreateDiskCache , MismatchedDiskCache , NoHTTPService } |
Definition at line 18 of file WCSRasterSource.h.
Cogs::Core::TerrainProvider::WCSRasterSource::WCSRasterSource | ( | Context * | context | ) |
Definition at line 11 of file WCSRasterSource.cpp.
Cogs::Core::TerrainProvider::WCSRasterSource::~WCSRasterSource | ( | ) |
Definition at line 16 of file WCSRasterSource.cpp.
|
finalprotectedvirtual |
Implements Cogs::Core::TerrainProvider::HTTPRasterSource.
Definition at line 62 of file WCSRasterSource.cpp.
void Cogs::Core::TerrainProvider::WCSRasterSource::getConfig | ( | WCSConfig & | conf | ) | const |
Definition at line 52 of file WCSRasterSource.cpp.
bool Cogs::Core::TerrainProvider::WCSRasterSource::init | ( | const WCSConfig & | conf, |
std::unique_ptr< ICache > && | icache | ||
) |
Definition at line 20 of file WCSRasterSource.cpp.
|
protected |
Definition at line 29 of file WCSRasterSource.h.
|
protected |
Definition at line 30 of file WCSRasterSource.h.
|
protected |
Definition at line 31 of file WCSRasterSource.h.
|
protected |
Definition at line 28 of file WCSRasterSource.h.