VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
txp::ReaderWriterTXP Class Reference
Inheritance diagram for txp::ReaderWriterTXP:
Inheritance graph
[legend]

Public Member Functions

 ReaderWriterTXP ()
 
virtual const charclassName () const
 
virtual ReadResult readNode (const std::string &file, const osgDB::ReaderWriter::Options *options) const
 
bool removeArchive (int id)
 

Protected Member Functions

ReadResult local_readNode (const std::string &file, const osgDB::ReaderWriter::Options *options)
 
std::string getArchiveName (const std::string &dir)
 
osg::ref_ptr< TXPArchivecreateArchive (int id, const std::string &dir)
 
osg::ref_ptr< TXPArchivegetArchive (int id, const std::string &)
 
osg::Node * getTileContent (const TXPArchive::TileInfo &info, int x, int y, int lod, TXPArchive *archive, std::vector< TXPArchive::TileLocationInfo > &childrenLoc)
 
osg::Node * getTileContent (const TXPArchive::TileInfo &info, const TXPArchive::TileLocationInfo &loc, TXPArchive *archive, std::vector< TXPArchive::TileLocationInfo > &childrenLoc)
 
void createChildrenLocationString (const std::vector< TXPArchive::TileLocationInfo > &locs, std::string &locString) const
 
bool extractChildrenLocations (const std::string &name, int parentLod, std::vector< TXPArchive::TileLocationInfo > &locs, int nbChild) const
 

Protected Attributes

OpenThreads::ReentrantMutex _serializerMutex
 
std::map< int, osg::ref_ptr
< TXPArchive > > 
_archives
 

Static Protected Attributes

static int _archiveId
 

Constructor & Destructor Documentation

txp::ReaderWriterTXP::ReaderWriterTXP ( )
inline

Member Function Documentation

virtual const char* txp::ReaderWriterTXP::className ( ) const
inlinevirtual
virtual ReadResult txp::ReaderWriterTXP::readNode ( const std::string &  file,
const osgDB::ReaderWriter::Options *  options 
) const
inlinevirtual
bool txp::ReaderWriterTXP::removeArchive ( int  id)
ReadResult txp::ReaderWriterTXP::local_readNode ( const std::string &  file,
const osgDB::ReaderWriter::Options *  options 
)
protected
std::string txp::ReaderWriterTXP::getArchiveName ( const std::string &  dir)
protected
osg::ref_ptr< TXPArchive > txp::ReaderWriterTXP::createArchive ( int  id,
const std::string &  dir 
)
protected
osg::ref_ptr< TXPArchive > txp::ReaderWriterTXP::getArchive ( int  id,
const std::string &   
)
protected
osg::Node* txp::ReaderWriterTXP::getTileContent ( const TXPArchive::TileInfo info,
int  x,
int  y,
int  lod,
TXPArchive archive,
std::vector< TXPArchive::TileLocationInfo > &  childrenLoc 
)
protected
osg::Node* txp::ReaderWriterTXP::getTileContent ( const TXPArchive::TileInfo info,
const TXPArchive::TileLocationInfo loc,
TXPArchive archive,
std::vector< TXPArchive::TileLocationInfo > &  childrenLoc 
)
protected
void txp::ReaderWriterTXP::createChildrenLocationString ( const std::vector< TXPArchive::TileLocationInfo > &  locs,
std::string &  locString 
) const
protected
bool txp::ReaderWriterTXP::extractChildrenLocations ( const std::string &  name,
int  parentLod,
std::vector< TXPArchive::TileLocationInfo > &  locs,
int  nbChild 
) const
protected

Member Data Documentation

OpenThreads::ReentrantMutex txp::ReaderWriterTXP::_serializerMutex
mutableprotected
std::map< int,osg::ref_ptr<TXPArchive> > txp::ReaderWriterTXP::_archives
protected
int txp::ReaderWriterTXP::_archiveId
staticprotected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)