Changeset 6589

Show
Ignore:
Timestamp:
05/02/07 21:57:05
Author:
robert
Message:

Added OpenThreads? wrappers

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/genwrapper.conf

    r6465 r6589  
    273273# specify the type kind explicitly 
    274274 
    275 suppress reflector "OpenThreads::Mutex" 
     275configure reflector "OpenThreads::Mutex" 
     276        object-type 
     277end 
     278 
     279configure reflector "OpenThreads::Condition" 
     280        object-type 
     281end 
     282 
     283configure reflector "OpenThreads::Block" 
     284        object-type 
     285end 
     286 
     287configure reflector "OpenThreads::Barrier" 
     288        object-type 
     289end 
    276290 
    277291configure reflector "OpenThreads::ReentrantMutex" 
  • OpenSceneGraph/trunk/src/osgWrappers/CMakeLists.txt

    r6423 r6589  
    8787 
    8888SET(OSGWRAPPER_LIB_LIST  
     89        OpenThreads 
    8990        osg 
    9091        osgDB 
  • OpenSceneGraph/trunk/src/osgWrappers/osg/Camera.cpp

    r6460 r6589  
    1111#include <osgIntrospection/Attributes> 
    1212 
     13#include <OpenThreads/Mutex> 
    1314#include <osg/Camera> 
    1415#include <osg/ColorMask> 
  • OpenSceneGraph/trunk/src/osgWrappers/osg/GraphicsContext.cpp

    r6460 r6589  
    1111#include <osgIntrospection/Attributes> 
    1212 
     13#include <OpenThreads/Mutex> 
    1314#include <osg/GraphicsContext> 
    1415#include <osg/GraphicsThread> 
  • OpenSceneGraph/trunk/src/osgWrappers/osg/GraphicsThread.cpp

    r6267 r6589  
    3030BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation) 
    3131        I_BaseType(osg::Operation); 
     32        I_BaseType(OpenThreads::Barrier); 
    3233        I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION, 
    3334                                   ____BarrierOperation__int__PreBlockOp, 
     
    3738                  Properties::VIRTUAL, 
    3839                  __void__release, 
    39                   "if this operation is a barrier then release it. ", 
     40                  "Release the barrier, now. ", 
    4041                  ""); 
    4142        I_PublicMemberProperty(osg::BarrierOperation::PreBlockOp, _preBlockOp); 
     
    8586BEGIN_OBJECT_REFLECTOR(osg::OperationsThread) 
    8687        I_BaseType(osg::Referenced); 
     88        I_BaseType(OpenThreads::Thread); 
    8789        I_Constructor0(____OperationsThread, 
    8890                       "", 
     
    161163BEGIN_OBJECT_REFLECTOR(osg::RefBlock) 
    162164        I_VirtualBaseType(osg::Referenced); 
     165        I_BaseType(OpenThreads::Block); 
    163166        I_Constructor0(____RefBlock, 
    164167                       "", 
  • OpenSceneGraph/trunk/src/osgWrappers/osgDB/DatabasePager.cpp

    r6460 r6589  
    5151BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager) 
    5252        I_BaseType(osg::NodeVisitor::DatabaseRequestHandler); 
     53        I_BaseType(OpenThreads::Thread); 
    5354        I_Constructor0(____DatabasePager, 
    5455                       "", 
  • OpenSceneGraph/trunk/src/osgWrappers/osgDB/SharedStateManager.cpp

    r6295 r6589  
    1111#include <osgIntrospection/Attributes> 
    1212 
     13#include <OpenThreads/Mutex> 
    1314#include <osg/Geode> 
    1415#include <osg/Node> 
  • OpenSceneGraph/trunk/src/osgWrappers/osgParticle/ParticleSystem.cpp

    r6422 r6589  
    1111#include <osgIntrospection/Attributes> 
    1212 
     13#include <OpenThreads/ReadWriteMutex> 
    1314#include <osg/BoundingBox> 
    1415#include <osg/CopyOp>