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/System/Cluster/Window/Base/OSGClusterWindowBase.h

    r979 r988  
    9090class OSG_CLUSTER_DLLMAPPING ClusterWindowBase : public Window 
    9191{ 
     92    /*==========================  PUBLIC  =================================*/ 
    9293  public: 
    93  
     94    /*---------------------------------------------------------------------*/ 
     95    /*! \name Public Types                                                 */ 
     96    /*! \{                                                                 */ 
     97     
    9498    typedef Window Inherited; 
    9599    typedef Window ParentContainer; 
     
    97101    typedef Inherited::TypeObject TypeObject; 
    98102    typedef TypeObject::InitPhase InitPhase; 
    99  
    100     OSG_GEN_INTERNALPTR(ClusterWindow); 
    101  
    102     /*==========================  PUBLIC  =================================*/ 
    103   public: 
     103    
     104    typedef ClusterWindow       *       ObjPtr;  
     105    typedef ClusterWindow       * const ObjPtrConst; 
     106    typedef ClusterWindow const *       ObjConstPtr; 
     107    typedef ClusterWindow const * const ObjConstPtrConst; 
     108     
     109    typedef ClusterWindow       *       ObjPtrArg; 
     110    typedef ClusterWindow       * const ObjPtrConstArg; 
     111    typedef ClusterWindow const *       ObjConstPtrArg; 
     112 
     113    typedef InternalRefCountPtrBuilder<ClusterWindow>::Ptr ObjInternalRefPtr; 
     114    typedef WeakRefCountPtrBuilder    <ClusterWindow>::Ptr ObjWeakRefPtr; 
     115    typedef MTRefCountPtrBuilder      <ClusterWindow>::Ptr ObjMTRefPtr; 
     116    typedef RefCountPtrBuilder        <ClusterWindow>::Ptr ObjRefPtr; 
     117    typedef ParentPtrBuilder          <ClusterWindow>::Ptr ObjParentPtr; 
     118     
     119    typedef MFString               ServersFieldType; 
     120    typedef SFString               ConnectionTypeFieldType; 
     121    typedef SFString               ConnectionInterfaceFieldType; 
     122    typedef SFString               ConnectionDestinationFieldType; 
     123    typedef SFString               ConnectionParamsFieldType; 
     124    typedef SFUInt32               ServicePortFieldType; 
     125    typedef SFString               ServiceAddressFieldType; 
     126    typedef SFString               ServiceInterfaceFieldType; 
     127    typedef SFWindowInternalRefPtr ClientWindowFieldType; 
     128    typedef SFUInt32               InterleaveFieldType; 
     129    typedef SFUInt32               FrameCountFieldType; 
     130    typedef SFImageComposerInternalRefPtr ComposerFieldType; 
     131    typedef MFString               AutostartFieldType; 
     132     
     133    /*! \}                                                                 */ 
     134    /*---------------------------------------------------------------------*/ 
     135    /*! \name Constants                                                    */ 
     136    /*! \{                                                                 */ 
    104137 
    105138    enum 
     
    150183        (TypeTraits<BitVector>::One << NextFieldId); 
    151184         
    152     typedef MFString               ServersFieldType; 
    153     typedef SFString               ConnectionTypeFieldType; 
    154     typedef SFString               ConnectionInterfaceFieldType; 
    155     typedef SFString               ConnectionDestinationFieldType; 
    156     typedef SFString               ConnectionParamsFieldType; 
    157     typedef SFUInt32               ServicePortFieldType; 
    158     typedef SFString               ServiceAddressFieldType; 
    159     typedef SFString               ServiceInterfaceFieldType; 
    160     typedef SFWindowInternalRefPtr ClientWindowFieldType; 
    161     typedef SFUInt32               InterleaveFieldType; 
    162     typedef SFUInt32               FrameCountFieldType; 
    163     typedef SFImageComposerInternalRefPtr ComposerFieldType; 
    164     typedef MFString               AutostartFieldType; 
    165          
    166  
     185    /*! \}                                                                 */ 
    167186    /*---------------------------------------------------------------------*/ 
    168187    /*! \name Class Get                                                    */ 
     
    178197    /*! \{                                                                 */ 
    179198 
    180     virtual       FieldContainerType &getType         (void); 
    181     virtual const FieldContainerType &getType         (void) const; 
    182  
    183     virtual       UInt32              getContainerSize(void) const; 
     199    virtual FieldContainerType      &getType         (void); 
     200    virtual FieldContainerType const &getType         (void) const; 
     201 
     202    virtual UInt32                    getContainerSize(void) const; 
    184203 
    185204    /*! \}                                                                 */ 
     
    482501 
    483502    ClusterWindowBase(void); 
    484     ClusterWindowBase(const ClusterWindowBase &source); 
     503    ClusterWindowBase(ClusterWindowBase const &source); 
    485504 
    486505    /*! \}                                                                 */ 
     
    496515    /*! \{                                                                 */ 
    497516 
    498     void onCreate(const ClusterWindow *source = NULL); 
     517    void onCreate(ClusterWindow const *source = NULL); 
    499518 
    500519    /*! \}                                                                 */ 
     
    575594typedef ClusterWindowBase *ClusterWindowBaseP; 
    576595 
    577 typedef RefCountPtrBuilder<ClusterWindow>::Ptr         ClusterWindowRefPtr; 
    578 typedef MTRefCountPtrBuilder<ClusterWindow>::Ptr       ClusterWindowMTRefPtr; 
    579 typedef WeakRefCountPtrBuilder<ClusterWindow>::Ptr     ClusterWindowWeakRefPtr; 
    580 typedef InternalRefCountPtrBuilder<ClusterWindow>::Ptr ClusterWindowInternalRefPtr; 
    581  
    582 typedef ParentPtrBuilder<ClusterWindow>::Ptr           ClusterWindowParentPtr; 
     596typedef ClusterWindowBase::ObjRefPtr         ClusterWindowRefPtr; 
     597typedef ClusterWindowBase::ObjMTRefPtr       ClusterWindowMTRefPtr; 
     598typedef ClusterWindowBase::ObjWeakRefPtr     ClusterWindowWeakRefPtr; 
     599typedef ClusterWindowBase::ObjInternalRefPtr ClusterWindowInternalRefPtr; 
     600typedef ClusterWindowBase::ObjParentPtr      ClusterWindowParentPtr; 
    583601 
    584602typedef boost::mpl::if_<