Updated wrappers

This commit is contained in:
Robert Osfield
2007-07-19 16:42:36 +00:00
parent c3adce3ef4
commit e8eec312a1
3 changed files with 67 additions and 0 deletions

View File

@@ -52,3 +52,53 @@ BEGIN_OBJECT_REFLECTOR(OpenThreads::Block)
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(OpenThreads::BlockCount)
I_DeclaringFile("OpenThreads/Block");
I_Constructor1(IN, unsigned int, blockCount,
Properties::NON_EXPLICIT,
____BlockCount__unsigned_int,
"",
"");
I_Method0(void, completed,
Properties::NON_VIRTUAL,
__void__completed,
"",
"");
I_Method0(void, block,
Properties::NON_VIRTUAL,
__void__block,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method0(void, release,
Properties::NON_VIRTUAL,
__void__release,
"",
"");
I_Method1(void, setBlockCount, IN, unsigned int, blockCount,
Properties::NON_VIRTUAL,
__void__setBlockCount__unsigned_int,
"",
"");
I_Method0(unsigned int, getBlockCount,
Properties::NON_VIRTUAL,
__unsigned_int__getBlockCount,
"",
"");
I_Method0(unsigned int, getCurrentCount,
Properties::NON_VIRTUAL,
__unsigned_int__getCurrentCount,
"",
"");
I_SimpleProperty(unsigned int, BlockCount,
__unsigned_int__getBlockCount,
__void__setBlockCount__unsigned_int);
I_SimpleProperty(unsigned int, CurrentCount,
__unsigned_int__getCurrentCount,
0);
END_REFLECTOR

View File

@@ -236,6 +236,17 @@ BEGIN_OBJECT_REFLECTOR(osg::RefBlock)
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::RefBlockCount)
I_DeclaringFile("osg/OperationThread");
I_VirtualBaseType(osg::Referenced);
I_BaseType(OpenThreads::BlockCount);
I_Constructor1(IN, unsigned, blockCount,
Properties::NON_EXPLICIT,
____RefBlockCount__unsigned,
"",
"");
END_REFLECTOR
TYPE_NAME_ALIAS(osg::OperationThread, osg::OperationsThread)
STD_SET_REFLECTOR(std::set< osg::OperationThread * >)

View File

@@ -11,6 +11,7 @@
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Uniform>
#include <osgTerrain/GeometryTechnique>
#include <osgUtil/CullVisitor>
@@ -56,6 +57,11 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::GeometryTechnique)
__void__cull__osgUtil_CullVisitor_P1,
"",
"");
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__traverse__osg_NodeVisitor_R1,
"Traverse the terain subgraph. ",
"");
I_Method0(void, cleanSceneGraph,
Properties::VIRTUAL,
__void__cleanSceneGraph,