Show
Ignore:
Timestamp:
12/03/07 15:48:13 (1 year ago)
Author:
cneumann
Message:

fixed: compile errors

reference counting


It compiles on linux (when disabling the VRML Loader) and the first
ref counting tests seem to work.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Node/OSGNodeCore.h

    r1020 r1030  
    6565{ 
    6666    /*==========================  PUBLIC  =================================*/ 
    67  
    6867  public: 
    6968 
     
    7372    OSG_GEN_INTERNALPTR(NodeCore); 
    7473 
     74    typedef WeakRefCountPtrBuilder<NodeCore>::Ptr ObjWeakRefPtr; 
     75    typedef MTRefCountPtrBuilder  <NodeCore>::Ptr ObjMTRefPtr; 
     76    typedef RefCountPtrBuilder    <NodeCore>::Ptr ObjRefPtr; 
     77    typedef ParentPtrBuilder      <NodeCore>::Ptr ObjParentPtr; 
     78     
    7579    typedef Inherited::TypeObject                            TypeObject; 
    7680 
     
    323327OSG_GEN_CONTAINERPTR(NodeCore); 
    324328 
    325 typedef RefPtr<NodeCorePtr>        NodeCoreRefPtr; 
    326 typedef WeakPtr<NodeCorePtr>       NodeCoreWeakPtr; 
     329typedef NodeCore::ObjRefPtr     NodeCoreRefPtr; 
     330typedef NodeCore::ObjMTRefPtr   NodeCoreMTRefPtr; 
     331typedef NodeCore::ObjWeakRefPtr NodeCoreWeakRefPtr; 
     332typedef NodeCore::ObjParentPtr  NodeCoreParentPtr; 
    327333 
    328334OSG_END_NAMESPACE