| 1 |
/*---------------------------------------------------------------------------*\ |
|---|
| 2 |
* OpenSG * |
|---|
| 3 |
* * |
|---|
| 4 |
* * |
|---|
| 5 |
* Copyright (C) 2000-2006 by the OpenSG Forum * |
|---|
| 6 |
* * |
|---|
| 7 |
* www.opensg.org * |
|---|
| 8 |
* * |
|---|
| 9 |
* contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * |
|---|
| 10 |
* * |
|---|
| 11 |
\*---------------------------------------------------------------------------*/ |
|---|
| 12 |
/*---------------------------------------------------------------------------*\ |
|---|
| 13 |
* License * |
|---|
| 14 |
* * |
|---|
| 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. * |
|---|
| 18 |
* * |
|---|
| 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. * |
|---|
| 23 |
* * |
|---|
| 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. * |
|---|
| 27 |
* * |
|---|
| 28 |
\*---------------------------------------------------------------------------*/ |
|---|
| 29 |
/*---------------------------------------------------------------------------*\ |
|---|
| 30 |
* Changes * |
|---|
| 31 |
* * |
|---|
| 32 |
* * |
|---|
| 33 |
* * |
|---|
| 34 |
* * |
|---|
| 35 |
* * |
|---|
| 36 |
* * |
|---|
| 37 |
\*---------------------------------------------------------------------------*/ |
|---|
| 38 |
|
|---|
| 39 |
//--------------------------------------------------------------------------- |
|---|
| 40 |
// Includes |
|---|
| 41 |
//--------------------------------------------------------------------------- |
|---|
| 42 |
|
|---|
| 43 |
#include <cstdlib> |
|---|
| 44 |
#include <cstdio> |
|---|
| 45 |
|
|---|
| 46 |
@@if !isSystemComponent |
|---|
| 47 |
@@if isInLibrary |
|---|
| 48 |
#define OSG_COMPILE@!LIBNAME!@LIB |
|---|
| 49 |
|
|---|
| 50 |
@@endif |
|---|
| 51 |
@@endif |
|---|
| 52 |
#include <@!HeaderPrefix!@OSGConfig.h> |
|---|
| 53 |
|
|---|
| 54 |
#include "OSG@!Classname!@.h" |
|---|
| 55 |
|
|---|
| 56 |
OSG_BEGIN_NAMESPACE |
|---|
| 57 |
|
|---|
| 58 |
// Documentation for this class is emitted in the |
|---|
| 59 |
// OSG@!Classname!@Base.cpp file. |
|---|
| 60 |
// To modify it, please change the .fcd file (OSG@!Classname!@.fcd) and |
|---|
| 61 |
// regenerate the base file. |
|---|
| 62 |
|
|---|
| 63 |
/***************************************************************************\ |
|---|
| 64 |
* Class variables * |
|---|
| 65 |
\***************************************************************************/ |
|---|
| 66 |
|
|---|
| 67 |
/***************************************************************************\ |
|---|
| 68 |
* Class methods * |
|---|
| 69 |
\***************************************************************************/ |
|---|
| 70 |
|
|---|
| 71 |
void @!Classname!@::initMethod(InitPhase ePhase) |
|---|
| 72 |
{ |
|---|
| 73 |
Inherited::initMethod(ePhase); |
|---|
| 74 |
|
|---|
| 75 |
if(ePhase == TypeObject::SystemPost) |
|---|
| 76 |
{ |
|---|
| 77 |
} |
|---|
| 78 |
} |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
/***************************************************************************\ |
|---|
| 82 |
* Instance methods * |
|---|
| 83 |
\***************************************************************************/ |
|---|
| 84 |
|
|---|
| 85 |
/*-------------------------------------------------------------------------*\ |
|---|
| 86 |
- private - |
|---|
| 87 |
\*-------------------------------------------------------------------------*/ |
|---|
| 88 |
|
|---|
| 89 |
/*----------------------- constructors & destructors ----------------------*/ |
|---|
| 90 |
|
|---|
| 91 |
@!Classname!@::@!Classname!@(void) : |
|---|
| 92 |
Inherited() |
|---|
| 93 |
{ |
|---|
| 94 |
} |
|---|
| 95 |
|
|---|
| 96 |
@!Classname!@::@!Classname!@(const @!Classname!@ &source) : |
|---|
| 97 |
Inherited(source) |
|---|
| 98 |
{ |
|---|
| 99 |
} |
|---|
| 100 |
|
|---|
| 101 |
@!Classname!@::~@!Classname!@(void) |
|---|
| 102 |
{ |
|---|
| 103 |
} |
|---|
| 104 |
|
|---|
| 105 |
/*----------------------------- class specific ----------------------------*/ |
|---|
| 106 |
|
|---|
| 107 |
void @!Classname!@::changed(ConstFieldMaskArg whichField, |
|---|
| 108 |
UInt32 origin, |
|---|
| 109 |
BitVector details ) |
|---|
| 110 |
{ |
|---|
| 111 |
Inherited::changed(whichField, origin, details); |
|---|
| 112 |
} |
|---|
| 113 |
|
|---|
| 114 |
void @!Classname!@::dump( UInt32 , |
|---|
| 115 |
const BitVector ) const |
|---|
| 116 |
{ |
|---|
| 117 |
SLOG << "Dump @!Classname!@ NI" << std::endl; |
|---|
| 118 |
} |
|---|
| 119 |
|
|---|
| 120 |
OSG_END_NAMESPACE |
|---|