Cogs.Core
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Cogs::Core::TerrainProvider::WCSRasterSource Class Reference
Inheritance diagram for Cogs::Core::TerrainProvider::WCSRasterSource:
Cogs::Core::TerrainProvider::HTTPRasterSource Cogs::Core::TerrainProvider::BaseRasterSource Cogs::Core::TerrainProvider::IRasterSource

Public Member Functions

 WCSRasterSource (Context *context)
 
bool init (const WCSConfig &conf, std::unique_ptr< ICache > &&icache)
 
void getConfig (WCSConfig &conf) const
 
- Public Member Functions inherited from Cogs::Core::TerrainProvider::HTTPRasterSource
 HTTPRasterSource (Context *context)
 
bool init (const HTTPConfig &conf, std::unique_ptr< ICache > &&icache)
 
void getConfig (HTTPConfig &conf) const
 
- Public Member Functions inherited from Cogs::Core::TerrainProvider::BaseRasterSource
 BaseRasterSource (Context *context)
 
Cogs::RasterSourceParameters getParameters () const override
 
const CoordSysgetCoordSys () const
 
ErrorCode getErrorCode () const final
 
void setErrorCode (ErrorCode newErrorCode)
 
- Public Member Functions inherited from Cogs::Core::TerrainProvider::IRasterSource
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
 
- Protected Member Functions inherited from Cogs::Core::TerrainProvider::HTTPRasterSource
void requestTile (Request *req) final
 
virtual bool createFetchTileUrl (std::string &url, TileId id)=0
 
- Protected Member Functions inherited from Cogs::Core::TerrainProvider::BaseRasterSource
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
 
- Protected Attributes inherited from Cogs::Core::TerrainProvider::HTTPRasterSource
StringRef baseUrl = NoString
 
StringRef username = NoString
 
StringRef password = NoString
 
Cogs::Desktop::HTTPDataFetcher httpDataFetcher
 
- Protected Attributes inherited from Cogs::Core::TerrainProvider::BaseRasterSource
Contextcontext = 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

- Public Types inherited from Cogs::Core::TerrainProvider::IRasterSource
enum struct  ErrorCode {
  NoError , Done , FailedToOpenDiskCache , FailedToCreateDiskCache ,
  MismatchedDiskCache , NoHTTPService
}
 

Detailed Description

Definition at line 18 of file WCSRasterSource.h.

Constructor & Destructor Documentation

◆ WCSRasterSource()

Cogs::Core::TerrainProvider::WCSRasterSource::WCSRasterSource ( Context context)

Definition at line 11 of file WCSRasterSource.cpp.

◆ ~WCSRasterSource()

Cogs::Core::TerrainProvider::WCSRasterSource::~WCSRasterSource ( )

Definition at line 16 of file WCSRasterSource.cpp.

Member Function Documentation

◆ createFetchTileUrl()

bool Cogs::Core::TerrainProvider::WCSRasterSource::createFetchTileUrl ( std::string &  url,
TileId  id 
)
finalprotectedvirtual

Implements Cogs::Core::TerrainProvider::HTTPRasterSource.

Definition at line 62 of file WCSRasterSource.cpp.

◆ getConfig()

void Cogs::Core::TerrainProvider::WCSRasterSource::getConfig ( WCSConfig conf) const

Definition at line 52 of file WCSRasterSource.cpp.

◆ init()

bool Cogs::Core::TerrainProvider::WCSRasterSource::init ( const WCSConfig conf,
std::unique_ptr< ICache > &&  icache 
)

Definition at line 20 of file WCSRasterSource.cpp.

Member Data Documentation

◆ format

StringRef Cogs::Core::TerrainProvider::WCSRasterSource::format = NoString
protected

Definition at line 29 of file WCSRasterSource.h.

◆ interpolation

StringRef Cogs::Core::TerrainProvider::WCSRasterSource::interpolation = NoString
protected

Definition at line 30 of file WCSRasterSource.h.

◆ interpolationFieldName

StringRef Cogs::Core::TerrainProvider::WCSRasterSource::interpolationFieldName = NoString
protected

Definition at line 31 of file WCSRasterSource.h.

◆ layer

StringRef Cogs::Core::TerrainProvider::WCSRasterSource::layer = NoString
protected

Definition at line 28 of file WCSRasterSource.h.


The documentation for this class was generated from the following files: