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/Base/OSGImageComposerBase.h

    r864 r965  
    9090 
    9191    /*==========================  PUBLIC  =================================*/ 
    92  
    9392  public: 
    9493 
     
    108107 
    109108    /*---------------------------------------------------------------------*/ 
    110     /*! \name                    Class Get                                 */ 
     109    /*! \name Class Get                                                    */ 
    111110    /*! \{                                                                 */ 
    112111 
     
    117116    /*! \}                                                                 */ 
    118117    /*---------------------------------------------------------------------*/ 
    119     /*! \name                FieldContainer Get                            */ 
     118    /*! \name FieldContainer Get                                           */ 
    120119    /*! \{                                                                 */ 
    121120 
     
    127126    /*! \}                                                                 */ 
    128127    /*---------------------------------------------------------------------*/ 
    129     /*! \name                    Field Get                                 */ 
    130     /*! \{                                                                 */ 
    131  
    132  
    133 #ifdef OSG_1_GET_COMPAT 
    134                   SFBool              *getSFEnabled         (void); 
    135 #endif 
    136                   SFBool              *editSFEnabled        (void); 
    137             const SFBool              *getSFEnabled         (void) const; 
    138  
    139 #ifdef OSG_1_GET_COMPAT 
    140                   SFBool              *getSFStatistics      (void); 
    141 #endif 
    142                   SFBool              *editSFStatistics     (void); 
    143             const SFBool              *getSFStatistics      (void) const; 
    144  
    145  
    146 #ifdef OSG_1_GET_COMPAT 
    147                   bool                &getEnabled         (void); 
    148 #endif 
    149                   bool                &editEnabled        (void); 
    150             const bool                &getEnabled         (void) const; 
    151  
    152 #ifdef OSG_1_GET_COMPAT 
    153                   bool                &getStatistics      (void); 
    154 #endif 
    155                   bool                &editStatistics     (void); 
    156             const bool                &getStatistics      (void) const; 
    157  
    158     /*! \}                                                                 */ 
    159     /*---------------------------------------------------------------------*/ 
    160     /*! \name                    Field Set                                 */ 
    161     /*! \{                                                                 */ 
    162  
    163             void setEnabled        (const bool &value); 
    164             void setStatistics     (const bool &value); 
    165  
    166     /*! \}                                                                 */ 
    167     /*---------------------------------------------------------------------*/ 
    168     /*! \name                Ptr MField Set                                */ 
    169     /*! \{                                                                 */ 
    170  
    171     /*! \}                                                                 */ 
    172     /*---------------------------------------------------------------------*/ 
    173     /*! \name                   Binary Access                              */ 
     128    /*! \name Field SFEnabled                                              */ 
     129    /*! \{                                                                 */ 
     130     
     131            SFBool       *editSFEnabled(void); 
     132            SFBool const *getSFEnabled (void) const; 
     133#ifdef OSG_1_GET_COMPAT 
     134            SFBool       *getSFEnabled (void); 
     135#endif 
     136            bool       &editEnabled(void); 
     137            bool const &getEnabled (void) const; 
     138#ifdef OSG_1_GET_COMPAT 
     139            bool       &getEnabled (void); 
     140#endif 
     141            void setEnabled(bool const &value); 
     142     
     143    /*! \}                                                                 */ 
     144    /*---------------------------------------------------------------------*/ 
     145    /*! \name Field SFStatistics                                           */ 
     146    /*! \{                                                                 */ 
     147     
     148            SFBool       *editSFStatistics(void); 
     149            SFBool const *getSFStatistics (void) const; 
     150#ifdef OSG_1_GET_COMPAT 
     151            SFBool       *getSFStatistics (void); 
     152#endif 
     153            bool       &editStatistics(void); 
     154            bool const &getStatistics (void) const; 
     155#ifdef OSG_1_GET_COMPAT 
     156            bool       &getStatistics (void); 
     157#endif 
     158            void setStatistics(bool const &value); 
     159     
     160    /*! \}                                                                 */ 
     161     
     162    /*---------------------------------------------------------------------*/ 
     163    /*! \name Binary Access                                                */ 
    174164    /*! \{                                                                 */ 
    175165 
     
    180170                               ConstFieldMaskArg  whichField); 
    181171 
    182  
    183172    /*! \}                                                                 */ 
    184173    /*=========================  PROTECTED  ===============================*/ 
    185  
    186174  protected: 
    187175 
     
    192180 
    193181    /*---------------------------------------------------------------------*/ 
    194     /*! \name                      Fields                                  */ 
     182    /*! \name Fields                                                       */ 
    195183    /*! \{                                                                 */ 
    196184 
     
    200188    /*! \}                                                                 */ 
    201189    /*---------------------------------------------------------------------*/ 
    202     /*! \name                   Constructors                               */ 
     190    /*! \name Constructors                                                 */ 
    203191    /*! \{                                                                 */ 
    204192 
     
    208196    /*! \}                                                                 */ 
    209197    /*---------------------------------------------------------------------*/ 
    210     /*! \name                   Destructors                                */ 
     198    /*! \name Destructors                                                  */ 
    211199    /*! \{                                                                 */ 
    212200 
     
    215203    /*! \}                                                                 */ 
    216204    /*---------------------------------------------------------------------*/ 
    217     /*! \name                     onCreate                                */ 
    218     /*! \{                                                                 */ 
    219  
    220  
    221     /*! \}                                                                 */ 
    222     /*---------------------------------------------------------------------*/ 
    223     /*! \name                    Generic Field Access                      */ 
     205    /*! \name onCreate                                                     */ 
     206    /*! \{                                                                 */ 
     207 
     208 
     209    /*! \}                                                                 */ 
     210    /*---------------------------------------------------------------------*/ 
     211    /*! \name Generic Field Access                                         */ 
    224212    /*! \{                                                                 */ 
    225213 
     
    231219    /*! \}                                                                 */ 
    232220    /*---------------------------------------------------------------------*/ 
    233     /*! \name                       Sync                                   */ 
     221    /*! \name Sync                                                         */ 
    234222    /*! \{                                                                 */ 
    235223 
     
    250238    /*! \}                                                                 */ 
    251239    /*---------------------------------------------------------------------*/ 
    252     /*! \name                       Edit                                   */ 
    253     /*! \{                                                                 */ 
    254  
    255     /*! \}                                                                 */ 
    256     /*---------------------------------------------------------------------*/ 
    257     /*! \name                     Aspect Create                            */ 
    258     /*! \{                                                                 */ 
    259  
    260     /*! \}                                                                 */ 
    261     /*---------------------------------------------------------------------*/ 
    262     /*! \name                       Edit                                   */ 
    263     /*! \{                                                                 */ 
    264     /*! \}                                                                 */ 
    265     /*---------------------------------------------------------------------*/ 
    266     /*! \name                       Sync                                   */ 
     240    /*! \name Aspect Create                                                */ 
     241    /*! \{                                                                 */ 
     242     
     243    /*! \}                                                                 */ 
     244    /*---------------------------------------------------------------------*/ 
     245    /*! \name Sync                                                         */ 
    267246    /*! \{                                                                 */ 
    268247 
     
    271250    /*! \}                                                                 */ 
    272251    /*==========================  PRIVATE  ================================*/ 
    273  
    274252  private: 
    275253 
     
    281259 
    282260/** Type specific RefPtr type for ImageComposer. */ 
    283 typedef RefPtr<ImageComposerPtr> ImageComposerRefPtr; 
     261typedef RefPtr<ImageComposer>   ImageComposerRefPtr; 
     262typedef MTRefPtr<ImageComposer> ImageComposerMTRefPtr; 
     263 
     264typedef InternalRefPtr<ImageComposer>       ImageComposerInternalRefPtr; 
     265typedef InternalRefPtr<ImageComposer> const ImageComposerInternalRefPtrConst; 
     266typedef InternalRefPtr<ImageComposer> const ImageComposerInternalRefPtrConstArg; 
    284267 
    285268typedef boost::mpl::if_<