- Timestamp:
- 04/22/08 04:54:20 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/FieldContainer/Misc/OSGContainerCollectionBase.h
r1178 r1184 46 46 ** ** 47 47 ** Do not change this file, changes should be done in the derived ** 48 ** class Container Pool48 ** class ContainerCollection 49 49 ** ** 50 50 ***************************************************************************** … … 52 52 53 53 54 #ifndef _OSGCONTAINER POOLBASE_H_55 #define _OSGCONTAINER POOLBASE_H_54 #ifndef _OSGCONTAINERCOLLECTIONBASE_H_ 55 #define _OSGCONTAINERCOLLECTIONBASE_H_ 56 56 #ifdef __sgi 57 57 #pragma once … … 64 64 #include "OSGBaseTypes.h" 65 65 66 #include "OSG FieldContainerAttachment.h" // Parent66 #include "OSGAttachment.h" // Parent 67 67 68 68 #include "OSGStringFields.h" // Name type 69 69 #include "OSGFieldContainerFields.h" // Containers type 70 70 71 #include "OSGContainer PoolFields.h"71 #include "OSGContainerCollectionFields.h" 72 72 73 73 OSG_BEGIN_NAMESPACE 74 74 75 class Container Pool;76 77 //! \brief Container PoolBase Class.78 79 class OSG_SYSTEM_DLLMAPPING Container PoolBase : public FieldContainerAttachment75 class ContainerCollection; 76 77 //! \brief ContainerCollection Base Class. 78 79 class OSG_SYSTEM_DLLMAPPING ContainerCollectionBase : public Attachment 80 80 { 81 81 public: 82 82 83 typedef FieldContainerAttachment Inherited;84 typedef FieldContainerAttachment ParentContainer;83 typedef Attachment Inherited; 84 typedef Attachment ParentContainer; 85 85 86 86 typedef Inherited::TypeObject TypeObject; 87 87 typedef TypeObject::InitPhase InitPhase; 88 88 89 OSG_GEN_INTERNALPTR(Container Pool);89 OSG_GEN_INTERNALPTR(ContainerCollection); 90 90 91 91 /*========================== PUBLIC =================================*/ … … 195 195 /*! \{ */ 196 196 197 static Container PoolTransitPtr create (void);198 static Container PoolPtr createEmpty (void);199 200 static Container PoolTransitPtr createLocal (197 static ContainerCollectionTransitPtr create (void); 198 static ContainerCollectionPtr createEmpty (void); 199 200 static ContainerCollectionTransitPtr createLocal ( 201 201 BitVector bFlags = FCLocal::All); 202 202 203 static Container PoolPtr createEmptyLocal(203 static ContainerCollectionPtr createEmptyLocal( 204 204 BitVector bFlags = FCLocal::All); 205 205 … … 235 235 /*! \{ */ 236 236 237 Container PoolBase(void);238 Container PoolBase(const ContainerPoolBase &source);237 ContainerCollectionBase(void); 238 ContainerCollectionBase(const ContainerCollectionBase &source); 239 239 240 240 /*! \} */ … … 243 243 /*! \{ */ 244 244 245 virtual ~Container PoolBase(void);245 virtual ~ContainerCollectionBase(void); 246 246 247 247 /*! \} */ … … 250 250 /*! \{ */ 251 251 252 void onCreate(const Container Pool*source = NULL);252 void onCreate(const ContainerCollection *source = NULL); 253 253 254 254 /*! \} */ … … 274 274 const UInt32 uiSyncInfo); 275 275 276 void execSync ( Container PoolBase *pFrom,276 void execSync ( ContainerCollectionBase *pFrom, 277 277 ConstFieldMaskArg whichField, 278 278 AspectOffsetStore &oOffsets, … … 313 313 314 314 // prohibit default functions (move to 'public' if you need one) 315 void operator =(const Container PoolBase &source);315 void operator =(const ContainerCollectionBase &source); 316 316 }; 317 317 318 typedef Container PoolBase *ContainerPoolBaseP;318 typedef ContainerCollectionBase *ContainerCollectionBaseP; 319 319 320 320 OSG_END_NAMESPACE 321 321 322 #endif /* _OSGCONTAINER POOLBASE_H_ */322 #endif /* _OSGCONTAINERCOLLECTIONBASE_H_ */
