Show
Ignore:
Timestamp:
04/22/08 04:54:20 (8 months ago)
Author:
vossg
Message:

renamed: FieldContainerAttachment? → Attachment

ContainerPool?ContainerAttachment?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/FieldContainer/Misc/OSGContainerCollectionBase.h

    r1178 r1184  
    4646 **                                                                         ** 
    4747 **     Do not change this file, changes should be done in the derived      ** 
    48  **     class ContainerPool 
     48 **     class ContainerCollection 
    4949 **                                                                         ** 
    5050 ***************************************************************************** 
     
    5252 
    5353 
    54 #ifndef _OSGCONTAINERPOOLBASE_H_ 
    55 #define _OSGCONTAINERPOOLBASE_H_ 
     54#ifndef _OSGCONTAINERCOLLECTIONBASE_H_ 
     55#define _OSGCONTAINERCOLLECTIONBASE_H_ 
    5656#ifdef __sgi 
    5757#pragma once 
     
    6464#include "OSGBaseTypes.h" 
    6565 
    66 #include "OSGFieldContainerAttachment.h" // Parent 
     66#include "OSGAttachment.h" // Parent 
    6767 
    6868#include "OSGStringFields.h" // Name type 
    6969#include "OSGFieldContainerFields.h" // Containers type 
    7070 
    71 #include "OSGContainerPoolFields.h" 
     71#include "OSGContainerCollectionFields.h" 
    7272 
    7373OSG_BEGIN_NAMESPACE 
    7474 
    75 class ContainerPool
    76  
    77 //! \brief ContainerPool Base Class. 
    78  
    79 class OSG_SYSTEM_DLLMAPPING ContainerPoolBase : public FieldContainerAttachment 
     75class ContainerCollection
     76 
     77//! \brief ContainerCollection Base Class. 
     78 
     79class OSG_SYSTEM_DLLMAPPING ContainerCollectionBase : public Attachment 
    8080{ 
    8181  public: 
    8282 
    83     typedef FieldContainerAttachment Inherited; 
    84     typedef FieldContainerAttachment ParentContainer; 
     83    typedef Attachment Inherited; 
     84    typedef Attachment ParentContainer; 
    8585 
    8686    typedef Inherited::TypeObject TypeObject; 
    8787    typedef TypeObject::InitPhase InitPhase; 
    8888 
    89     OSG_GEN_INTERNALPTR(ContainerPool); 
     89    OSG_GEN_INTERNALPTR(ContainerCollection); 
    9090 
    9191    /*==========================  PUBLIC  =================================*/ 
     
    195195    /*! \{                                                                 */ 
    196196 
    197     static  ContainerPoolTransitPtr create          (void); 
    198     static  ContainerPoolPtr        createEmpty     (void); 
    199  
    200     static  ContainerPoolTransitPtr createLocal     ( 
     197    static  ContainerCollectionTransitPtr create          (void); 
     198    static  ContainerCollectionPtr        createEmpty     (void); 
     199 
     200    static  ContainerCollectionTransitPtr createLocal     ( 
    201201                                              BitVector bFlags = FCLocal::All); 
    202202 
    203     static  ContainerPoolPtr        createEmptyLocal( 
     203    static  ContainerCollectionPtr        createEmptyLocal( 
    204204                                              BitVector bFlags = FCLocal::All); 
    205205 
     
    235235    /*! \{                                                                 */ 
    236236 
    237     ContainerPoolBase(void); 
    238     ContainerPoolBase(const ContainerPoolBase &source); 
     237    ContainerCollectionBase(void); 
     238    ContainerCollectionBase(const ContainerCollectionBase &source); 
    239239 
    240240    /*! \}                                                                 */ 
     
    243243    /*! \{                                                                 */ 
    244244 
    245     virtual ~ContainerPoolBase(void); 
     245    virtual ~ContainerCollectionBase(void); 
    246246 
    247247    /*! \}                                                                 */ 
     
    250250    /*! \{                                                                 */ 
    251251 
    252     void onCreate(const ContainerPool *source = NULL); 
     252    void onCreate(const ContainerCollection *source = NULL); 
    253253 
    254254    /*! \}                                                                 */ 
     
    274274                           const UInt32             uiSyncInfo); 
    275275 
    276             void execSync (      ContainerPoolBase *pFrom, 
     276            void execSync (      ContainerCollectionBase *pFrom, 
    277277                                 ConstFieldMaskArg  whichField, 
    278278                                 AspectOffsetStore &oOffsets, 
     
    313313 
    314314    // prohibit default functions (move to 'public' if you need one) 
    315     void operator =(const ContainerPoolBase &source); 
     315    void operator =(const ContainerCollectionBase &source); 
    316316}; 
    317317 
    318 typedef ContainerPoolBase *ContainerPoolBaseP; 
     318typedef ContainerCollectionBase *ContainerCollectionBaseP; 
    319319 
    320320OSG_END_NAMESPACE 
    321321 
    322 #endif /* _OSGCONTAINERPOOLBASE_H_ */ 
     322#endif /* _OSGCONTAINERCOLLECTIONBASE_H_ */