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

osg::WindowBase Class Reference

Window Base Class.

#include <OSGWindowBase.h>

Inheritance diagram for osg::WindowBase:

osg::AttachmentContainer osg::FieldContainer osg::Window osg::ClusterWindowBase osg::GLUTWindowBase osg::PassiveWindowBase osg::WIN32WindowBase osg::XWindowBase osg::ClusterWindow osg::PassiveWindow osg::XWindow osg::MultiDisplayWindowBase osg::SortFirstWindowBase osg::QTWindowBase osg::MultiDisplayWindow osg::SortFirstWindow osg::QTWindow List of all members.

Sync

*void executeSyncImpl (WindowBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)

Public Types

typedef WindowPtr Ptr
enum  {
  WidthFieldId = Inherited::NextFieldId, HeightFieldId = WidthFieldId + 1, PortFieldId = HeightFieldId + 1, ResizePendingFieldId = PortFieldId + 1,
  GlObjectEventCounterFieldId = ResizePendingFieldId + 1, GlObjectLastRefreshFieldId = GlObjectEventCounterFieldId + 1, GlObjectLastReinitializeFieldId = GlObjectLastRefreshFieldId + 1, NextFieldId = GlObjectLastReinitializeFieldId + 1
}

Public Member Functions

FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Binary Access
*virtual UInt32 getBinSize (const BitVector &whichField)
virtual void copyToBin (BinaryDataHandler &pMem, const BitVector &whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField)
Changed
*virtual void changed (BitVector whichField, UInt32 origin)
Dump
*virtual void dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const
Clone
*virtual FieldContainerPtr shallowCopy (void) const =0

Static Public Member Functions

Class Get
*static FieldContainerTypegetClassType (void)
 access the type of the class
static UInt32 getClassTypeId (void)
 access the numerical type of the class

Static Public Attributes

static const osg::BitVector WidthFieldMask
static const osg::BitVector HeightFieldMask
static const osg::BitVector PortFieldMask
static const osg::BitVector ResizePendingFieldMask
static const osg::BitVector GlObjectEventCounterFieldMask
static const osg::BitVector GlObjectLastRefreshFieldMask
static const osg::BitVector GlObjectLastReinitializeFieldMask
static const osg::BitVector MTInfluenceMask
static const BitVector AttachmentsFieldMask
static const BitVector NextFieldMask

Protected Member Functions

Constructors
WindowBase (void)
 WindowBase (const WindowBase &source)
Destructors
*virtual ~WindowBase (void)

Private Types

typedef AttachmentContainer Inherited

Private Member Functions

void operator= (const WindowBase &source)

Static Private Attributes

static FieldDescription_desc []
 Window description.
static FieldContainerType _type

Friends

class FieldContainer

Detailed Description

Definition at line 87 of file OSGWindowBase.h.


Member Typedef Documentation

typedef AttachmentContainer osg::WindowBase::Inherited [private]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindow, osg::ClusterWindowBase, osg::MultiDisplayWindow, osg::MultiDisplayWindowBase, osg::SortFirstWindow, osg::SortFirstWindowBase, osg::PassiveWindow, osg::PassiveWindowBase, osg::Window, osg::XWindow, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, osg::QTWindow, and osg::QTWindowBase.

Definition at line 91 of file OSGWindowBase.h.

typedef WindowPtr osg::WindowBase::Ptr
 

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, and osg::GLUTWindowBase.

Definition at line 96 of file OSGWindowBase.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
WidthFieldId 
HeightFieldId 
PortFieldId 
ResizePendingFieldId 
GlObjectEventCounterFieldId 
GlObjectLastRefreshFieldId 
GlObjectLastReinitializeFieldId 
NextFieldId 

Reimplemented from osg::AttachmentContainer.

Definition at line 98 of file OSGWindowBase.h.

00099     {
00100         WidthFieldId                    = Inherited::NextFieldId,
00101         HeightFieldId                   = WidthFieldId                    + 1,
00102         PortFieldId                     = HeightFieldId                   + 1,
00103         ResizePendingFieldId            = PortFieldId                     + 1,
00104         GlObjectEventCounterFieldId     = ResizePendingFieldId            + 1,
00105         GlObjectLastRefreshFieldId      = GlObjectEventCounterFieldId     + 1,
00106         GlObjectLastReinitializeFieldId = GlObjectLastRefreshFieldId      + 1,
00107         NextFieldId                     = GlObjectLastReinitializeFieldId + 1
00108     };


Constructor & Destructor Documentation

WindowBase::WindowBase void   )  [protected]
 

Definition at line 224 of file OSGWindowBase.cpp.

00224                            :
00225     _sfWidth                  (), 
00226     _sfHeight                 (), 
00227     _mfPort                   (), 
00228     _sfResizePending          (), 
00229     _sfGlObjectEventCounter   (UInt32(1)), 
00230     _mfGlObjectLastRefresh    (), 
00231     _mfGlObjectLastReinitialize(), 
00232     Inherited() 
00233 {
00234 }

WindowBase::WindowBase const WindowBase source  )  [protected]
 

Definition at line 240 of file OSGWindowBase.cpp.

00240                                                :
00241     _sfWidth                  (source._sfWidth                  ), 
00242     _sfHeight                 (source._sfHeight                 ), 
00243     _mfPort                   (source._mfPort                   ), 
00244     _sfResizePending          (source._sfResizePending          ), 
00245     _sfGlObjectEventCounter   (source._sfGlObjectEventCounter   ), 
00246     _mfGlObjectLastRefresh    (source._mfGlObjectLastRefresh    ), 
00247     _mfGlObjectLastReinitialize(source._mfGlObjectLastReinitialize), 
00248     Inherited                 (source)
00249 {
00250 }

WindowBase::~WindowBase void   )  [protected, virtual]
 

Definition at line 254 of file OSGWindowBase.cpp.

00255 {
00256 }


Member Function Documentation

osg::FieldContainerType & osg::WindowBase::getClassType void   )  [inline, static]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 58 of file OSGWindowBase.inl.

References _type.

Referenced by osg::RemoteAspect::RemoteAspect().

00059 {
00060     return _type; 
00061 } 

osg::UInt32 osg::WindowBase::getClassTypeId void   )  [inline, static]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 65 of file OSGWindowBase.inl.

References _type, and osg::TypeBase::getId().

00066 {
00067     return _type.getId(); 
00068 } 

FieldContainerType & WindowBase::getType void   )  [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 172 of file OSGWindowBase.cpp.

References _type.

00173 {
00174     return _type; 
00175 } 

const FieldContainerType & WindowBase::getType void   )  const [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 177 of file OSGWindowBase.cpp.

References _type.

00178 {
00179     return _type;
00180 } 

UInt32 WindowBase::getContainerSize void   )  const [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 183 of file OSGWindowBase.cpp.

00184 { 
00185     return sizeof(Window); 
00186 }

SFUInt16 * osg::WindowBase::getSFWidth void   )  [inline]
 

Definition at line 75 of file OSGWindowBase.inl.

References _sfWidth.

00076 {
00077     return &_sfWidth;
00078 }

SFUInt16 * osg::WindowBase::getSFHeight void   )  [inline]
 

Definition at line 82 of file OSGWindowBase.inl.

References _sfHeight.

00083 {
00084     return &_sfHeight;
00085 }

MFViewportPtr * osg::WindowBase::getMFPort void   )  [inline]
 

Definition at line 89 of file OSGWindowBase.inl.

References _mfPort.

00090 {
00091     return &_mfPort;
00092 }

SFBool * osg::WindowBase::getSFResizePending void   )  [inline]
 

Definition at line 96 of file OSGWindowBase.inl.

References _sfResizePending.

00097 {
00098     return &_sfResizePending;
00099 }

UInt16 & osg::WindowBase::getWidth void   )  [inline]
 

Definition at line 125 of file OSGWindowBase.inl.

References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

Referenced by osg::SortFirstWindow::clientPreSync(), osg::SortFirstWindow::clientSwap(), osg::Window::resizeGL(), and osg::MultiDisplayWindow::serverRender().

00126 {
00127     return _sfWidth.getValue();
00128 }

const UInt16 & osg::WindowBase::getWidth void   )  const [inline]
 

Definition at line 132 of file OSGWindowBase.inl.

References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00133 {
00134     return _sfWidth.getValue();
00135 }

UInt16 & osg::WindowBase::getHeight void   )  [inline]
 

Definition at line 146 of file OSGWindowBase.inl.

References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

Referenced by osg::SortFirstWindow::clientPreSync(), osg::SortFirstWindow::clientSwap(), osg::Window::resizeGL(), and osg::MultiDisplayWindow::serverRender().

00147 {
00148     return _sfHeight.getValue();
00149 }

const UInt16 & osg::WindowBase::getHeight void   )  const [inline]
 

Definition at line 153 of file OSGWindowBase.inl.

References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00154 {
00155     return _sfHeight.getValue();
00156 }

bool & osg::WindowBase::getResizePending void   )  [inline]
 

Definition at line 167 of file OSGWindowBase.inl.

References _sfResizePending, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00168 {
00169     return _sfResizePending.getValue();
00170 }

const bool & osg::WindowBase::getResizePending void   )  const [inline]
 

Definition at line 174 of file OSGWindowBase.inl.

References _sfResizePending, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00175 {
00176     return _sfResizePending.getValue();
00177 }

ViewportPtr & osg::WindowBase::getPort const UInt32  index  )  [inline]
 

Definition at line 210 of file OSGWindowBase.inl.

References _mfPort.

00211 {
00212     return _mfPort[index];
00213 }

MFViewportPtr & osg::WindowBase::getPort void   )  [inline]
 

Definition at line 217 of file OSGWindowBase.inl.

References _mfPort.

Referenced by osg::MultiDisplayWindow::clientInit(), osg::SortFirstWindow::clientPreSync(), osg::SortFirstWindow::clientSwap(), osg::SortFirstWindow::serverRender(), and osg::MultiDisplayWindow::serverRender().

00218 {
00219     return _mfPort;
00220 }

const MFViewportPtr & osg::WindowBase::getPort void   )  const [inline]
 

Definition at line 224 of file OSGWindowBase.inl.

References _mfPort.

00225 {
00226     return _mfPort;
00227 }

void osg::WindowBase::setWidth const UInt16 value  )  [inline]
 

Definition at line 139 of file OSGWindowBase.inl.

References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

Referenced by osg::Window::operator=(), osg::Window::resize(), osg::MultiDisplayWindow::serverRender(), and osg::Window::setSize().

00140 {
00141     _sfWidth.setValue(value);
00142 }

void osg::WindowBase::setHeight const UInt16 value  )  [inline]
 

Definition at line 160 of file OSGWindowBase.inl.

References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

Referenced by osg::Window::operator=(), osg::Window::resize(), osg::MultiDisplayWindow::serverRender(), and osg::Window::setSize().

00161 {
00162     _sfHeight.setValue(value);
00163 }

void osg::WindowBase::setResizePending const bool &  value  )  [inline]
 

Definition at line 181 of file OSGWindowBase.inl.

References _sfResizePending, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

Referenced by osg::Window::resize(), and osg::Window::resizeGL().

00182 {
00183     _sfResizePending.setValue(value);
00184 }

UInt32 WindowBase::getBinSize const BitVector whichField  )  [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 260 of file OSGWindowBase.cpp.

References _mfGlObjectLastRefresh, _mfGlObjectLastReinitialize, _mfPort, _sfGlObjectEventCounter, _sfHeight, _sfResizePending, _sfWidth, osg::MField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::AttachmentContainer::getBinSize(), GlObjectEventCounterFieldMask, GlObjectLastRefreshFieldMask, GlObjectLastReinitializeFieldMask, HeightFieldMask, osg::FieldBits::NoField, PortFieldMask, ResizePendingFieldMask, and WidthFieldMask.

Referenced by osg::XWindowBase::getBinSize(), osg::WIN32WindowBase::getBinSize(), osg::PassiveWindowBase::getBinSize(), osg::GLUTWindowBase::getBinSize(), and osg::ClusterWindowBase::getBinSize().

00261 {
00262     UInt32 returnValue = Inherited::getBinSize(whichField);
00263 
00264     if(FieldBits::NoField != (WidthFieldMask & whichField))
00265     {
00266         returnValue += _sfWidth.getBinSize();
00267     }
00268 
00269     if(FieldBits::NoField != (HeightFieldMask & whichField))
00270     {
00271         returnValue += _sfHeight.getBinSize();
00272     }
00273 
00274     if(FieldBits::NoField != (PortFieldMask & whichField))
00275     {
00276         returnValue += _mfPort.getBinSize();
00277     }
00278 
00279     if(FieldBits::NoField != (ResizePendingFieldMask & whichField))
00280     {
00281         returnValue += _sfResizePending.getBinSize();
00282     }
00283 
00284     if(FieldBits::NoField != (GlObjectEventCounterFieldMask & whichField))
00285     {
00286         returnValue += _sfGlObjectEventCounter.getBinSize();
00287     }
00288 
00289     if(FieldBits::NoField != (GlObjectLastRefreshFieldMask & whichField))
00290     {
00291         returnValue += _mfGlObjectLastRefresh.getBinSize();
00292     }
00293 
00294     if(FieldBits::NoField != (GlObjectLastReinitializeFieldMask & whichField))
00295     {
00296         returnValue += _mfGlObjectLastReinitialize.getBinSize();
00297     }
00298 
00299 
00300     return returnValue;
00301 }

void WindowBase::copyToBin BinaryDataHandler pMem,
const BitVector whichField
[virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 303 of file OSGWindowBase.cpp.

References _mfGlObjectLastRefresh, _mfGlObjectLastReinitialize, _mfPort, _sfGlObjectEventCounter, _sfHeight, _sfResizePending, _sfWidth, osg::MField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::AttachmentContainer::copyToBin(), GlObjectEventCounterFieldMask, GlObjectLastRefreshFieldMask, GlObjectLastReinitializeFieldMask, HeightFieldMask, osg::FieldBits::NoField, PortFieldMask, ResizePendingFieldMask, and WidthFieldMask.

Referenced by osg::XWindowBase::copyToBin(), osg::WIN32WindowBase::copyToBin(), osg::PassiveWindowBase::copyToBin(), osg::GLUTWindowBase::copyToBin(), and osg::ClusterWindowBase::copyToBin().

00305 {
00306     Inherited::copyToBin(pMem, whichField);
00307 
00308     if(FieldBits::NoField != (WidthFieldMask & whichField))
00309     {
00310         _sfWidth.copyToBin(pMem);
00311     }
00312 
00313     if(FieldBits::NoField != (HeightFieldMask & whichField))
00314     {
00315         _sfHeight.copyToBin(pMem);
00316     }
00317 
00318     if(FieldBits::NoField != (PortFieldMask & whichField))
00319     {
00320         _mfPort.copyToBin(pMem);
00321     }
00322 
00323     if(FieldBits::NoField != (ResizePendingFieldMask & whichField))
00324     {
00325         _sfResizePending.copyToBin(pMem);
00326     }
00327 
00328     if(FieldBits::NoField != (GlObjectEventCounterFieldMask & whichField))
00329     {
00330         _sfGlObjectEventCounter.copyToBin(pMem);
00331     }
00332 
00333     if(FieldBits::NoField != (GlObjectLastRefreshFieldMask & whichField))
00334     {
00335         _mfGlObjectLastRefresh.copyToBin(pMem);
00336     }
00337 
00338     if(FieldBits::NoField != (GlObjectLastReinitializeFieldMask & whichField))
00339     {
00340         _mfGlObjectLastReinitialize.copyToBin(pMem);
00341     }
00342 
00343 
00344 }

void WindowBase::copyFromBin BinaryDataHandler pMem,
const BitVector whichField
[virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::ClusterWindowBase, osg::MultiDisplayWindowBase, osg::SortFirstWindowBase, osg::PassiveWindowBase, osg::XWindowBase, osg::WIN32WindowBase, osg::GLUTWindowBase, and osg::QTWindowBase.

Definition at line 346 of file OSGWindowBase.cpp.

References _mfGlObjectLastRefresh, _mfGlObjectLastReinitialize, _mfPort, _sfGlObjectEventCounter, _sfHeight, _sfResizePending, _sfWidth, osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::AttachmentContainer::copyFromBin(), GlObjectEventCounterFieldMask, GlObjectLastRefreshFieldMask, GlObjectLastReinitializeFieldMask, HeightFieldMask, osg::FieldBits::NoField, PortFieldMask, ResizePendingFieldMask, and WidthFieldMask.

Referenced by osg::XWindowBase::copyFromBin(), osg::WIN32WindowBase::copyFromBin(), osg::PassiveWindowBase::copyFromBin(), osg::GLUTWindowBase::copyFromBin(), and osg::ClusterWindowBase::copyFromBin().

00348 {
00349     Inherited::copyFromBin(pMem, whichField);
00350 
00351     if(FieldBits::NoField != (WidthFieldMask & whichField))
00352     {
00353         _sfWidth.copyFromBin(pMem);
00354     }
00355 
00356     if(FieldBits::NoField != (HeightFieldMask & whichField))
00357     {
00358         _sfHeight.copyFromBin(pMem);
00359     }
00360 
00361     if(FieldBits::NoField != (PortFieldMask & whichField))
00362     {
00363         _mfPort.copyFromBin(pMem);
00364     }
00365 
00366     if(FieldBits::NoField != (ResizePendingFieldMask & whichField))
00367     {
00368         _sfResizePending.copyFromBin(pMem);
00369     }
00370 
00371     if(FieldBits::NoField != (GlObjectEventCounterFieldMask & whichField))
00372     {
00373         _sfGlObjectEventCounter.copyFromBin(pMem);
00374     }
00375 
00376     if(FieldBits::NoField != (GlObjectLastRefreshFieldMask & whichField))
00377     {
00378         _mfGlObjectLastRefresh.copyFromBin(pMem);
00379     }
00380 
00381     if(FieldBits::NoField != (GlObjectLastReinitializeFieldMask & whichField))
00382     {
00383         _mfGlObjectLastReinitialize.copyFromBin(pMem);
00384     }
00385 
00386 
00387 }

SFUInt32 * osg::WindowBase::getSFGlObjectEventCounter void   )  [inline, protected]
 

Definition at line 103 of file OSGWindowBase.inl.

References _sfGlObjectEventCounter.

00104 {
00105     return &_sfGlObjectEventCounter;
00106 }

MFUInt32 * osg::WindowBase::getMFGlObjectLastRefresh void   )  [inline, protected]
 

Definition at line 110 of file OSGWindowBase.inl.

References _mfGlObjectLastRefresh.

00111 {
00112     return &_mfGlObjectLastRefresh;
00113 }

MFUInt32 * osg::WindowBase::getMFGlObjectLastReinitialize void   )  [inline, protected]
 

Definition at line 117 of file OSGWindowBase.inl.

References _mfGlObjectLastReinitialize.

00118 {
00119     return &_mfGlObjectLastReinitialize;
00120 }

UInt32 & osg::WindowBase::getGlObjectEventCounter void   )  [inline, protected]
 

Definition at line 188 of file OSGWindowBase.inl.

References _sfGlObjectEventCounter, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

Referenced by osg::Window::validateGLObject().

00189 {
00190     return _sfGlObjectEventCounter.getValue();
00191 }

const UInt32 & osg::WindowBase::getGlObjectEventCounter void   )  const [inline, protected]
 

Definition at line 195 of file OSGWindowBase.inl.

References _sfGlObjectEventCounter, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00196 {
00197     return _sfGlObjectEventCounter.getValue();
00198 }

UInt32 & osg::WindowBase::getGlObjectLastRefresh UInt32  index  )  [inline, protected]
 

Definition at line 231 of file OSGWindowBase.inl.

References _mfGlObjectLastRefresh.

00232 {
00233     return _mfGlObjectLastRefresh[index];
00234 }

MFUInt32 & osg::WindowBase::getGlObjectLastRefresh void   )  [inline, protected]
 

Definition at line 238 of file OSGWindowBase.inl.

References _mfGlObjectLastRefresh.

00239 {
00240     return _mfGlObjectLastRefresh;
00241 }

const MFUInt32 & osg::WindowBase::getGlObjectLastRefresh void   )  const [inline, protected]
 

Definition at line 245 of file OSGWindowBase.inl.

References _mfGlObjectLastRefresh.

00246 {
00247     return _mfGlObjectLastRefresh;
00248 }

UInt32 & osg::WindowBase::getGlObjectLastReinitialize UInt32  index  )  [inline, protected]
 

Definition at line 252 of file OSGWindowBase.inl.

References _mfGlObjectLastReinitialize.

00253 {
00254     return _mfGlObjectLastReinitialize[index];
00255 }

MFUInt32 & osg::WindowBase::getGlObjectLastReinitialize void   )  [inline, protected]
 

Definition at line 259 of file OSGWindowBase.inl.

References _mfGlObjectLastReinitialize.

Referenced by osg::Window::frameExit(), and osg::Window::onDestroy().

00260 {
00261     return _mfGlObjectLastReinitialize;
00262 }

const MFUInt32 & osg::WindowBase::getGlObjectLastReinitialize void   )  const [inline, protected]
 

Definition at line 266 of file OSGWindowBase.inl.

References _mfGlObjectLastReinitialize.

00267 {
00268     return _mfGlObjectLastReinitialize;
00269 }

void osg::WindowBase::setGlObjectEventCounter const UInt32 value  )  [inline, protected]
 

Definition at line 202 of file OSGWindowBase.inl.

References _sfGlObjectEventCounter, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00203 {
00204     _sfGlObjectEventCounter.setValue(value);
00205 }

void WindowBase::executeSyncImpl WindowBase pOther,
const BitVector whichField
[protected]
 

Definition at line 390 of file OSGWindowBase.cpp.

References _mfGlObjectLastRefresh, _mfGlObjectLastReinitialize, _mfPort, _sfGlObjectEventCounter, _sfHeight, _sfResizePending, _sfWidth, osg::AttachmentContainer::executeSyncImpl(), GlObjectEventCounterFieldMask, GlObjectLastRefreshFieldMask, GlObjectLastReinitializeFieldMask, HeightFieldMask, osg::FieldBits::NoField, PortFieldMask, ResizePendingFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::syncWith(), osg::SField< FieldTypeT, fieldNameSpace >::syncWith(), and WidthFieldMask.

Referenced by executeSync(), osg::XWindowBase::executeSyncImpl(), osg::WIN32WindowBase::executeSyncImpl(), osg::PassiveWindowBase::executeSyncImpl(), osg::GLUTWindowBase::executeSyncImpl(), and osg::ClusterWindowBase::executeSyncImpl().

00392 {
00393 
00394     Inherited::executeSyncImpl(pOther, whichField);
00395 
00396     if(FieldBits::NoField != (WidthFieldMask & whichField))
00397         _sfWidth.syncWith(pOther->_sfWidth);
00398 
00399     if(FieldBits::NoField != (HeightFieldMask & whichField))
00400         _sfHeight.syncWith(pOther->_sfHeight);
00401 
00402     if(FieldBits::NoField != (PortFieldMask & whichField))
00403         _mfPort.syncWith(pOther->_mfPort);
00404 
00405     if(FieldBits::NoField != (ResizePendingFieldMask & whichField))
00406         _sfResizePending.syncWith(pOther->_sfResizePending);
00407 
00408     if(FieldBits::NoField != (GlObjectEventCounterFieldMask & whichField))
00409         _sfGlObjectEventCounter.syncWith(pOther->_sfGlObjectEventCounter);
00410 
00411     if(FieldBits::NoField != (GlObjectLastRefreshFieldMask & whichField))
00412         _mfGlObjectLastRefresh.syncWith(pOther->_mfGlObjectLastRefresh);
00413 
00414     if(FieldBits::NoField != (GlObjectLastReinitializeFieldMask & whichField))
00415         _mfGlObjectLastReinitialize.syncWith(pOther->_mfGlObjectLastReinitialize);
00416 
00417 
00418 }