Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGDVRAppearanceBase.cpp

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *               Copyright (C) 2000-2002 by the OpenSG Forum                 *
00006  *                                                                           *
00007  *                            www.opensg.org                                 *
00008  *                                                                           *
00009  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
00010  *                                                                           *
00011 \*---------------------------------------------------------------------------*/
00012 /*---------------------------------------------------------------------------*\
00013  *                                License                                    *
00014  *                                                                           *
00015  * This library is free software; you can redistribute it and/or modify it   *
00016  * under the terms of the GNU Library General Public License as published    *
00017  * by the Free Software Foundation, version 2.                               *
00018  *                                                                           *
00019  * This library is distributed in the hope that it will be useful, but       *
00020  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00022  * Library General Public License for more details.                          *
00023  *                                                                           *
00024  * You should have received a copy of the GNU Library General Public         *
00025  * License along with this library; if not, write to the Free Software       *
00026  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00027  *                                                                           *
00028 \*---------------------------------------------------------------------------*/
00029 /*---------------------------------------------------------------------------*\
00030  *                                Changes                                    *
00031  *                                                                           *
00032  *                                                                           *
00033  *                                                                           *
00034  *                                                                           *
00035  *                                                                           *
00036  *                                                                           *
00037 \*---------------------------------------------------------------------------*/
00038 
00039 /*****************************************************************************\
00040  *****************************************************************************
00041  **                                                                         **
00042  **                  This file is automatically generated.                  **
00043  **                                                                         **
00044  **          Any changes made to this file WILL be lost when it is          **
00045  **           regenerated, which can become necessary at any time.          **
00046  **                                                                         **
00047  **     Do not change this file, changes should be done in the derived      **
00048  **     class DVRAppearance!
00049  **                                                                         **
00050  *****************************************************************************
00051 \*****************************************************************************/
00052 
00053 
00054 #define OSG_COMPILEDVRAPPEARANCEINST
00055 
00056 #include <stdlib.h>
00057 #include <stdio.h>
00058 
00059 #include <OSGConfig.h>
00060 
00061 #include "OSGDVRAppearanceBase.h"
00062 #include "OSGDVRAppearance.h"
00063 
00064 
00065 OSG_USING_NAMESPACE
00066 
00067 const OSG::BitVector DVRAppearanceBase::MTInfluenceMask = 
00068     (Inherited::MTInfluenceMask) | 
00069     (static_cast<BitVector>(0x0) << Inherited::NextFieldId); 
00070 
00071 
00072 
00073 FieldContainerType DVRAppearanceBase::_type(
00074     "DVRAppearance",
00075     "ChunkMaterial",
00076     NULL,
00077     (PrototypeCreateF) &DVRAppearanceBase::createEmpty,
00078     DVRAppearance::initMethod,
00079     NULL,
00080     0);
00081 
00082 //OSG_FIELD_CONTAINER_DEF(DVRAppearanceBase, DVRAppearancePtr)
00083 
00084 /*------------------------------ get -----------------------------------*/
00085 
00086 FieldContainerType &DVRAppearanceBase::getType(void) 
00087 {
00088     return _type; 
00089 } 
00090 
00091 const FieldContainerType &DVRAppearanceBase::getType(void) const 
00092 {
00093     return _type;
00094 } 
00095 
00096 
00097 FieldContainerPtr DVRAppearanceBase::shallowCopy(void) const 
00098 { 
00099     DVRAppearancePtr returnValue; 
00100 
00101     newPtr(returnValue, dynamic_cast<const DVRAppearance *>(this)); 
00102 
00103     return returnValue; 
00104 }
00105 
00106 UInt32 DVRAppearanceBase::getContainerSize(void) const 
00107 { 
00108     return sizeof(DVRAppearance); 
00109 }
00110 
00111 
00112 #if !defined(OSG_FIXED_MFIELDSYNC)
00113 void DVRAppearanceBase::executeSync(      FieldContainer &other,
00114                                     const BitVector      &whichField)
00115 {
00116     this->executeSyncImpl((DVRAppearanceBase *) &other, whichField);
00117 }
00118 #else
00119 void DVRAppearanceBase::executeSync(      FieldContainer &other,
00120                                     const BitVector      &whichField,                                    const SyncInfo       &sInfo     )
00121 {
00122     this->executeSyncImpl((DVRAppearanceBase *) &other, whichField, sInfo);
00123 }
00124 void DVRAppearanceBase::execBeginEdit(const BitVector &whichField, 
00125                                             UInt32     uiAspect,
00126                                             UInt32     uiContainerSize) 
00127 {
00128     this->execBeginEditImpl(whichField, uiAspect, uiContainerSize);
00129 }
00130 
00131 void DVRAppearanceBase::onDestroyAspect(UInt32 uiId, UInt32 uiAspect)
00132 {
00133     Inherited::onDestroyAspect(uiId, uiAspect);
00134 
00135 }
00136 #endif
00137 
00138 /*------------------------- constructors ----------------------------------*/
00139 
00140 #ifdef OSG_WIN32_ICL
00141 #pragma warning (disable : 383)
00142 #endif
00143 
00144 DVRAppearanceBase::DVRAppearanceBase(void) :
00145     Inherited() 
00146 {
00147 }
00148 
00149 #ifdef OSG_WIN32_ICL
00150 #pragma warning (default : 383)
00151 #endif
00152 
00153 DVRAppearanceBase::DVRAppearanceBase(const DVRAppearanceBase &source) :
00154     Inherited                 (source)
00155 {
00156 }
00157 
00158 /*-------------------------- destructors ----------------------------------*/
00159 
00160 DVRAppearanceBase::~DVRAppearanceBase(void)
00161 {
00162 }
00163 
00164 /*------------------------------ access -----------------------------------*/
00165 
00166 UInt32 DVRAppearanceBase::getBinSize(const BitVector &whichField)
00167 {
00168     UInt32 returnValue = Inherited::getBinSize(whichField);
00169 
00170 
00171     return returnValue;
00172 }
00173 
00174 void DVRAppearanceBase::copyToBin(      BinaryDataHandler &pMem,
00175                                   const BitVector         &whichField)
00176 {
00177     Inherited::copyToBin(pMem, whichField);
00178 
00179 
00180 }
00181 
00182 void DVRAppearanceBase::copyFromBin(      BinaryDataHandler &pMem,
00183                                     const BitVector    &whichField)
00184 {
00185     Inherited::copyFromBin(pMem, whichField);
00186 
00187 
00188 }
00189 
00190 #if !defined(OSG_FIXED_MFIELDSYNC)
00191 void DVRAppearanceBase::executeSyncImpl(      DVRAppearanceBase *pOther,
00192                                         const BitVector         &whichField)
00193 {
00194 
00195     Inherited::executeSyncImpl(pOther, whichField);
00196 
00197 
00198 }
00199 #else
00200 void DVRAppearanceBase::executeSyncImpl(      DVRAppearanceBase *pOther,
00201                                         const BitVector         &whichField,
00202                                         const SyncInfo          &sInfo      )
00203 {
00204 
00205     Inherited::executeSyncImpl(pOther, whichField, sInfo);
00206 
00207 
00208 
00209 }
00210 
00211 void DVRAppearanceBase::execBeginEditImpl (const BitVector &whichField, 
00212                                                  UInt32     uiAspect,
00213                                                  UInt32     uiContainerSize)
00214 {
00215     Inherited::execBeginEditImpl(whichField, uiAspect, uiContainerSize);
00216 
00217 }
00218 #endif
00219 
00220 
00221 
00222 #include <OSGSFieldTypeDef.inl>
00223 
00224 OSG_BEGIN_NAMESPACE
00225 
00226 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV)
00227 DataType FieldDataTraits<DVRAppearancePtr>::_type("DVRAppearancePtr", "ChunkMaterialPtr");
00228 #endif
00229 
00230 OSG_DLLEXPORT_SFIELD_DEF1(DVRAppearancePtr, OSG_SYSTEMLIB_DLLTMPLMAPPING);
00231 
00232 OSG_END_NAMESPACE
00233 
00234 
00235 /*------------------------------------------------------------------------*/
00236 /*                              cvs id's                                  */
00237 
00238 #ifdef OSG_SGI_CC
00239 #pragma set woff 1174
00240 #endif
00241 
00242 #ifdef OSG_LINUX_ICC
00243 #pragma warning( disable : 177 )
00244 #endif
00245 
00246 namespace
00247 {
00248     static Char8 cvsid_cpp       [] = "@(#)$Id: FCBaseTemplate_cpp.h,v 1.42 2004/08/03 05:53:03 dirk Exp $";
00249     static Char8 cvsid_hpp       [] = OSGDVRAPPEARANCEBASE_HEADER_CVSID;
00250     static Char8 cvsid_inl       [] = OSGDVRAPPEARANCEBASE_INLINE_CVSID;
00251 
00252     static Char8 cvsid_fields_hpp[] = OSGDVRAPPEARANCEFIELDS_HEADER_CVSID;
00253 }
00254 

Generated on Thu Aug 25 04:03:15 2005 for OpenSG by  doxygen 1.4.3