Update ChangeLog and wrappers for 2.5.0 dev release

This commit is contained in:
Robert Osfield
2008-05-12 12:16:58 +00:00
parent d2c5142ecc
commit 7e8e7587be
4 changed files with 158 additions and 0 deletions

View File

@@ -24,9 +24,11 @@ TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osg::ApplicationUsag
BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
I_DeclaringFile("osg/ApplicationUsage");
I_EnumLabel(osg::ApplicationUsage::NO_HELP);
I_EnumLabel(osg::ApplicationUsage::COMMAND_LINE_OPTION);
I_EnumLabel(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE);
I_EnumLabel(osg::ApplicationUsage::KEYBOARD_MOUSE_BINDING);
I_EnumLabel(osg::ApplicationUsage::HELP_ALL);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage)

View File

@@ -220,6 +220,11 @@ BEGIN_VALUE_REFLECTOR(osg::ArgumentParser)
__void__writeErrorMessages__std_ostream_R1__ErrorSeverity,
"Write error messages to the given ostream, if at or above the given severity. ",
"");
I_Method0(osg::ApplicationUsage::Type, readHelpType,
Properties::NON_VIRTUAL,
__ApplicationUsage_Type__readHelpType,
"This convinience method handles help requests on the command line. ",
"Return the type(s) of help requested. The return value of this function is suitable for passing into getApplicationUsage()->write(). If ApplicationUsage::NO_HELP is returned then no help commandline option was found on the command line. ");
I_StaticMethod1(bool, isOption, IN, const char *, str,
__bool__isOption__C5_char_P1_S,
"Return true if the specified string is an option in the form -option or --option. ",

View File

@@ -127,6 +127,21 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::Renderer)
__void__cull_draw,
"",
"");
I_Method0(void, compile,
Properties::VIRTUAL,
__void__compile,
"",
"");
I_Method1(void, setCompileOnNextDraw, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setCompileOnNextDraw__bool,
"",
"");
I_Method0(bool, getCompileOnNextDraw,
Properties::NON_VIRTUAL,
__bool__getCompileOnNextDraw,
"",
"");
I_Method0(void, release,
Properties::VIRTUAL,
__void__release,
@@ -184,6 +199,9 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::Renderer)
__void__flushAndCompile__double__osgUtil_SceneView_P1__osgDB_DatabasePager_P1__osg_GraphicsThread_P1,
"",
"");
I_SimpleProperty(bool, CompileOnNextDraw,
__bool__getCompileOnNextDraw,
__void__setCompileOnNextDraw__bool);
I_SimpleProperty(double, ConservativeTimeRatio,
__double__getConservativeTimeRatio,
__void__setConservativeTimeRatio__double);