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/OSGClusterWindowBase.h

    r864 r965  
    101101 
    102102    /*==========================  PUBLIC  =================================*/ 
    103  
    104103  public: 
    105104 
     
    152151 
    153152    /*---------------------------------------------------------------------*/ 
    154     /*! \name                    Class Get                                 */ 
     153    /*! \name Class Get                                                    */ 
    155154    /*! \{                                                                 */ 
    156155 
     
    161160    /*! \}                                                                 */ 
    162161    /*---------------------------------------------------------------------*/ 
    163     /*! \name                FieldContainer Get                            */ 
     162    /*! \name FieldContainer Get                                           */ 
    164163    /*! \{                                                                 */ 
    165164 
     
    171170    /*! \}                                                                 */ 
    172171    /*---------------------------------------------------------------------*/ 
    173     /*! \name                    Field Get                                 */ 
    174     /*! \{                                                                 */ 
    175  
    176  
    177 #ifdef OSG_1_GET_COMPAT 
    178                   MFString            *getMFServers         (void); 
    179 #endif 
    180                   MFString            *editMFServers        (void); 
    181             const MFString            *getMFServers         (void) const; 
    182  
    183 #ifdef OSG_1_GET_COMPAT 
    184                   SFString            *getSFConnectionType  (void); 
    185 #endif 
    186                   SFString            *editSFConnectionType (void); 
    187             const SFString            *getSFConnectionType  (void) const; 
    188  
    189 #ifdef OSG_1_GET_COMPAT 
    190                   SFString            *getSFConnectionInterface (void); 
    191 #endif 
    192                   SFString            *editSFConnectionInterface(void); 
    193             const SFString            *getSFConnectionInterface (void) const; 
    194  
    195 #ifdef OSG_1_GET_COMPAT 
    196                   SFString            *getSFConnectionDestination (void); 
    197 #endif 
    198                   SFString            *editSFConnectionDestination(void); 
    199             const SFString            *getSFConnectionDestination (void) const; 
    200  
    201 #ifdef OSG_1_GET_COMPAT 
    202                   SFString            *getSFConnectionParams (void); 
    203 #endif 
    204                   SFString            *editSFConnectionParams(void); 
    205             const SFString            *getSFConnectionParams (void) const; 
    206  
    207 #ifdef OSG_1_GET_COMPAT 
    208                   SFUInt32            *getSFServicePort     (void); 
    209 #endif 
    210                   SFUInt32            *editSFServicePort    (void); 
    211             const SFUInt32            *getSFServicePort     (void) const; 
    212  
    213 #ifdef OSG_1_GET_COMPAT 
    214                   SFString            *getSFServiceAddress  (void); 
    215 #endif 
    216                   SFString            *editSFServiceAddress (void); 
    217             const SFString            *getSFServiceAddress  (void) const; 
    218  
    219 #ifdef OSG_1_GET_COMPAT 
    220                   SFString            *getSFServiceInterface (void); 
    221 #endif 
    222                   SFString            *editSFServiceInterface(void); 
    223             const SFString            *getSFServiceInterface (void) const; 
    224             const SFWindowPtr         *getSFClientWindow    (void) const; 
    225  
    226 #ifdef OSG_1_GET_COMPAT 
    227                   SFUInt32            *getSFInterleave      (void); 
    228 #endif 
    229                   SFUInt32            *editSFInterleave     (void); 
    230             const SFUInt32            *getSFInterleave      (void) const; 
    231  
    232 #ifdef OSG_1_GET_COMPAT 
    233                   SFUInt32            *getSFFrameCount      (void); 
    234 #endif 
    235                   SFUInt32            *editSFFrameCount     (void); 
    236             const SFUInt32            *getSFFrameCount      (void) const; 
    237             const SFImageComposerPtr  *getSFComposer        (void) const; 
    238  
    239 #ifdef OSG_1_GET_COMPAT 
    240                   MFString            *getMFAutostart       (void); 
    241 #endif 
    242                   MFString            *editMFAutostart      (void); 
    243             const MFString            *getMFAutostart       (void) const; 
    244  
    245  
    246 #ifdef OSG_1_GET_COMPAT 
    247                   std::string         &getServers         (const UInt32 index); 
    248                   MFString            &getServers        (void); 
    249 #endif 
    250                   std::string         &editServers        (const UInt32 index); 
    251             const std::string         &getServers         (const UInt32 index) const; 
    252                   MFString            &editServers        (void); 
    253             const MFString            &getServers        (void) const; 
    254  
    255 #ifdef OSG_1_GET_COMPAT 
    256                   std::string         &getConnectionType  (void); 
    257 #endif 
    258                   std::string         &editConnectionType (void); 
    259             const std::string         &getConnectionType  (void) const; 
    260  
    261 #ifdef OSG_1_GET_COMPAT 
    262                   std::string         &getConnectionInterface (void); 
    263 #endif 
    264                   std::string         &editConnectionInterface(void); 
    265             const std::string         &getConnectionInterface (void) const; 
    266  
    267 #ifdef OSG_1_GET_COMPAT 
    268                   std::string         &getConnectionDestination (void); 
    269 #endif 
    270                   std::string         &editConnectionDestination(void); 
    271             const std::string         &getConnectionDestination (void) const; 
    272  
    273 #ifdef OSG_1_GET_COMPAT 
    274                   std::string         &getConnectionParams (void); 
    275 #endif 
    276                   std::string         &editConnectionParams(void); 
    277             const std::string         &getConnectionParams (void) const; 
    278  
    279 #ifdef OSG_1_GET_COMPAT 
    280                   UInt32              &getServicePort     (void); 
    281 #endif 
    282                   UInt32              &editServicePort    (void); 
    283             const UInt32              &getServicePort     (void) const; 
    284  
    285 #ifdef OSG_1_GET_COMPAT 
    286                   std::string         &getServiceAddress  (void); 
    287 #endif 
    288                   std::string         &editServiceAddress (void); 
    289             const std::string         &getServiceAddress  (void) const; 
    290  
    291 #ifdef OSG_1_GET_COMPAT 
    292                   std::string         &getServiceInterface (void); 
    293 #endif 
    294                   std::string         &editServiceInterface(void); 
    295             const std::string         &getServiceInterface (void) const; 
    296  
    297                   WindowPtrConst getClientWindow   (void) const; 
    298  
    299 #ifdef OSG_1_GET_COMPAT 
    300                   UInt32              &getInterleave      (void); 
    301 #endif 
    302                   UInt32              &editInterleave     (void); 
    303             const UInt32              &getInterleave      (void) const; 
    304  
    305 #ifdef OSG_1_GET_COMPAT 
    306                   UInt32              &getFrameCount      (void); 
    307 #endif 
    308                   UInt32              &editFrameCount     (void); 
    309             const UInt32              &getFrameCount      (void) const; 
    310  
    311                   ImageComposerPtrConst getComposer       (void) const; 
    312  
    313 #ifdef OSG_1_GET_COMPAT 
    314                   std::string         &getAutostart       (const UInt32 index); 
    315                   MFString            &getAutostart      (void); 
    316 #endif 
    317                   std::string         &editAutostart      (const UInt32 index); 
    318             const std::string         &getAutostart       (const UInt32 index) const; 
    319                   MFString            &editAutostart      (void); 
    320             const MFString            &getAutostart      (void) const; 
    321  
    322     /*! \}                                                                 */ 
    323     /*---------------------------------------------------------------------*/ 
    324     /*! \name                    Field Set                                 */ 
    325     /*! \{                                                                 */ 
    326  
    327             void setConnectionType (const std::string &value); 
    328             void setConnectionInterface(const std::string &value); 
    329             void setConnectionDestination(const std::string &value); 
    330             void setConnectionParams(const std::string &value); 
    331             void setServicePort    (const UInt32 &value); 
    332             void setServiceAddress (const std::string &value); 
    333             void setServiceInterface(const std::string &value); 
    334             void setClientWindow   (WindowPtrConstArg value); 
    335             void setInterleave     (const UInt32 &value); 
    336             void setFrameCount     (const UInt32 &value); 
    337             void setComposer       (ImageComposerPtrConstArg value); 
    338  
    339     /*! \}                                                                 */ 
    340     /*---------------------------------------------------------------------*/ 
    341     /*! \name                Ptr Field Set                                 */ 
    342     /*! \{                                                                 */ 
    343  
    344     /*! \}                                                                 */ 
    345     /*---------------------------------------------------------------------*/ 
    346     /*! \name                Ptr MField Set                                */ 
    347     /*! \{                                                                 */ 
    348  
    349  
    350     void pushToServers                     (const std::string&value   ); 
    351     void insertIntoServers                 (      UInt32     uiIndex, 
    352                                             const std::string&value   ); 
    353     void replaceInServers                  (      UInt32     uiIndex, 
    354                                             const std::string&value   ); 
    355     void replaceInServers                  (const std::string&pOldElem, 
    356                                             const std::string&pNewElem); 
    357     void removeFromServers                 (      UInt32     uiIndex ); 
    358     void removeFromServers                 (const std::string&value   ); 
    359     void clearServers                      (      void               ); 
    360  
    361  
    362  
    363     void pushToAutostart                   (const std::string&value   ); 
    364     void insertIntoAutostart               (      UInt32     uiIndex, 
    365                                             const std::string&value   ); 
    366     void replaceInAutostart                (      UInt32     uiIndex, 
    367                                             const std::string&value   ); 
    368     void replaceInAutostart                (const std::string&pOldElem, 
    369                                             const std::string&pNewElem); 
    370     void removeFromAutostart               (      UInt32     uiIndex ); 
    371     void removeFromAutostart               (const std::string&value   ); 
    372     void clearAutostart                    (      void               ); 
    373  
    374  
    375     /*! \}                                                                 */ 
    376     /*---------------------------------------------------------------------*/ 
    377     /*! \name                   Binary Access                              */ 
     172    /*! \name Field MFServers                                              */ 
     173    /*! \{                                                                 */ 
     174     
     175            MFString       *editMFServers(void); 
     176            MFString const *getMFServers (void) const; 
     177#ifdef OSG_1_GET_COMPAT 
     178            MFString       *getMFServers (void); 
     179#endif 
     180            MFString       &editServers(void); 
     181            MFString const &getServers (void) const; 
     182            std::string       &editServers(UInt32 const index); 
     183            std::string const &getServers (UInt32 const index) const; 
     184#ifdef OSG_1_GET_COMPAT 
     185            std::string       &getServers (UInt32 const index); 
     186            MFString &getServers(void); 
     187#endif 
     188    void addServers(std::string const &value); 
     189    void assignServers(MFString const &value); 
     190    void insertServers( 
     191            UInt32 const uiIndex, 
     192            std::string const &value); 
     193    void replaceServers( 
     194            UInt32 const uiIndex, 
     195            std::string const &value); 
     196    void replaceServers( 
     197            std::string const &pOldElem, 
     198            std::string const &pNewElem); 
     199    void subServers(UInt32 const uiIndex); 
     200    void subServers(std::string const &value); 
     201    void clearServers(void); 
     202     
     203    /*! \}                                                                 */ 
     204    /*---------------------------------------------------------------------*/ 
     205    /*! \name Field SFConnectionType                                       */ 
     206    /*! \{                                                                 */ 
     207     
     208            SFString       *editSFConnectionType(void); 
     209            SFString const *getSFConnectionType (void) const; 
     210#ifdef OSG_1_GET_COMPAT 
     211            SFString       *getSFConnectionType (void); 
     212#endif 
     213            std::string       &editConnectionType(void); 
     214            std::string const &getConnectionType (void) const; 
     215#ifdef OSG_1_GET_COMPAT 
     216            std::string       &getConnectionType (void); 
     217#endif 
     218            void setConnectionType(std::string const &value); 
     219     
     220    /*! \}                                                                 */ 
     221    /*---------------------------------------------------------------------*/ 
     222    /*! \name Field SFConnectionInterface                                  */ 
     223    /*! \{                                                                 */ 
     224     
     225            SFString       *editSFConnectionInterface(void); 
     226            SFString const *getSFConnectionInterface (void) const; 
     227#ifdef OSG_1_GET_COMPAT 
     228            SFString       *getSFConnectionInterface (void); 
     229#endif 
     230            std::string       &editConnectionInterface(void); 
     231            std::string const &getConnectionInterface (void) const; 
     232#ifdef OSG_1_GET_COMPAT 
     233            std::string       &getConnectionInterface (void); 
     234#endif 
     235            void setConnectionInterface(std::string const &value); 
     236     
     237    /*! \}                                                                 */ 
     238    /*---------------------------------------------------------------------*/ 
     239    /*! \name Field SFConnectionDestination                                */ 
     240    /*! \{                                                                 */ 
     241     
     242            SFString       *editSFConnectionDestination(void); 
     243            SFString const *getSFConnectionDestination (void) const; 
     244#ifdef OSG_1_GET_COMPAT 
     245            SFString       *getSFConnectionDestination (void); 
     246#endif 
     247            std::string       &editConnectionDestination(void); 
     248            std::string const &getConnectionDestination (void) const; 
     249#ifdef OSG_1_GET_COMPAT 
     250            std::string       &getConnectionDestination (void); 
     251#endif 
     252            void setConnectionDestination(std::string const &value); 
     253     
     254    /*! \}                                                                 */ 
     255    /*---------------------------------------------------------------------*/ 
     256    /*! \name Field SFConnectionParams                                     */ 
     257    /*! \{                                                                 */ 
     258     
     259            SFString       *editSFConnectionParams(void); 
     260            SFString const *getSFConnectionParams (void) const; 
     261#ifdef OSG_1_GET_COMPAT 
     262            SFString       *getSFConnectionParams (void); 
     263#endif 
     264            std::string       &editConnectionParams(void); 
     265            std::string const &getConnectionParams (void) const; 
     266#ifdef OSG_1_GET_COMPAT 
     267            std::string       &getConnectionParams (void); 
     268#endif 
     269            void setConnectionParams(std::string const &value); 
     270     
     271    /*! \}                                                                 */ 
     272    /*---------------------------------------------------------------------*/ 
     273    /*! \name Field SFServicePort                                          */ 
     274    /*! \{                                                                 */ 
     275     
     276            SFUInt32       *editSFServicePort(void); 
     277            SFUInt32 const *getSFServicePort (void) const; 
     278#ifdef OSG_1_GET_COMPAT 
     279            SFUInt32       *getSFServicePort (void); 
     280#endif 
     281            UInt32       &editServicePort(void); 
     282            UInt32 const &getServicePort (void) const; 
     283#ifdef OSG_1_GET_COMPAT 
     284            UInt32       &getServicePort (void); 
     285#endif 
     286            void setServicePort(UInt32 const &value); 
     287     
     288    /*! \}                                                                 */ 
     289    /*---------------------------------------------------------------------*/ 
     290    /*! \name Field SFServiceAddress                                       */ 
     291    /*! \{                                                                 */ 
     292     
     293            SFString       *editSFServiceAddress(void); 
     294            SFString const *getSFServiceAddress (void) const; 
     295#ifdef OSG_1_GET_COMPAT 
     296            SFString       *getSFServiceAddress (void); 
     297#endif 
     298            std::string       &editServiceAddress(void); 
     299            std::string const &getServiceAddress (void) const; 
     300#ifdef OSG_1_GET_COMPAT 
     301            std::string       &getServiceAddress (void); 
     302#endif 
     303            void setServiceAddress(std::string const &value); 
     304     
     305    /*! \}                                                                 */ 
     306    /*---------------------------------------------------------------------*/ 
     307    /*! \name Field SFServiceInterface                                     */ 
     308    /*! \{                                                                 */ 
     309     
     310            SFString       *editSFServiceInterface(void); 
     311            SFString const *getSFServiceInterface (void) const; 
     312#ifdef OSG_1_GET_COMPAT 
     313            SFString       *getSFServiceInterface (void); 
     314#endif 
     315            std::string       &editServiceInterface(void); 
     316            std::string const &getServiceInterface (void) const; 
     317#ifdef OSG_1_GET_COMPAT 
     318            std::string       &getServiceInterface (void); 
     319#endif 
     320            void setServiceInterface(std::string const &value); 
     321     
     322    /*! \}                                                                 */ 
     323    /*---------------------------------------------------------------------*/ 
     324    /*! \name Field SFClientWindow                                         */ 
     325    /*! \{                                                                 */ 
     326     
     327            SFWindowPtr const *getSFClientWindow(void) const; 
     328            WindowPtrConst getClientWindow(void) const; 
     329     
     330            void setClientWindow(WindowPtrConstArg value); 
     331     
     332    /*! \}                                                                 */ 
     333    /*---------------------------------------------------------------------*/ 
     334    /*! \name Field SFInterleave                                           */ 
     335    /*! \{                                                                 */ 
     336     
     337            SFUInt32       *editSFInterleave(void); 
     338            SFUInt32 const *getSFInterleave (void) const; 
     339#ifdef OSG_1_GET_COMPAT 
     340            SFUInt32       *getSFInterleave (void); 
     341#endif 
     342            UInt32       &editInterleave(void); 
     343            UInt32 const &getInterleave (void) const; 
     344#ifdef OSG_1_GET_COMPAT 
     345            UInt32       &getInterleave (void); 
     346#endif 
     347            void setInterleave(UInt32 const &value); 
     348     
     349    /*! \}                                                                 */ 
     350    /*---------------------------------------------------------------------*/ 
     351    /*! \name Field SFFrameCount                                           */ 
     352    /*! \{                                                                 */ 
     353     
     354            SFUInt32       *editSFFrameCount(void); 
     355            SFUInt32 const *getSFFrameCount (void) const; 
     356#ifdef OSG_1_GET_COMPAT 
     357            SFUInt32       *getSFFrameCount (void); 
     358#endif 
     359            UInt32       &editFrameCount(void); 
     360            UInt32 const &getFrameCount (void) const; 
     361#ifdef OSG_1_GET_COMPAT 
     362            UInt32       &getFrameCount (void); 
     363#endif 
     364            void setFrameCount(UInt32 const &value); 
     365     
     366    /*! \}                                                                 */ 
     367    /*---------------------------------------------------------------------*/ 
     368    /*! \name Field SFComposer                                             */ 
     369    /*! \{                                                                 */ 
     370     
     371            SFImageComposerPtr const *getSFComposer(void) const; 
     372            ImageComposerPtrConst getComposer(void) const; 
     373     
     374            void setComposer(ImageComposerPtrConstArg value); 
     375     
     376    /*! \}                                                                 */ 
     377    /*---------------------------------------------------------------------*/ 
     378    /*! \name Field MFAutostart                                            */ 
     379    /*! \{                                                                 */ 
     380     
     381            MFString       *editMFAutostart(void); 
     382            MFString const *getMFAutostart (void) const; 
     383#ifdef OSG_1_GET_COMPAT 
     384            MFString       *getMFAutostart (void); 
     385#endif 
     386            MFString       &editAutostart(void); 
     387            MFString const &getAutostart (void) const; 
     388            std::string       &editAutostart(UInt32 const index); 
     389            std::string const &getAutostart (UInt32 const index) const; 
     390#ifdef OSG_1_GET_COMPAT 
     391            std::string       &getAutostart (UInt32 const index); 
     392            MFString &getAutostart(void); 
     393#endif 
     394    void addAutostart(std::string const &value); 
     395    void assignAutostart(MFString const &value); 
     396    void insertAutostart( 
     397            UInt32 const uiIndex, 
     398            std::string const &value); 
     399    void replaceAutostart( 
     400            UInt32 const uiIndex, 
     401            std::string const &value); 
     402    void replaceAutostart( 
     403            std::string const &pOldElem, 
     404            std::string const &pNewElem); 
     405    void subAutostart(UInt32 const uiIndex); 
     406    void subAutostart(std::string const &value); 
     407    void clearAutostart(void); 
     408     
     409    /*! \}                                                                 */ 
     410     
     411    /*---------------------------------------------------------------------*/ 
     412    /*! \name Binary Access                                                */ 
    378413    /*! \{                                                                 */ 
    379414 
     
    384419                               ConstFieldMaskArg  whichField); 
    385420 
    386  
    387     /*! \}                                                                 */ 
    388     /*---------------------------------------------------------------------*/ 
    389     /*! \name                   Construction                               */ 
     421    /*! \}                                                                 */ 
     422    /*---------------------------------------------------------------------*/ 
     423    /*! \name Construction                                                 */ 
    390424    /*! \{                                                                 */ 
    391425 
     
    395429    /*! \}                                                                 */ 
    396430    /*---------------------------------------------------------------------*/ 
    397     /*! \name                       Copy                                   */ 
     431    /*! \name Copy                                                         */ 
    398432    /*! \{                                                                 */ 
    399433 
     
    402436    /*! \}                                                                 */ 
    403437    /*=========================  PROTECTED  ===============================*/ 
    404  
    405438  protected: 
    406439 
     
    411444 
    412445    /*---------------------------------------------------------------------*/ 
    413     /*! \name                      Fields                                  */ 
     446    /*! \name Fields                                                       */ 
    414447    /*! \{                                                                 */ 
    415448 
     
    430463    /*! \}                                                                 */ 
    431464    /*---------------------------------------------------------------------*/ 
    432     /*! \name                   Constructors                               */ 
     465    /*! \name Constructors                                                 */ 
    433466    /*! \{                                                                 */ 
    434467 
     
    438471    /*! \}                                                                 */ 
    439472    /*---------------------------------------------------------------------*/ 
    440     /*! \name                   Destructors                                */ 
     473    /*! \name Destructors                                                  */ 
    441474    /*! \{                                                                 */ 
    442475 
     
    445478    /*! \}                                                                 */ 
    446479    /*---------------------------------------------------------------------*/ 
    447     /*! \name                     onCreate                                */ 
     480    /*! \name onCreate                                                     */ 
    448481    /*! \{                                                                 */ 
    449482 
     
    452485    /*! \}                                                                 */ 
    453486    /*---------------------------------------------------------------------*/ 
    454     /*! \name                    Generic Field Access                      */ 
     487    /*! \name Generic Field Access                                         */ 
    455488    /*! \{                                                                 */ 
    456489 
     
    484517    /*! \}                                                                 */ 
    485518    /*---------------------------------------------------------------------*/ 
    486     /*! \name                       Sync                                   */ 
     519    /*! \name Sync                                                         */ 
    487520    /*! \{                                                                 */ 
    488521 
     
    503536    /*! \}                                                                 */ 
    504537    /*---------------------------------------------------------------------*/ 
    505     /*! \name                       Edit                                   */ 
    506     /*! \{                                                                 */ 
    507  
    508     /*! \}                                                                 */ 
    509     /*---------------------------------------------------------------------*/ 
    510     /*! \name                     Aspect Create                            */ 
     538    /*! \name Aspect Create                                                */ 
    511539    /*! \{                                                                 */ 
    512540 
     
    514542    virtual FieldContainerPtr createAspectCopy(void) const; 
    515543#endif 
    516  
    517     /*! \}                                                                 */ 
    518     /*---------------------------------------------------------------------*/ 
    519     /*! \name                       Edit                                   */ 
    520     /*! \{                                                                 */ 
    521     /*! \}                                                                 */ 
    522     /*---------------------------------------------------------------------*/ 
    523     /*! \name                       Sync                                   */ 
     544     
     545    /*! \}                                                                 */ 
     546    /*---------------------------------------------------------------------*/ 
     547    /*! \name Sync                                                         */ 
    524548    /*! \{                                                                 */ 
    525549 
     
    528552    /*! \}                                                                 */ 
    529553    /*==========================  PRIVATE  ================================*/ 
    530  
    531554  private: 
    532555 
     
    538561 
    539562/** Type specific RefPtr type for ClusterWindow. */ 
    540 typedef RefPtr<ClusterWindowPtr> ClusterWindowRefPtr; 
     563typedef RefPtr<ClusterWindow>   ClusterWindowRefPtr; 
     564typedef MTRefPtr<ClusterWindow> ClusterWindowMTRefPtr; 
     565 
     566typedef InternalRefPtr<ClusterWindow>       ClusterWindowInternalRefPtr; 
     567typedef InternalRefPtr<ClusterWindow> const ClusterWindowInternalRefPtrConst; 
     568typedef InternalRefPtr<ClusterWindow> const ClusterWindowInternalRefPtrConstArg; 
    541569 
    542570typedef boost::mpl::if_<