Show
Ignore:
Timestamp:
10/04/07 19:11:34 (1 year ago)
Author:
cneumann
Message:

Work in progress commit.

NOTE: it does NOT compile at this point.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/System/Cluster/Window/MultiDisplay/OSGMultiDisplayWindowBase.h

    r864 r965  
    9393 
    9494    /*==========================  PUBLIC  =================================*/ 
    95  
    9695  public: 
    9796 
     
    120119 
    121120    /*---------------------------------------------------------------------*/ 
    122     /*! \name                    Class Get                                 */ 
     121    /*! \name Class Get                                                    */ 
    123122    /*! \{                                                                 */ 
    124123 
     
    129128    /*! \}                                                                 */ 
    130129    /*---------------------------------------------------------------------*/ 
    131     /*! \name                FieldContainer Get                            */ 
     130    /*! \name FieldContainer Get                                           */ 
    132131    /*! \{                                                                 */ 
    133132 
     
    139138    /*! \}                                                                 */ 
    140139    /*---------------------------------------------------------------------*/ 
    141     /*! \name                    Field Get                                 */ 
    142     /*! \{                                                                 */ 
    143  
    144  
    145 #ifdef OSG_1_GET_COMPAT 
    146                   SFUInt32            *getSFHServers        (void); 
    147 #endif 
    148                   SFUInt32            *editSFHServers       (void); 
    149             const SFUInt32            *getSFHServers        (void) const; 
    150  
    151 #ifdef OSG_1_GET_COMPAT 
    152                   SFUInt32            *getSFVServers        (void); 
    153 #endif 
    154                   SFUInt32            *editSFVServers       (void); 
    155             const SFUInt32            *getSFVServers        (void) const; 
    156  
    157 #ifdef OSG_1_GET_COMPAT 
    158                   SFBool              *getSFManageClientViewports (void); 
    159 #endif 
    160                   SFBool              *editSFManageClientViewports(void); 
    161             const SFBool              *getSFManageClientViewports (void) const; 
    162  
    163 #ifdef OSG_1_GET_COMPAT 
    164                   SFInt32             *getSFXOverlap        (void); 
    165 #endif 
    166                   SFInt32             *editSFXOverlap       (void); 
    167             const SFInt32             *getSFXOverlap        (void) const; 
    168  
    169 #ifdef OSG_1_GET_COMPAT 
    170                   SFInt32             *getSFYOverlap        (void); 
    171 #endif 
    172                   SFInt32             *editSFYOverlap       (void); 
    173             const SFInt32             *getSFYOverlap        (void) const; 
    174  
    175  
    176 #ifdef OSG_1_GET_COMPAT 
    177                   UInt32              &getHServers        (void); 
    178 #endif 
    179                   UInt32              &editHServers       (void); 
    180             const UInt32              &getHServers        (void) const; 
    181  
    182 #ifdef OSG_1_GET_COMPAT 
    183                   UInt32              &getVServers        (void); 
    184 #endif 
    185                   UInt32              &editVServers       (void); 
    186             const UInt32              &getVServers        (void) const; 
    187  
    188 #ifdef OSG_1_GET_COMPAT 
    189                   bool                &getManageClientViewports (void); 
    190 #endif 
    191                   bool                &editManageClientViewports(void); 
    192             const bool                &getManageClientViewports (void) const; 
    193  
    194 #ifdef OSG_1_GET_COMPAT 
    195                   Int32               &getXOverlap        (void); 
    196 #endif 
    197                   Int32               &editXOverlap       (void); 
    198             const Int32               &getXOverlap        (void) const; 
    199  
    200 #ifdef OSG_1_GET_COMPAT 
    201                   Int32               &getYOverlap        (void); 
    202 #endif 
    203                   Int32               &editYOverlap       (void); 
    204             const Int32               &getYOverlap        (void) const; 
    205  
    206     /*! \}                                                                 */ 
    207     /*---------------------------------------------------------------------*/ 
    208     /*! \name                    Field Set                                 */ 
    209     /*! \{                                                                 */ 
    210  
    211             void setHServers       (const UInt32 &value); 
    212             void setVServers       (const UInt32 &value); 
    213             void setManageClientViewports(const bool &value); 
    214             void setXOverlap       (const Int32 &value); 
    215             void setYOverlap       (const Int32 &value); 
    216  
    217     /*! \}                                                                 */ 
    218     /*---------------------------------------------------------------------*/ 
    219     /*! \name                Ptr MField Set                                */ 
    220     /*! \{                                                                 */ 
    221  
    222     /*! \}                                                                 */ 
    223     /*---------------------------------------------------------------------*/ 
    224     /*! \name                   Binary Access                              */ 
     140    /*! \name Field SFHServers                                             */ 
     141    /*! \{                                                                 */ 
     142     
     143            SFUInt32       *editSFHServers(void); 
     144            SFUInt32 const *getSFHServers (void) const; 
     145#ifdef OSG_1_GET_COMPAT 
     146            SFUInt32       *getSFHServers (void); 
     147#endif 
     148            UInt32       &editHServers(void); 
     149            UInt32 const &getHServers (void) const; 
     150#ifdef OSG_1_GET_COMPAT 
     151            UInt32       &getHServers (void); 
     152#endif 
     153            void setHServers(UInt32 const &value); 
     154     
     155    /*! \}                                                                 */ 
     156    /*---------------------------------------------------------------------*/ 
     157    /*! \name Field SFVServers                                             */ 
     158    /*! \{                                                                 */ 
     159     
     160            SFUInt32       *editSFVServers(void); 
     161            SFUInt32 const *getSFVServers (void) const; 
     162#ifdef OSG_1_GET_COMPAT 
     163            SFUInt32       *getSFVServers (void); 
     164#endif 
     165            UInt32       &editVServers(void); 
     166            UInt32 const &getVServers (void) const; 
     167#ifdef OSG_1_GET_COMPAT 
     168            UInt32       &getVServers (void); 
     169#endif 
     170            void setVServers(UInt32 const &value); 
     171     
     172    /*! \}                                                                 */ 
     173    /*---------------------------------------------------------------------*/ 
     174    /*! \name Field SFManageClientViewports                                */ 
     175    /*! \{                                                                 */ 
     176     
     177            SFBool       *editSFManageClientViewports(void); 
     178            SFBool const *getSFManageClientViewports (void) const; 
     179#ifdef OSG_1_GET_COMPAT 
     180            SFBool       *getSFManageClientViewports (void); 
     181#endif 
     182            bool       &editManageClientViewports(void); 
     183            bool const &getManageClientViewports (void) const; 
     184#ifdef OSG_1_GET_COMPAT 
     185            bool       &getManageClientViewports (void); 
     186#endif 
     187            void setManageClientViewports(bool const &value); 
     188     
     189    /*! \}                                                                 */ 
     190    /*---------------------------------------------------------------------*/ 
     191    /*! \name Field SFXOverlap                                             */ 
     192    /*! \{                                                                 */ 
     193     
     194            SFInt32       *editSFXOverlap(void); 
     195            SFInt32 const *getSFXOverlap (void) const; 
     196#ifdef OSG_1_GET_COMPAT 
     197            SFInt32       *getSFXOverlap (void); 
     198#endif 
     199            Int32       &editXOverlap(void); 
     200            Int32 const &getXOverlap (void) const; 
     201#ifdef OSG_1_GET_COMPAT 
     202            Int32       &getXOverlap (void); 
     203#endif 
     204            void setXOverlap(Int32 const &value); 
     205     
     206    /*! \}                                                                 */ 
     207    /*---------------------------------------------------------------------*/ 
     208    /*! \name Field SFYOverlap                                             */ 
     209    /*! \{                                                                 */ 
     210     
     211            SFInt32       *editSFYOverlap(void); 
     212            SFInt32 const *getSFYOverlap (void) const; 
     213#ifdef OSG_1_GET_COMPAT 
     214            SFInt32       *getSFYOverlap (void); 
     215#endif 
     216            Int32       &editYOverlap(void); 
     217            Int32 const &getYOverlap (void) const; 
     218#ifdef OSG_1_GET_COMPAT 
     219            Int32       &getYOverlap (void); 
     220#endif 
     221            void setYOverlap(Int32 const &value); 
     222     
     223    /*! \}                                                                 */ 
     224     
     225    /*---------------------------------------------------------------------*/ 
     226    /*! \name Binary Access                                                */ 
    225227    /*! \{                                                                 */ 
    226228 
     
    231233                               ConstFieldMaskArg  whichField); 
    232234 
    233  
    234     /*! \}                                                                 */ 
    235     /*---------------------------------------------------------------------*/ 
    236     /*! \name                   Construction                               */ 
     235    /*! \}                                                                 */ 
     236    /*---------------------------------------------------------------------*/ 
     237    /*! \name Construction                                                 */ 
    237238    /*! \{                                                                 */ 
    238239 
     
    242243    /*! \}                                                                 */ 
    243244    /*---------------------------------------------------------------------*/ 
    244     /*! \name                       Copy                                   */ 
     245    /*! \name Copy                                                         */ 
    245246    /*! \{                                                                 */ 
    246247 
     
    249250    /*! \}                                                                 */ 
    250251    /*=========================  PROTECTED  ===============================*/ 
    251  
    252252  protected: 
    253253 
     
    258258 
    259259    /*---------------------------------------------------------------------*/ 
    260     /*! \name                      Fields                                  */ 
     260    /*! \name Fields                                                       */ 
    261261    /*! \{                                                                 */ 
    262262 
     
    269269    /*! \}                                                                 */ 
    270270    /*---------------------------------------------------------------------*/ 
    271     /*! \name                   Constructors                               */ 
     271    /*! \name Constructors                                                 */ 
    272272    /*! \{                                                                 */ 
    273273 
     
    277277    /*! \}                                                                 */ 
    278278    /*---------------------------------------------------------------------*/ 
    279     /*! \name                   Destructors                                */ 
     279    /*! \name Destructors                                                  */ 
    280280    /*! \{                                                                 */ 
    281281 
     
    284284    /*! \}                                                                 */ 
    285285    /*---------------------------------------------------------------------*/ 
    286     /*! \name                     onCreate                                */ 
    287     /*! \{                                                                 */ 
    288  
    289  
    290     /*! \}                                                                 */ 
    291     /*---------------------------------------------------------------------*/ 
    292     /*! \name                    Generic Field Access                      */ 
     286    /*! \name onCreate                                                     */ 
     287    /*! \{                                                                 */ 
     288 
     289 
     290    /*! \}                                                                 */ 
     291    /*---------------------------------------------------------------------*/ 
     292    /*! \name Generic Field Access                                         */ 
    293293    /*! \{                                                                 */ 
    294294 
     
    306306    /*! \}                                                                 */ 
    307307    /*---------------------------------------------------------------------*/ 
    308     /*! \name                       Sync                                   */ 
     308    /*! \name Sync                                                         */ 
    309309    /*! \{                                                                 */ 
    310310 
     
    325325    /*! \}                                                                 */ 
    326326    /*---------------------------------------------------------------------*/ 
    327     /*! \name                       Edit                                   */ 
    328     /*! \{                                                                 */ 
    329  
    330     /*! \}                                                                 */ 
    331     /*---------------------------------------------------------------------*/ 
    332     /*! \name                     Aspect Create                            */ 
     327    /*! \name Aspect Create                                                */ 
    333328    /*! \{                                                                 */ 
    334329 
     
    336331    virtual FieldContainerPtr createAspectCopy(void) const; 
    337332#endif 
    338  
    339     /*! \}                                                                 */ 
    340     /*---------------------------------------------------------------------*/ 
    341     /*! \name                       Edit                                   */ 
    342     /*! \{                                                                 */ 
    343     /*! \}                                                                 */ 
    344     /*---------------------------------------------------------------------*/ 
    345     /*! \name                       Sync                                   */ 
     333     
     334    /*! \}                                                                 */ 
     335    /*---------------------------------------------------------------------*/ 
     336    /*! \name Sync                                                         */ 
    346337    /*! \{                                                                 */ 
    347338 
     
    350341    /*! \}                                                                 */ 
    351342    /*==========================  PRIVATE  ================================*/ 
    352  
    353343  private: 
    354344 
     
    360350 
    361351/** Type specific RefPtr type for MultiDisplayWindow. */ 
    362 typedef RefPtr<MultiDisplayWindowPtr> MultiDisplayWindowRefPtr; 
     352typedef RefPtr<MultiDisplayWindow>   MultiDisplayWindowRefPtr; 
     353typedef MTRefPtr<MultiDisplayWindow> MultiDisplayWindowMTRefPtr; 
     354 
     355typedef InternalRefPtr<MultiDisplayWindow>       MultiDisplayWindowInternalRefPtr; 
     356typedef InternalRefPtr<MultiDisplayWindow> const MultiDisplayWindowInternalRefPtrConst; 
     357typedef InternalRefPtr<MultiDisplayWindow> const MultiDisplayWindowInternalRefPtrConstArg; 
    363358 
    364359typedef boost::mpl::if_<