Show
Ignore:
Timestamp:
05/11/09 13:39:12 (5 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/src/osgWrappers/osgDB/DatabasePager.cpp

    r10171 r10174  
    2020#include <osg/State> 
    2121#include <osgDB/DatabasePager> 
    22 #include <osgDB/Options> 
    2322 
    2423// Must undefine IN and OUT macros defined in Windows headers 
     
    7069                  "Create a shallow copy on the DatabasePager. ", 
    7170                  ""); 
    72         I_Method5(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp, IN, osg::ref_ptr< osg::Referenced > &, databaseRequest, 
    73                   Properties::VIRTUAL, 
    74                   __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_osg_FrameStamp_P1__osg_ref_ptrT1_osg_Referenced__R1, 
     71        I_Method6(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp, IN, osg::ref_ptr< osg::Referenced > &, databaseRequest, IN, const osg::Referenced *, options, 
     72                  Properties::VIRTUAL, 
     73                  __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_osg_FrameStamp_P1__osg_ref_ptrT1_osg_Referenced__R1__C5_osg_Referenced_P1, 
    7574                  "Add a request to load a node file to end the the database request list. ", 
    76                   ""); 
    77         I_Method6(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp, IN, osg::ref_ptr< osg::Referenced > &, databaseRequest, IN, osgDB::Options *, loadOptions, 
    78                   Properties::VIRTUAL, 
    79                   __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_osg_FrameStamp_P1__osg_ref_ptrT1_osg_Referenced__R1__Options_P1, 
    80                   "", 
    8175                  ""); 
    8276        I_Method1(int, setSchedulePriority, IN, OpenThreads::Thread::ThreadPriority, priority,