Cogs.Core
|
Public Member Functions | |
WMSRasterSource (Context *context) | |
bool | init (const WMSConfig &conf, std::unique_ptr< ICache > &&icache) |
void | getConfig (WMSConfig &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 | |
std::vector< WMSLayerDescription > | layerDescriptions |
std::vector< std::pair< StringRef, StringRef > > | otherArguments |
WMSVersion | version = WMSVersion::v1_1_0 |
WMSValueDataType | dataType = WMSValueDataType::Short |
bool | serverIsLittleEndian = true |
bool | retryFailedRequests = true |
![]() | |
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 45 of file WMSRasterSource.h.
Cogs::Core::TerrainProvider::WMSRasterSource::WMSRasterSource | ( | Context * | context | ) |
Definition at line 44 of file WMSRasterSource.cpp.
Cogs::Core::TerrainProvider::WMSRasterSource::~WMSRasterSource | ( | ) |
Definition at line 49 of file WMSRasterSource.cpp.
|
finalprotectedvirtual |
Implements Cogs::Core::TerrainProvider::HTTPRasterSource.
Definition at line 75 of file WMSRasterSource.cpp.
void Cogs::Core::TerrainProvider::WMSRasterSource::getConfig | ( | WMSConfig & | conf | ) | const |
Definition at line 64 of file WMSRasterSource.cpp.
bool Cogs::Core::TerrainProvider::WMSRasterSource::init | ( | const WMSConfig & | conf, |
std::unique_ptr< ICache > && | icache | ||
) |
Definition at line 53 of file WMSRasterSource.cpp.
|
protected |
Definition at line 58 of file WMSRasterSource.h.
|
protected |
Definition at line 55 of file WMSRasterSource.h.
|
protected |
Definition at line 56 of file WMSRasterSource.h.
|
protected |
Definition at line 60 of file WMSRasterSource.h.
|
protected |
Definition at line 59 of file WMSRasterSource.h.
|
protected |
Definition at line 57 of file WMSRasterSource.h.