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

osg::StatisticsForegroundBase Class Reference

StatisticsForeground Base Class. More...

#include <OSGStatisticsForegroundBase.h>

Inheritance diagram for osg::StatisticsForegroundBase:

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

Collaboration graph
[legend]
List of all members.

Public Types

enum  { ElementIDsFieldId = Inherited::NextFieldId, CollectorFieldId = ElementIDsFieldId + 1, NextFieldId = CollectorFieldId + 1 }

Public Methods

Get
virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
MFInt32getMFElementIDs (void)
SFStatCollectorgetSFCollector (void)
StatCollectorgetCollector (void)
const StatCollectorgetCollector (void) const
Int32getElementIDs (const UInt32 index)
MFInt32getElementIDs (void)
const MFInt32getElementIDs (void) const
Field Set
void setCollector (const StatCollector &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)

Static Public Methods

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

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


Static Public Attributes

const osg::BitVector ElementIDsFieldMask
const osg::BitVector CollectorFieldMask

Protected Methods

Constructors
 StatisticsForegroundBase (void)
 Constructor.

 StatisticsForegroundBase (const StatisticsForegroundBase &source)
 Copy Constructor.

Destructors
virtual ~StatisticsForegroundBase (void)
 Destructor.

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

Protected Attributes

Fields
MFInt32 _mfElementIDs
SFStatCollector _sfCollector

Private Types

typedef Foreground Inherited

Private Methods

void operator= (const StatisticsForegroundBase &source)

Static Private Attributes

FieldDescription_desc []
 StatisticsForeground description.

FieldContainerType _type
 StatisticsForeground type.


Friends

class FieldContainer

Detailed Description

StatisticsForeground Base Class.


Member Typedef Documentation

typedef Foreground osg::StatisticsForegroundBase::Inherited [private]
 

Reimplemented from osg::Foreground.

Reimplemented in osg::SimpleStatisticsForeground, osg::SimpleStatisticsForegroundBase, and osg::StatisticsForeground.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ElementIDsFieldId 
CollectorFieldId 
NextFieldId 


Constructor & Destructor Documentation

StatisticsForegroundBase::StatisticsForegroundBase void    [protected]
 

Constructor.

StatisticsForegroundBase::StatisticsForegroundBase const StatisticsForegroundBase &    source [protected]
 

Copy Constructor.

StatisticsForegroundBase::~StatisticsForegroundBase void    [protected, virtual]
 

Destructor.


Member Function Documentation

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

access the type of the class

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

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

access the numerical type of the class

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

FieldContainerType & StatisticsForegroundBase::getType void    [virtual]
 

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

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

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

UInt32 StatisticsForegroundBase::getContainerSize void    const [virtual]
 

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

MFInt32 * osg::StatisticsForegroundBase::getMFElementIDs void    [inline]
 

SFStatCollector * osg::StatisticsForegroundBase::getSFCollector void    [inline]
 

StatCollector & osg::StatisticsForegroundBase::getCollector void    [inline]
 

const StatCollector & osg::StatisticsForegroundBase::getCollector void    const [inline]
 

Int32 & osg::StatisticsForegroundBase::getElementIDs const UInt32    index [inline]
 

MFInt32 & osg::StatisticsForegroundBase::getElementIDs void    [inline]
 

const MFInt32 & osg::StatisticsForegroundBase::getElementIDs void    const [inline]
 

void osg::StatisticsForegroundBase::setCollector const StatCollector   value [inline]
 

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

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

UInt32 StatisticsForegroundBase::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

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

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

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

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.

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

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


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::Foreground.

Reimplemented in osg::SimpleStatisticsForeground, osg::SimpleStatisticsForegroundBase, and osg::StatisticsForeground.


Member Data Documentation

const osg::BitVector StatisticsForegroundBase::ElementIDsFieldMask [static]
 

Initial value:

 
    (1 << StatisticsForegroundBase::ElementIDsFieldId)

const osg::BitVector StatisticsForegroundBase::CollectorFieldMask [static]
 

Initial value:

 
    (1 << StatisticsForegroundBase::CollectorFieldId)

Int32 StatisticsForegroundBase::_mfElementIDs [protected]
 

The StatElemDesc IDs to use. If not set, use all in the descriptor.

StatCollector StatisticsForegroundBase::_sfCollector [protected]
 

The StatElemDesc IDs to use. If not set, use all in the descriptor.

FieldDescription * StatisticsForegroundBase::_desc [static, private]
 

Initial value:

 
{
    new FieldDescription(MFInt32::getClassType(), 
                     "elementIDs", 
                     ElementIDsFieldId, ElementIDsFieldMask,
                     false,
                     (FieldAccessMethod) &StatisticsForegroundBase::getMFElementIDs),
    new FieldDescription(SFStatCollector::getClassType(), 
                     "collector", 
                     CollectorFieldId, CollectorFieldMask,
                     false,
                     (FieldAccessMethod) &StatisticsForegroundBase::getSFCollector)
}
StatisticsForeground description.

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::SimpleStatisticsForegroundBase.

FieldContainerType StatisticsForegroundBase::_type [static, private]
 

StatisticsForeground type.

Reimplemented from osg::ForegroundBase.

Reimplemented in osg::SimpleStatisticsForegroundBase.


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