Show
Ignore:
Timestamp:
12/12/07 18:00:42 (9 months ago)
Author:
cneumann
Message:

added: generic interface
changed: factory functions return RefPtr?

The unittests don't pass right now, because of the change
to the factory functions, which leads to containers
being immediately destroyed as they are not assigned to
a RefPtr?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/Contrib/Manipulators/OSGManipulatorFields.h

    r1030 r1032  
    7272OSG_GEN_CONTAINERPTR(Manipulator); 
    7373 
    74 typedef RefCountPtrBuilder    <Manipulator>::Ptr ManipulatorRefPtr; 
    75 typedef MTRefCountPtrBuilder  <Manipulator>::Ptr ManipulatorMTRefPtr; 
    76 typedef WeakRefCountPtrBuilder<Manipulator>::Ptr ManipulatorWeakRefPtr; 
    77 typedef ParentPtrBuilder      <Manipulator>::Ptr ManipulatorParentPtr; 
     74typedef RefCountPtrBuilder        <Manipulator>::Ptr ManipulatorRefPtr; 
     75typedef MTRefCountPtrBuilder      <Manipulator>::Ptr ManipulatorMTRefPtr; 
     76typedef WeakRefCountPtrBuilder    <Manipulator>::Ptr ManipulatorWeakRefPtr; 
     77typedef ParentPtrBuilder          <Manipulator>::Ptr ManipulatorParentPtr; 
     78typedef InternalRefCountPtrBuilder<Manipulator>::Ptr ManipulatorInternalRefPtr; 
    7879 
    7980#endif