2005-09-29 21:07:26 +08:00
|
|
|
// ***************************************************************************
|
|
|
|
//
|
|
|
|
// Generated automatically by genwrapper.
|
|
|
|
// Please DO NOT EDIT this file!
|
|
|
|
//
|
|
|
|
// ***************************************************************************
|
|
|
|
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
#include <osg/GraphicsContext>
|
2005-09-29 21:07:26 +08:00
|
|
|
#include <osg/GraphicsThread>
|
|
|
|
|
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
#ifdef OUT
|
|
|
|
#undef OUT
|
|
|
|
#endif
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
BEGIN_ENUM_REFLECTOR(osg::BarrierOperation::PreBlockOp)
|
|
|
|
I_EnumLabel(osg::BarrierOperation::NO_OPERATION);
|
|
|
|
I_EnumLabel(osg::BarrierOperation::GL_FLUSH);
|
|
|
|
I_EnumLabel(osg::BarrierOperation::GL_FINISH);
|
2005-09-29 21:07:26 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
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);
|
2005-09-29 21:07:26 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osg::Block)
|
|
|
|
I_VirtualBaseType(osg::Referenced);
|
2005-09-29 21:07:26 +08:00
|
|
|
I_Constructor0();
|
2006-07-19 04:53:16 +08:00
|
|
|
I_Method0(void, block);
|
|
|
|
I_Method0(void, release);
|
|
|
|
I_Method0(void, reset);
|
|
|
|
I_Method1(void, set, IN, bool, doRelease);
|
|
|
|
I_WriteOnlyProperty(bool, );
|
2005-09-29 21:07:26 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread)
|
|
|
|
I_BaseType(osg::Referenced);
|
2005-09-29 21:07:26 +08:00
|
|
|
I_Constructor0();
|
2006-07-19 04:53:16 +08:00
|
|
|
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);
|
2005-09-29 21:07:26 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
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);
|
2005-09-29 21:07:26 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
|
|
|
|
I_BaseType(osg::GraphicsThread::Operation);
|
|
|
|
I_BaseType(osg::Block);
|
2005-09-29 21:07:26 +08:00
|
|
|
I_Constructor0();
|
2006-07-19 04:53:16 +08:00
|
|
|
I_Method0(void, release);
|
2005-09-29 21:07:26 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
|
|
|
|
I_BaseType(osg::GraphicsThread::Operation);
|
2005-09-29 21:07:26 +08:00
|
|
|
I_Constructor0();
|
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-07-19 04:53:16 +08:00
|
|
|
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GraphicsThread::Operation >)
|
2005-11-10 23:27:49 +08:00
|
|
|
I_Constructor0();
|
2006-07-19 04:53:16 +08:00
|
|
|
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 *, );
|
2005-11-10 23:27:49 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|