1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 #ifndef _OSGSIMPLESHLCHUNKFILE_H_
40 #define _OSGSIMPLESHLCHUNKFILE_H_
42 #include "OSGSimpleSHLChunkFileBase.h"
43 #include "OSGFileContextHandlerMixin.h"
48 /*! \brief SimpleSHLChunkFile class. See \ref
49 PageContribCSMSimpleSHLChunkFile for a description.
52 class OSG_CONTRIBCSM_DLLMAPPING SimpleSHLChunkFile
:
53 public FileContextHandlerMixin
<SimpleSHLChunkFileBase
, SimpleSHLChunkFile
>
57 /*========================== PUBLIC =================================*/
61 typedef FileContextHandlerMixin
<SimpleSHLChunkFileBase
,
62 SimpleSHLChunkFile
> Inherited
;
63 typedef SimpleSHLChunkFile Self
;
65 /*---------------------------------------------------------------------*/
69 virtual void changed(ConstFieldMaskArg whichField
,
74 /*---------------------------------------------------------------------*/
78 virtual void dump( UInt32 uiIndent
= 0,
79 const BitVector bvFlags
= 0) const;
82 /*========================= PROTECTED ===============================*/
86 // Variables should all be in SimpleSHLChunkFileBase.
88 /*---------------------------------------------------------------------*/
89 /*! \name Constructors */
92 SimpleSHLChunkFile(void);
93 SimpleSHLChunkFile(const SimpleSHLChunkFile
&source
);
96 /*---------------------------------------------------------------------*/
97 /*! \name Destructors */
100 virtual ~SimpleSHLChunkFile(void);
103 /*---------------------------------------------------------------------*/
107 void postOSGLoading(FileContextAttachment
* const pContext
);
110 /*---------------------------------------------------------------------*/
114 static void initMethod(InitPhase ePhase
);
117 /*========================== PRIVATE ================================*/
121 friend class FieldContainer
;
122 friend class SimpleSHLChunkFileBase
;
123 friend class FileContextHandlerMixin
<SimpleSHLChunkFileBase
,
124 SimpleSHLChunkFile
>;
125 friend struct OSGSceneFileType::PostLoadingDispatcher
<SimpleSHLChunkFile
>;
127 // prohibit default functions (move to 'public' if you need one)
128 void operator =(const SimpleSHLChunkFile
&source
);
131 typedef SimpleSHLChunkFile
*SimpleSHLChunkFileP
;
135 #include "OSGSimpleSHLChunkFileBase.inl"
136 #include "OSGSimpleSHLChunkFile.inl"
138 #endif /* _OSGSIMPLESHLCHUNKFILE_H_ */