Changeset 8323

Show
Ignore:
Timestamp:
05/14/08 22:22:01
Author:
robert
Message:

Updated wrappers

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/src/osgWrappers/osgDB/ReaderWriter.cpp

    r7908 r8323  
    274274                  "Get whether the Registry::ObjectCache should be used by default. ", 
    275275                  ""); 
     276        I_Method1(void, setAsynchronousFileReadHint, IN, bool, flag, 
     277                  Properties::NON_VIRTUAL, 
     278                  __void__setAsynchronousFileReadHint__bool, 
     279                  "Set Asynchrnous file read hint. ", 
     280                  "This hint is used by plugins like the libcurl http reader plugin to inform them that they should make an internal file read requests to their background threads to load files, with the plugin returning immediately with a ReadResult::FILE_REQUESTED status. It is assumed that calls will continue to be made to the plugin until the background threads have read or failed to read the request file, at which point the return status which change to FILE_LOADED and the objects will be returned. Note, this facility is particular useful when using DatabasePager in conjunction with internet based databases where file load latency is relatively high. "); 
     281        I_Method0(bool, getAsynchronousFileReadHint, 
     282                  Properties::NON_VIRTUAL, 
     283                  __bool__getAsynchronousFileReadHint, 
     284                  "Get Asynchrnous file read hint. ", 
     285                  ""); 
    276286        I_Method2(void, setPluginData, IN, const std::string &, s, IN, void *, v, 
    277287                  Properties::NON_VIRTUAL, 
     
    294304                  "Remove a value from the PluginData. ", 
    295305                  ""); 
     306        I_SimpleProperty(bool, AsynchronousFileReadHint,  
     307                         __bool__getAsynchronousFileReadHint,  
     308                         __void__setAsynchronousFileReadHint__bool); 
    296309        I_SimpleProperty(const std::string &, DatabasePath,  
    297310                         0,  
     
    319332        I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE); 
    320333        I_EnumLabel(osgDB::ReaderWriter::ReadResult::ERROR_IN_READING_FILE); 
     334        I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_REQUESTED); 
    321335END_REFLECTOR 
    322336