Show
Ignore:
Timestamp:
05/11/09 13:39:12 (6 years ago)
Author:
robert
Message:

Moved Registry::ReadFileCallback? + WriteFileCallback?, and osgDB::ReaderWriter::Options into their own separate Options file and into the osgDB namespace.

Introduced a new callback osgDB::FindFileCallback? that overrides the default behavior of findDataFile/findLibraryFile.

Introduced support for assigning ReaderWriter::Options directory to PagedLOD.

Introduced new osgDB::FileLocationCallback? for assistancing the DatabasePager? to know when a file is hosted on a local or remote file system.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/NodeVisitor

    r9464 r10174  
    275275        { 
    276276        public: 
    277          
     277 
    278278            DatabaseRequestHandler(): 
    279279                Referenced(true) {} 
    280          
    281             virtual void requestNodeFile(const std::string& fileName,osg::Group* group, float priority, const FrameStamp* framestamp, osg::ref_ptr<osg::Referenced>& databaseRequest) = 0; 
    282              
     280 
     281            virtual void requestNodeFile(const std::string& fileName,osg::Group* group, float priority, const FrameStamp* framestamp, osg::ref_ptr<osg::Referenced>& databaseRequest, const osg::Referenced* options=0) = 0; 
     282 
    283283        protected: 
    284284            virtual ~DatabaseRequestHandler() {} 
    285285        }; 
    286          
     286 
    287287        /** Set the handler for database requests.*/ 
    288288        void setDatabaseRequestHandler(DatabaseRequestHandler* handler) { _databaseRequestHandler = handler; } 
    289          
     289 
    290290        /** Get the handler for database requests.*/ 
    291291        DatabaseRequestHandler* getDatabaseRequestHandler() { return _databaseRequestHandler.get(); }