osgEarth 2.1.1
Public Member Functions | Private Types | Private Attributes

ReaderWriterTMS Class Reference

Inheritance diagram for ReaderWriterTMS:
Collaboration diagram for ReaderWriterTMS:

List of all members.

Public Member Functions

 ReaderWriterTMS ()
virtual const char * className ()
virtual ReadResult readObject (const std::string &file_name, const Options *options) const

Private Types

typedef std::map< std::string,
osg::ref_ptr< TileMap > > 
TileMapCache

Private Attributes

TileMapCache _tileMapCache

Detailed Description

Definition at line 185 of file ReaderWriterTMS.cpp.


Member Typedef Documentation

typedef std::map< std::string,osg::ref_ptr<TileMap> > ReaderWriterTMS::TileMapCache [private]

Definition at line 188 of file ReaderWriterTMS.cpp.


Constructor & Destructor Documentation

ReaderWriterTMS::ReaderWriterTMS ( ) [inline]

Definition at line 192 of file ReaderWriterTMS.cpp.

    {
        supportsExtension( "osgearth_tms", "Tile Map Service" );
    }

Member Function Documentation

virtual const char* ReaderWriterTMS::className ( ) [inline, virtual]

Definition at line 197 of file ReaderWriterTMS.cpp.

    {
        return "Tile Map Service ReaderWriter";
    }
virtual ReadResult ReaderWriterTMS::readObject ( const std::string &  file_name,
const Options *  options 
) const [inline, virtual]

Definition at line 202 of file ReaderWriterTMS.cpp.

    {
        if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name )))
            return ReadResult::FILE_NOT_HANDLED;

        return new TMSSource( getTileSourceOptions(options) );
    }

Member Data Documentation

Definition at line 189 of file ReaderWriterTMS.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines