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

osg::ClusterWindowBase Class Reference

ClusterWindow Base Class. More...

#include <OSGClusterWindowBase.h>

Inheritance diagram for osg::ClusterWindowBase:

Inheritance graph
[legend]
Collaboration diagram for osg::ClusterWindowBase:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  ServersFieldId = Inherited::NextFieldId, ConnectionTypeFieldId = ServersFieldId + 1, ClientWindowFieldId = ConnectionTypeFieldId + 1, ServicePortFieldId = ClientWindowFieldId + 1,
  NextFieldId = ServicePortFieldId + 1
}

Public Methods

Get
virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
MFStringgetMFServers (void)
SFStringgetSFConnectionType (void)
SFWindowPtrgetSFClientWindow (void)
SFUInt32getSFServicePort (void)
string & getConnectionType (void)
const string & getConnectionType (void) const
WindowPtrgetClientWindow (void)
const WindowPtrgetClientWindow (void) const
UInt32getServicePort (void)
const UInt32getServicePort (void) const
string & getServers (const UInt32 index)
MFStringgetServers (void)
const MFStringgetServers (void) const
Field Set
void setConnectionType (const string &value)
void setClientWindow (const WindowPtr &value)
void setServicePort (const UInt32 &value)
Sync
virtual void executeSync (FieldContainer &other, const BitVector &whichField)
Binary Access
virtual UInt32 getBinSize (const BitVector &whichField)
virtual void copyToBin (BinaryDataHandler &pMem, const BitVector &whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField)
Copy
virtual FieldContainerPtr shallowCopy (void) const

Static Public Methods

Class Get
FieldContainerTypegetClassType (void)
 access the type of the class

UInt32 getClassTypeId (void)
 access the numerical type of the class

Construction
ClusterWindowPtr create (void)
 create a new instance of the class

ClusterWindowPtr createEmpty (void)
 create an empty new instance of the class, do not copy the prototype


Static Public Attributes

const osg::BitVector ServersFieldMask
const osg::BitVector ConnectionTypeFieldMask
const osg::BitVector ClientWindowFieldMask
const osg::BitVector ServicePortFieldMask

Protected Methods

Constructors
 ClusterWindowBase (void)
 Constructor.

 ClusterWindowBase (const ClusterWindowBase &source)
 Copy Constructor.

Destructors
virtual ~ClusterWindowBase (void)
 Destructor.

Sync
void executeSyncImpl (ClusterWindowBase *pOther, const BitVector &whichField)

Protected Attributes

Fields
MFString _mfServers
SFString _sfConnectionType
SFWindowPtr _sfClientWindow
SFUInt32 _sfServicePort

Private Types

typedef Window Inherited

Private Methods

void operator= (const ClusterWindowBase &source)

Static Private Attributes

FieldDescription_desc []
 ClusterWindow description.

FieldContainerType _type
 ClusterWindow type.


Friends

class FieldContainer

Detailed Description

ClusterWindow Base Class.


Member Typedef Documentation

typedef Window osg::ClusterWindowBase::Inherited [private]
 

Reimplemented from osg::Window.

Reimplemented in osg::ClusterWindow, osg::MultiDisplayWindow, osg::MultiDisplayWindowBase, osg::SortFirstWindow, and osg::SortFirstWindowBase.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ServersFieldId 
ConnectionTypeFieldId 
ClientWindowFieldId 
ServicePortFieldId 
NextFieldId 


Constructor & Destructor Documentation

ClusterWindowBase::ClusterWindowBase void    [protected]
 

Constructor.

ClusterWindowBase::ClusterWindowBase const ClusterWindowBase &    source [protected]
 

Copy Constructor.

ClusterWindowBase::~ClusterWindowBase void    [protected, virtual]
 

Destructor.


Member Function Documentation

osg::FieldContainerType & osg::ClusterWindowBase::getClassType void    [inline, static]
 

access the type of the class

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

osg::UInt32 osg::ClusterWindowBase::getClassTypeId void    [inline, static]
 

access the numerical type of the class

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

FieldContainerType & ClusterWindowBase::getType void    [virtual]
 

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

const FieldContainerType & ClusterWindowBase::getType void    const [virtual]
 

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

UInt32 ClusterWindowBase::getContainerSize void    const [virtual]
 

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

MFString * osg::ClusterWindowBase::getMFServers void    [inline]
 

SFString * osg::ClusterWindowBase::getSFConnectionType void    [inline]
 

SFWindowPtr * osg::ClusterWindowBase::getSFClientWindow void    [inline]
 

SFUInt32 * osg::ClusterWindowBase::getSFServicePort void    [inline]
 

string & osg::ClusterWindowBase::getConnectionType void    [inline]
 

const string & osg::ClusterWindowBase::getConnectionType void    const [inline]
 

WindowPtr & osg::ClusterWindowBase::getClientWindow void    [inline]
 

const WindowPtr & osg::ClusterWindowBase::getClientWindow void    const [inline]
 

UInt32 & osg::ClusterWindowBase::getServicePort void    [inline]
 

const UInt32 & osg::ClusterWindowBase::getServicePort void    const [inline]
 

string & osg::ClusterWindowBase::getServers const UInt32    index [inline]
 

MFString & osg::ClusterWindowBase::getServers void    [inline]
 

const MFString & osg::ClusterWindowBase::getServers void    const [inline]
 

void osg::ClusterWindowBase::setConnectionType const string &    value [inline]
 

void osg::ClusterWindowBase::setClientWindow const WindowPtr   value [inline]
 

void osg::ClusterWindowBase::setServicePort const UInt32   value [inline]
 

void ClusterWindowBase::executeSync FieldContainer   other,
const BitVector   whichField
[virtual]
 

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

UInt32 ClusterWindowBase::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

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

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

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

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

ClusterWindowPtr osg::ClusterWindowBase::create void    [inline, static]
 

create a new instance of the class

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

ClusterWindowPtr osg::ClusterWindowBase::createEmpty void    [inline, static]
 

create an empty new instance of the class, do not copy the prototype

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

FieldContainerPtr ClusterWindowBase::shallowCopy void    const [virtual]
 

Implements osg::FieldContainer.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

void ClusterWindowBase::executeSyncImpl ClusterWindowBase *    pOther,
const BitVector   whichField
[protected]
 

void osg::ClusterWindowBase::operator= const ClusterWindowBase &    source [private]
 


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::Window.

Reimplemented in osg::ClusterWindow, osg::MultiDisplayWindow, osg::MultiDisplayWindowBase, osg::SortFirstWindow, and osg::SortFirstWindowBase.


Member Data Documentation

const osg::BitVector ClusterWindowBase::ServersFieldMask [static]
 

Initial value:

 
    (1 << ClusterWindowBase::ServersFieldId)

const osg::BitVector ClusterWindowBase::ConnectionTypeFieldMask [static]
 

Initial value:

 
    (1 << ClusterWindowBase::ConnectionTypeFieldId)

const osg::BitVector ClusterWindowBase::ClientWindowFieldMask [static]
 

Initial value:

 
    (1 << ClusterWindowBase::ClientWindowFieldId)

const osg::BitVector ClusterWindowBase::ServicePortFieldMask [static]
 

Initial value:

 
    (1 << ClusterWindowBase::ServicePortFieldId)

string ClusterWindowBase::_mfServers [protected]
 

List of all symbolic server names

string ClusterWindowBase::_sfConnectionType [protected]
 

How to connect to the servers

WindowPtr ClusterWindowBase::_sfClientWindow [protected]
 

Window for client rendering

UInt32 ClusterWindowBase::_sfServicePort [protected]
 

Broadcastport used for server search

FieldDescription * ClusterWindowBase::_desc [static, private]
 

Initial value:

 
{
    new FieldDescription(MFString::getClassType(), 
                     "servers", 
                     ServersFieldId, ServersFieldMask,
                     false,
                     (FieldAccessMethod) &ClusterWindowBase::getMFServers),
    new FieldDescription(SFString::getClassType(), 
                     "connectionType", 
                     ConnectionTypeFieldId, ConnectionTypeFieldMask,
                     false,
                     (FieldAccessMethod) &ClusterWindowBase::getSFConnectionType),
    new FieldDescription(SFWindowPtr::getClassType(), 
                     "clientWindow", 
                     ClientWindowFieldId, ClientWindowFieldMask,
                     false,
                     (FieldAccessMethod) &ClusterWindowBase::getSFClientWindow),
    new FieldDescription(SFUInt32::getClassType(), 
                     "servicePort", 
                     ServicePortFieldId, ServicePortFieldMask,
                     false,
                     (FieldAccessMethod) &ClusterWindowBase::getSFServicePort)
}
ClusterWindow description.

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

FieldContainerType ClusterWindowBase::_type [static, private]
 

ClusterWindow type.

Reimplemented from osg::WindowBase.

Reimplemented in osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.


The documentation for this class was generated from the following files:
Generated on Wed Jul 3 16:32:49 2002 for OpenSG by doxygen1.2.16