Updated wrappers

This commit is contained in:
Robert Osfield
2006-07-18 20:51:28 +00:00
parent dfbc9d0441
commit 1efa9a01d7
211 changed files with 2739 additions and 5375 deletions

View File

@@ -9,7 +9,6 @@
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/GraphicsContext>
#include <osg/GraphicsThread>
// Must undefine IN and OUT macros defined in Windows headers
@@ -20,76 +19,51 @@
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::BarrierOperation::PreBlockOp)
I_EnumLabel(osg::BarrierOperation::NO_OPERATION);
I_EnumLabel(osg::BarrierOperation::GL_FLUSH);
I_EnumLabel(osg::BarrierOperation::GL_FINISH);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation)
I_BaseType(osg::GraphicsThread::Operation);
I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION);
I_Method0(void, release);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Block)
I_VirtualBaseType(osg::Referenced);
I_Constructor0();
I_Method0(void, block);
I_Method0(void, release);
I_Method0(void, reset);
I_Method1(void, set, IN, bool, doRelease);
I_WriteOnlyProperty(bool, );
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread)
I_BaseType(osg::Referenced);
I_Constructor0();
I_MethodWithDefaults2(void, add, IN, osg::GraphicsThread::Operation *, operation, , IN, bool, waitForCompletion, false);
I_Method1(void, remove, IN, osg::GraphicsThread::Operation *, operation);
I_Method1(void, remove, IN, const std::string &, name);
I_Method0(void, removeAllOperations);
I_Method0(osg::ref_ptr< osg::GraphicsThread::Operation >, getCurrentOperation);
I_Method0(void, run);
I_Method1(void, setDone, IN, bool, done);
I_Method0(bool, getDone);
I_Method0(int, cancel);
I_ReadOnlyProperty(osg::ref_ptr< osg::GraphicsThread::Operation >, CurrentOperation);
I_Property(bool, Done);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread::Operation)
I_VirtualBaseType(osg::Referenced);
I_Constructor2(IN, const std::string &, name, IN, bool, keep);
I_Method1(void, setName, IN, const std::string &, name);
I_Method0(const std::string &, getName);
I_Method1(void, setKeep, IN, bool, keep);
I_Method0(bool, getKeep);
I_Method0(void, release);
I_Property(bool, Keep);
I_Property(const std::string &, Name);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
I_BaseType(osg::GraphicsThread::Operation);
I_BaseType(osg::Block);
I_Constructor0();
I_Method0(void, release);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
I_BaseType(osg::GraphicsThread::Operation);
BEGIN_VALUE_REFLECTOR(osg::BarrierOperation)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GraphicsThread::Operation >)
BEGIN_VALUE_REFLECTOR(osg::BarrierOperation)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Block)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Block)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::GraphicsThread)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::GraphicsThread)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::GraphicsThread::Operation)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::GraphicsThread::Operation)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::SwapBuffersOperation)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::SwapBuffersOperation)
I_Constructor0();
I_Constructor1(IN, osg::GraphicsThread::Operation *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
I_Method0(osg::GraphicsThread::Operation *, get);
I_Method0(bool, valid);
I_Method0(osg::GraphicsThread::Operation *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
I_ReadOnlyProperty(osg::GraphicsThread::Operation *, );
END_REFLECTOR