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/src/osgWrappers/osg/PagedLOD.cpp

    r9775 r10174  
    9494                              "Remove children from Group. ", 
    9595                              "Note, must be override by subclasses of Group which add per child attributes. "); 
     96        I_Method1(void, setDatabaseOptions, IN, osg::Referenced *, options, 
     97                  Properties::NON_VIRTUAL, 
     98                  __void__setDatabaseOptions__osg_Referenced_P1, 
     99                  "Set the optional database osgDB::Options object to use when loaded children. ", 
     100                  ""); 
     101        I_Method0(osg::Referenced *, getDatabaseOptions, 
     102                  Properties::NON_VIRTUAL, 
     103                  __osg_Referenced_P1__getDatabaseOptions, 
     104                  "Get the optional database osgDB::Options object used when loaded children. ", 
     105                  ""); 
     106        I_Method0(const osg::Referenced *, getDatabaseOptions, 
     107                  Properties::NON_VIRTUAL, 
     108                  __C5_osg_Referenced_P1__getDatabaseOptions, 
     109                  "Get the optional database osgDB::Options object used when loaded children. ", 
     110                  ""); 
    96111        I_Method1(void, setDatabasePath, IN, const std::string &, path, 
    97112                  Properties::NON_VIRTUAL, 
     
    225240                           "", 
    226241                           ""); 
     242        I_SimpleProperty(osg::Referenced *, DatabaseOptions,  
     243                         __osg_Referenced_P1__getDatabaseOptions,  
     244                         __void__setDatabaseOptions__osg_Referenced_P1); 
    227245        I_SimpleProperty(const std::string &, DatabasePath,  
    228246                         __C5_std_string_R1__getDatabasePath,