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

Public Member Functions

 NullRasterSource (Context *context)
 
bool init (const BaseConfig &conf, std::unique_ptr< ICache > &&icache)
 
void getConfig (BaseConfig &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

void requestTile (Request *req) final
 
- 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
 

Additional Inherited Members

- Public Types inherited from Cogs::Core::TerrainProvider::IRasterSource
enum struct  ErrorCode {
  NoError , Done , FailedToOpenDiskCache , FailedToCreateDiskCache ,
  MismatchedDiskCache , NoHTTPService
}
 
- 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
 

Detailed Description

Definition at line 6 of file NullRasterSource.h.

Constructor & Destructor Documentation

◆ NullRasterSource()

Cogs::Core::TerrainProvider::NullRasterSource::NullRasterSource ( Context context)
inline

Definition at line 9 of file NullRasterSource.h.

◆ ~NullRasterSource()

Cogs::Core::TerrainProvider::NullRasterSource::~NullRasterSource ( )
inline

Definition at line 10 of file NullRasterSource.h.

Member Function Documentation

◆ getConfig()

void Cogs::Core::TerrainProvider::NullRasterSource::getConfig ( BaseConfig conf) const
inline

Definition at line 13 of file NullRasterSource.h.

◆ init()

bool Cogs::Core::TerrainProvider::NullRasterSource::init ( const BaseConfig conf,
std::unique_ptr< ICache > &&  icache 
)
inline

Definition at line 12 of file NullRasterSource.h.

◆ requestTile()

void Cogs::Core::TerrainProvider::NullRasterSource::requestTile ( Request req)
inlinefinalprotectedvirtual

Implements Cogs::Core::TerrainProvider::BaseRasterSource.

Definition at line 16 of file NullRasterSource.h.


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