Show
Ignore:
Timestamp:
10/24/07 19:30:30 (1 year ago)
Author:
cneumann
Message:

fixed: FieldBundle? templates, pointers and fields updated

lots of compile errors - some remain

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/Contrib/Manipulators/OSGScaleManipulatorBase.h

    r976 r988  
    7777class OSG_CONTRIBGUI_DLLMAPPING ScaleManipulatorBase : public Manipulator 
    7878{ 
     79    /*==========================  PUBLIC  =================================*/ 
    7980  public: 
    80  
     81    /*---------------------------------------------------------------------*/ 
     82    /*! \name Public Types                                                 */ 
     83    /*! \{                                                                 */ 
     84     
    8185    typedef Manipulator Inherited; 
    8286    typedef Manipulator ParentContainer; 
     
    8488    typedef Inherited::TypeObject TypeObject; 
    8589    typedef TypeObject::InitPhase InitPhase; 
    86  
    87     OSG_GEN_INTERNALPTR(ScaleManipulator); 
    88  
    89     /*==========================  PUBLIC  =================================*/ 
    90   public: 
    91  
    92  
     90    
     91    typedef ScaleManipulator       *       ObjPtr;  
     92    typedef ScaleManipulator       * const ObjPtrConst; 
     93    typedef ScaleManipulator const *       ObjConstPtr; 
     94    typedef ScaleManipulator const * const ObjConstPtrConst; 
     95     
     96    typedef ScaleManipulator       *       ObjPtrArg; 
     97    typedef ScaleManipulator       * const ObjPtrConstArg; 
     98    typedef ScaleManipulator const *       ObjConstPtrArg; 
     99 
     100    typedef InternalRefCountPtrBuilder<ScaleManipulator>::Ptr ObjInternalRefPtr; 
     101    typedef WeakRefCountPtrBuilder    <ScaleManipulator>::Ptr ObjWeakRefPtr; 
     102    typedef MTRefCountPtrBuilder      <ScaleManipulator>::Ptr ObjMTRefPtr; 
     103    typedef RefCountPtrBuilder        <ScaleManipulator>::Ptr ObjRefPtr; 
     104    typedef ParentPtrBuilder          <ScaleManipulator>::Ptr ObjParentPtr; 
     105     
     106     
     107    /*! \}                                                                 */ 
     108    /*---------------------------------------------------------------------*/ 
     109    /*! \name Constants                                                    */ 
     110    /*! \{                                                                 */ 
     111 
     112    /*! \}                                                                 */ 
    93113    /*---------------------------------------------------------------------*/ 
    94114    /*! \name Class Get                                                    */ 
     
    104124    /*! \{                                                                 */ 
    105125 
    106     virtual       FieldContainerType &getType         (void); 
    107     virtual const FieldContainerType &getType         (void) const; 
    108  
    109     virtual       UInt32              getContainerSize(void) const; 
     126    virtual FieldContainerType      &getType         (void); 
     127    virtual FieldContainerType const &getType         (void) const; 
     128 
     129    virtual UInt32                    getContainerSize(void) const; 
    110130 
    111131    /*! \}                                                                 */ 
     
    149169 
    150170    ScaleManipulatorBase(void); 
    151     ScaleManipulatorBase(const ScaleManipulatorBase &source); 
     171    ScaleManipulatorBase(ScaleManipulatorBase const &source); 
    152172 
    153173    /*! \}                                                                 */ 
     
    215235typedef ScaleManipulatorBase *ScaleManipulatorBaseP; 
    216236 
    217 typedef RefCountPtrBuilder<ScaleManipulator>::Ptr         ScaleManipulatorRefPtr; 
    218 typedef MTRefCountPtrBuilder<ScaleManipulator>::Ptr       ScaleManipulatorMTRefPtr; 
    219 typedef WeakRefCountPtrBuilder<ScaleManipulator>::Ptr     ScaleManipulatorWeakRefPtr; 
    220 typedef InternalRefCountPtrBuilder<ScaleManipulator>::Ptr ScaleManipulatorInternalRefPtr; 
    221  
    222 typedef ParentPtrBuilder<ScaleManipulator>::Ptr           ScaleManipulatorParentPtr; 
     237typedef ScaleManipulatorBase::ObjRefPtr         ScaleManipulatorRefPtr; 
     238typedef ScaleManipulatorBase::ObjMTRefPtr       ScaleManipulatorMTRefPtr; 
     239typedef ScaleManipulatorBase::ObjWeakRefPtr     ScaleManipulatorWeakRefPtr; 
     240typedef ScaleManipulatorBase::ObjInternalRefPtr ScaleManipulatorInternalRefPtr; 
     241typedef ScaleManipulatorBase::ObjParentPtr      ScaleManipulatorParentPtr; 
    223242 
    224243typedef boost::mpl::if_<