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

OSGWindowBase.inl

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *               Copyright (C) 2000-2002 by the OpenSG Forum                 *
00006  *                                                                           *
00007  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
00008  *                                                                           *
00009 \*---------------------------------------------------------------------------*/
00010 /*---------------------------------------------------------------------------*\
00011  *                                License                                    *
00012  *                                                                           *
00013  * This library is free software; you can redistribute it and/or modify it   *
00014  * under the terms of the GNU Library General Public License as published    *
00015  * by the Free Software Foundation, version 2.                               *
00016  *                                                                           *
00017  * This library is distributed in the hope that it will be useful, but       *
00018  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00020  * Library General Public License for more details.                          *
00021  *                                                                           *
00022  * You should have received a copy of the GNU Library General Public         *
00023  * License along with this library; if not, write to the Free Software       *
00024  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00025  *                                                                           *
00026 \*---------------------------------------------------------------------------*/
00027 /*---------------------------------------------------------------------------*\
00028  *                                Changes                                    *
00029  *                                                                           *
00030  *                                                                           *
00031  *                                                                           *
00032  *                                                                           *
00033  *                                                                           *
00034  *                                                                           *
00035 \*---------------------------------------------------------------------------*/
00036 
00037 /*****************************************************************************\
00038  *****************************************************************************
00039  **                                                                         **
00040  **                  This file is automatically generated.                  **
00041  **                                                                         **
00042  **          Any changes made to this file WILL be lost when it is          **
00043  **           regenerated, which can become necessary at any time.          **
00044  **                                                                         **
00045  **     Do not change this file, changes should be done in the derived      **
00046  **     class Window!
00047  **                                                                         **
00048  *****************************************************************************
00049 \*****************************************************************************/
00050 
00051 #include <OSGConfig.h>
00052 
00053 OSG_BEGIN_NAMESPACE
00054 
00055 
00057 inline
00058 OSG::FieldContainerType &WindowBase::getClassType(void)
00059 {
00060     return _type; 
00061 } 
00062 
00064 inline
00065 OSG::UInt32 WindowBase::getClassTypeId(void) 
00066 {
00067     return _type.getId(); 
00068 } 
00069 
00070 
00071 /*------------------------------ get -----------------------------------*/
00072 
00074 inline
00075 SFUInt16 *WindowBase::getSFWidth(void)
00076 {
00077     return &_sfWidth;
00078 }
00079 
00081 inline
00082 SFUInt16 *WindowBase::getSFHeight(void)
00083 {
00084     return &_sfHeight;
00085 }
00086 
00088 inline
00089 MFViewportPtr *WindowBase::getMFPort(void)
00090 {
00091     return &_mfPort;
00092 }
00093 
00095 inline
00096 SFBool *WindowBase::getSFResizePending(void)
00097 {
00098     return &_sfResizePending;
00099 }
00100 
00102 inline
00103 SFUInt32 *WindowBase::getSFGlObjectEventCounter(void)
00104 {
00105     return &_sfGlObjectEventCounter;
00106 }
00107 
00109 inline
00110 MFUInt32 *WindowBase::getMFGlObjectLastRefresh(void)
00111 {
00112     return &_mfGlObjectLastRefresh;
00113 }
00114 
00116 inline
00117 MFUInt32 *WindowBase::getMFGlObjectLastReinitialize(void)
00118 {
00119     return &_mfGlObjectLastReinitialize;
00120 }
00121 
00122 
00124 inline
00125 UInt16 &WindowBase::getWidth(void)
00126 {
00127     return _sfWidth.getValue();
00128 }
00129 
00131 inline
00132 const UInt16 &WindowBase::getWidth(void) const
00133 {
00134     return _sfWidth.getValue();
00135 }
00136 
00138 inline
00139 void WindowBase::setWidth(const UInt16 &value)
00140 {
00141     _sfWidth.setValue(value);
00142 }
00143 
00145 inline
00146 UInt16 &WindowBase::getHeight(void)
00147 {
00148     return _sfHeight.getValue();
00149 }
00150 
00152 inline
00153 const UInt16 &WindowBase::getHeight(void) const
00154 {
00155     return _sfHeight.getValue();
00156 }
00157 
00159 inline
00160 void WindowBase::setHeight(const UInt16 &value)
00161 {
00162     _sfHeight.setValue(value);
00163 }
00164 
00166 inline
00167 bool &WindowBase::getResizePending(void)
00168 {
00169     return _sfResizePending.getValue();
00170 }
00171 
00173 inline
00174 const bool &WindowBase::getResizePending(void) const
00175 {
00176     return _sfResizePending.getValue();
00177 }
00178 
00180 inline
00181 void WindowBase::setResizePending(const bool &value)
00182 {
00183     _sfResizePending.setValue(value);
00184 }
00185 
00187 inline
00188 UInt32 &WindowBase::getGlObjectEventCounter(void)
00189 {
00190     return _sfGlObjectEventCounter.getValue();
00191 }
00192 
00194 inline
00195 const UInt32 &WindowBase::getGlObjectEventCounter(void) const
00196 {
00197     return _sfGlObjectEventCounter.getValue();
00198 }
00199 
00201 inline
00202 void WindowBase::setGlObjectEventCounter(const UInt32 &value)
00203 {
00204     _sfGlObjectEventCounter.setValue(value);
00205 }
00206 
00207 
00209 inline
00210 ViewportPtr &WindowBase::getPort(const UInt32 index)
00211 {
00212     return _mfPort[index];
00213 }
00214 
00216 inline
00217 MFViewportPtr &WindowBase::getPort(void)
00218 {
00219     return _mfPort;
00220 }
00221 
00223 inline
00224 const MFViewportPtr &WindowBase::getPort(void) const
00225 {
00226     return _mfPort;
00227 }
00228 
00230 inline
00231 UInt32 &WindowBase::getGlObjectLastRefresh(const UInt32 index)
00232 {
00233     return _mfGlObjectLastRefresh[index];
00234 }
00235 
00237 inline
00238 MFUInt32 &WindowBase::getGlObjectLastRefresh(void)
00239 {
00240     return _mfGlObjectLastRefresh;
00241 }
00242 
00244 inline
00245 const MFUInt32 &WindowBase::getGlObjectLastRefresh(void) const
00246 {
00247     return _mfGlObjectLastRefresh;
00248 }
00249 
00251 inline
00252 UInt32 &WindowBase::getGlObjectLastReinitialize(const UInt32 index)
00253 {
00254     return _mfGlObjectLastReinitialize[index];
00255 }
00256 
00258 inline
00259 MFUInt32 &WindowBase::getGlObjectLastReinitialize(void)
00260 {
00261     return _mfGlObjectLastReinitialize;
00262 }
00263 
00265 inline
00266 const MFUInt32 &WindowBase::getGlObjectLastReinitialize(void) const
00267 {
00268     return _mfGlObjectLastReinitialize;
00269 }
00270 
00271 OSG_END_NAMESPACE
00272 
00273 #define OSGWINDOWBASE_INLINE_CVSID "@(#)$Id: $"
00274 

Generated on Thu Aug 25 04:12:16 2005 for OpenSG by  doxygen 1.4.3