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/BalancedMultiWindow/OSGBalancedMultiWindowBase.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                   SFBool              *getSFBalance         (void); 
    147 #endif 
    148                   SFBool              *editSFBalance        (void); 
    149             const SFBool              *getSFBalance         (void) const; 
    150  
    151 #ifdef OSG_1_GET_COMPAT 
    152                   SFBool              *getSFBestCut         (void); 
    153 #endif 
    154                   SFBool              *editSFBestCut        (void); 
    155             const SFBool              *getSFBestCut         (void) const; 
    156  
    157 #ifdef OSG_1_GET_COMPAT 
    158                   SFBool              *getSFShowBalancing   (void); 
    159 #endif 
    160                   SFBool              *editSFShowBalancing  (void); 
    161             const SFBool              *getSFShowBalancing   (void) const; 
    162  
    163 #ifdef OSG_1_GET_COMPAT 
    164                   SFUInt32            *getSFTileSize        (void); 
    165 #endif 
    166                   SFUInt32            *editSFTileSize       (void); 
    167             const SFUInt32            *getSFTileSize        (void) const; 
    168  
    169 #ifdef OSG_1_GET_COMPAT 
    170                   SFBool              *getSFShort           (void); 
    171 #endif 
    172                   SFBool              *editSFShort          (void); 
    173             const SFBool              *getSFShort           (void) const; 
    174  
    175  
    176 #ifdef OSG_1_GET_COMPAT 
    177                   bool                &getBalance         (void); 
    178 #endif 
    179                   bool                &editBalance        (void); 
    180             const bool                &getBalance         (void) const; 
    181  
    182 #ifdef OSG_1_GET_COMPAT 
    183                   bool                &getBestCut         (void); 
    184 #endif 
    185                   bool                &editBestCut        (void); 
    186             const bool                &getBestCut         (void) const; 
    187  
    188 #ifdef OSG_1_GET_COMPAT 
    189                   bool                &getShowBalancing   (void); 
    190 #endif 
    191                   bool                &editShowBalancing  (void); 
    192             const bool                &getShowBalancing   (void) const; 
    193  
    194 #ifdef OSG_1_GET_COMPAT 
    195                   UInt32              &getTileSize        (void); 
    196 #endif 
    197                   UInt32              &editTileSize       (void); 
    198             const UInt32              &getTileSize        (void) const; 
    199  
    200 #ifdef OSG_1_GET_COMPAT 
    201                   bool                &getShort           (void); 
    202 #endif 
    203                   bool                &editShort          (void); 
    204             const bool                &getShort           (void) const; 
    205  
    206     /*! \}                                                                 */ 
    207     /*---------------------------------------------------------------------*/ 
    208     /*! \name                    Field Set                                 */ 
    209     /*! \{                                                                 */ 
    210  
    211             void setBalance        (const bool &value); 
    212             void setBestCut        (const bool &value); 
    213             void setShowBalancing  (const bool &value); 
    214             void setTileSize       (const UInt32 &value); 
    215             void setShort          (const bool &value); 
    216  
    217     /*! \}                                                                 */ 
    218     /*---------------------------------------------------------------------*/ 
    219     /*! \name                Ptr MField Set                                */ 
    220     /*! \{                                                                 */ 
    221  
    222     /*! \}                                                                 */ 
    223     /*---------------------------------------------------------------------*/ 
    224     /*! \name                   Binary Access                              */ 
     140    /*! \name Field SFBalance                                              */ 
     141    /*! \{                                                                 */ 
     142     
     143            SFBool       *editSFBalance(void); 
     144            SFBool const *getSFBalance (void) const; 
     145#ifdef OSG_1_GET_COMPAT 
     146            SFBool       *getSFBalance (void); 
     147#endif 
     148            bool       &editBalance(void); 
     149            bool const &getBalance (void) const; 
     150#ifdef OSG_1_GET_COMPAT 
     151            bool       &getBalance (void); 
     152#endif 
     153            void setBalance(bool const &value); 
     154     
     155    /*! \}                                                                 */ 
     156    /*---------------------------------------------------------------------*/ 
     157    /*! \name Field SFBestCut                                              */ 
     158    /*! \{                                                                 */ 
     159     
     160            SFBool       *editSFBestCut(void); 
     161            SFBool const *getSFBestCut (void) const; 
     162#ifdef OSG_1_GET_COMPAT 
     163            SFBool       *getSFBestCut (void); 
     164#endif 
     165            bool       &editBestCut(void); 
     166            bool const &getBestCut (void) const; 
     167#ifdef OSG_1_GET_COMPAT 
     168            bool       &getBestCut (void); 
     169#endif 
     170            void setBestCut(bool const &value); 
     171     
     172    /*! \}                                                                 */ 
     173    /*---------------------------------------------------------------------*/ 
     174    /*! \name Field SFShowBalancing                                        */ 
     175    /*! \{                                                                 */ 
     176     
     177            SFBool       *editSFShowBalancing(void); 
     178            SFBool const *getSFShowBalancing (void) const; 
     179#ifdef OSG_1_GET_COMPAT 
     180            SFBool       *getSFShowBalancing (void); 
     181#endif 
     182            bool       &editShowBalancing(void); 
     183            bool const &getShowBalancing (void) const; 
     184#ifdef OSG_1_GET_COMPAT 
     185            bool       &getShowBalancing (void); 
     186#endif 
     187            void setShowBalancing(bool const &value); 
     188     
     189    /*! \}                                                                 */ 
     190    /*---------------------------------------------------------------------*/ 
     191    /*! \name Field SFTileSize                                             */ 
     192    /*! \{                                                                 */ 
     193     
     194            SFUInt32       *editSFTileSize(void); 
     195            SFUInt32 const *getSFTileSize (void) const; 
     196#ifdef OSG_1_GET_COMPAT 
     197            SFUInt32       *getSFTileSize (void); 
     198#endif 
     199            UInt32       &editTileSize(void); 
     200            UInt32 const &getTileSize (void) const; 
     201#ifdef OSG_1_GET_COMPAT 
     202            UInt32       &getTileSize (void); 
     203#endif 
     204            void setTileSize(UInt32 const &value); 
     205     
     206    /*! \}                                                                 */ 
     207    /*---------------------------------------------------------------------*/ 
     208    /*! \name Field SFShort                                                */ 
     209    /*! \{                                                                 */ 
     210     
     211            SFBool       *editSFShort(void); 
     212            SFBool const *getSFShort (void) const; 
     213#ifdef OSG_1_GET_COMPAT 
     214            SFBool       *getSFShort (void); 
     215#endif 
     216            bool       &editShort(void); 
     217            bool const &getShort (void) const; 
     218#ifdef OSG_1_GET_COMPAT 
     219            bool       &getShort (void); 
     220#endif 
     221            void setShort(bool 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 BalancedMultiWindow. */ 
    362 typedef RefPtr<BalancedMultiWindowPtr> BalancedMultiWindowRefPtr; 
     352typedef RefPtr<BalancedMultiWindow>   BalancedMultiWindowRefPtr; 
     353typedef MTRefPtr<BalancedMultiWindow> BalancedMultiWindowMTRefPtr; 
     354 
     355typedef InternalRefPtr<BalancedMultiWindow>       BalancedMultiWindowInternalRefPtr; 
     356typedef InternalRefPtr<BalancedMultiWindow> const BalancedMultiWindowInternalRefPtrConst; 
     357typedef InternalRefPtr<BalancedMultiWindow> const BalancedMultiWindowInternalRefPtrConstArg; 
    363358 
    364359typedef boost::mpl::if_<