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

osg::AttachmentContainer Class Reference
[OpenSG Field Container Library]

AttachmentContainer provides the functionality to store attachments for derived FieldContainer classes. More...

#include <OSGAttachmentContainerImpl.h>

Inheritance diagram for osg::AttachmentContainer:

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

Collaboration graph
[legend]
List of all members.

Public Types

enum  { AttachmentsFieldId = Inherited::NextFieldId, NextFieldId = AttachmentsFieldId + 1 }

Public Methods

Handle Attachments
void addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0)
void subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0)
AttachmentPtr findAttachment (UInt32 groupId, UInt16 binding=0)
AttachmentPtr findAttachment (const FieldContainerType &type, UInt16 binding=0)
SFAttachmentMapgetSFAttachments (void)
Changed
virtual void changed (BitVector whichField, UInt32 origin)
Binary Access
virtual UInt32 getBinSize (const BitVector &whichField)
virtual void copyToBin (BinaryDataHandler &pMem, const BitVector &whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField)
Dump
virtual void dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const

Static Public Attributes

const BitVector AttachmentsFieldMask

Protected Types

typedef FieldContainer Inherited

Protected Methods

Constructors
 AttachmentContainer (void)
 AttachmentContainer (const AttachmentContainer &source)
Destructor
virtual ~AttachmentContainer (void)
Sync
virtual void executeSync (FieldContainer &other, const BitVector &whichField)
void executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField)
Pointer
AttachmentContainerPtr getPtr (void)

Protected Attributes

Fields
SFAttachmentMap _attachmentMap

Static Protected Attributes

Type information
FieldDescription_desc []
FieldContainerType _type

Private Methods

void operator= (const AttachmentContainer &source)
 prohibit default functions (move to 'public' if needed)


Friends

class FieldContainer
class FieldContainerType

Detailed Description

AttachmentContainer provides the functionality to store attachments for derived FieldContainer classes.


Member Typedef Documentation

typedef FieldContainer osg::AttachmentContainer::Inherited [protected]
 

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterial, osg::ChunkMaterialBase, osg::Material, osg::MaterialBase, osg::SimpleMaterial, osg::SimpleMaterialBase, osg::SimpleTexturedMaterial, osg::SimpleTexturedMaterialBase, osg::Geometry, osg::GeometryBase, osg::DirectionalLight, osg::DirectionalLightBase, osg::LightBase, osg::LightBaseBase, osg::PointLight, osg::PointLightBase, osg::SpotLight, osg::SpotLightBase, osg::Particles, osg::ParticlesBase, osg::Billboard, osg::BillboardBase, osg::ComponentTransform, osg::ComponentTransformBase, osg::DistanceLOD, osg::DistanceLODBase, osg::Group, osg::GroupBase, osg::Inline, osg::InlineBase, osg::MaterialGroup, osg::MaterialGroupBase, osg::Switch, osg::SwitchBase, osg::Transform, osg::TransformBase, osg::SimpleStatisticsForeground, osg::SimpleStatisticsForegroundBase, osg::StatisticsForeground, osg::StatisticsForegroundBase, osg::Background, osg::BackgroundBase, osg::Camera, osg::CameraBase, osg::CameraDecorator, osg::CameraDecoratorBase, osg::FileGrabForeground, osg::FileGrabForegroundBase, osg::Foreground, osg::ForegroundBase, osg::GrabForeground, osg::GrabForegroundBase, osg::GradientBackground, osg::GradientBackgroundBase, osg::ImageBackground, osg::ImageBackgroundBase, osg::ImageForeground, osg::ImageForegroundBase, osg::MatrixCamera, osg::MatrixCameraBase, osg::PassiveBackground, osg::PassiveBackgroundBase, osg::PassiveViewport, osg::PassiveViewportBase, osg::PassiveWindow, osg::PassiveWindowBase, osg::PerspectiveCamera, osg::PerspectiveCameraBase, osg::ProjectionCameraDecorator, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecorator, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackground, osg::SkyBackgroundBase, osg::SolidBackground, osg::SolidBackgroundBase, osg::StereoBufferViewport, osg::StereoBufferViewportBase, osg::StereoCameraDecorator, osg::StereoCameraDecoratorBase, osg::TileCameraDecorator, osg::TileCameraDecoratorBase, osg::Viewport, osg::ViewportBase, osg::Window, osg::WindowBase, osg::GLUTWindowBase, osg::XWindow, osg::XWindowBase, osg::QTWindow, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindow, osg::ClusterWindowBase, osg::MultiDisplayWindow, osg::MultiDisplayWindowBase, osg::SortFirstWindow, and osg::SortFirstWindowBase.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
AttachmentsFieldId 
NextFieldId 


Constructor & Destructor Documentation

AttachmentContainer::AttachmentContainer void    [protected]
 

AttachmentContainer::AttachmentContainer const AttachmentContainer &    source [protected]
 

AttachmentContainer::~AttachmentContainer void    [protected, virtual]
 


Member Function Documentation

void AttachmentContainer::addAttachment const AttachmentPtr   fieldContainerP,
UInt16    binding = 0
 

void AttachmentContainer::subAttachment const AttachmentPtr   fieldContainerP,
UInt16    binding = 0
 

AttachmentPtr AttachmentContainer::findAttachment UInt32    groupId,
UInt16    binding = 0
 

AttachmentPtr osg::AttachmentContainer::findAttachment const FieldContainerType   type,
UInt16    binding = 0
[inline]
 

SFAttachmentMap * AttachmentContainer::getSFAttachments void   
 

Field Access

void AttachmentContainer::changed BitVector    whichField,
UInt32    origin
[virtual]
 

Reimplemented from osg::FieldContainer.

Reimplemented in osg::Node, osg::ChunkMaterial, osg::Material, osg::SimpleMaterial, osg::SimpleTexturedMaterial, osg::Geometry, osg::DirectionalLight, osg::LightBase, osg::PointLight, osg::SpotLight, osg::Particles, osg::Billboard, osg::ComponentTransform, osg::DistanceLOD, osg::Group, osg::Inline, osg::MaterialGroup, osg::Switch, osg::Transform, osg::SimpleStatisticsForeground, osg::StatisticsForeground, osg::Background, osg::Camera, osg::CameraDecorator, osg::FileGrabForeground, osg::Foreground, osg::GrabForeground, osg::GradientBackground, osg::ImageBackground, osg::ImageForeground, osg::MatrixCamera, osg::PassiveBackground, osg::PassiveViewport, osg::PassiveWindow, osg::PerspectiveCamera, osg::ProjectionCameraDecorator, osg::ShearedStereoCameraDecorator, osg::SkyBackground, osg::SolidBackground, osg::StereoBufferViewport, osg::StereoCameraDecorator, osg::TileCameraDecorator, osg::Viewport, osg::Window, osg::XWindow, osg::QTWindow, osg::ClusterWindow, osg::MultiDisplayWindow, and osg::SortFirstWindow.

UInt32 AttachmentContainer::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::FieldContainer.

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterialBase, osg::MaterialBase, osg::SimpleMaterialBase, osg::SimpleTexturedMaterialBase, osg::GeometryBase, osg::DirectionalLightBase, osg::LightBaseBase, osg::PointLightBase, osg::SpotLightBase, osg::ParticlesBase, osg::BillboardBase, osg::ComponentTransformBase, osg::DistanceLODBase, osg::GroupBase, osg::InlineBase, osg::MaterialGroupBase, osg::SwitchBase, osg::TransformBase, osg::SimpleStatisticsForegroundBase, osg::StatisticsForegroundBase, osg::BackgroundBase, osg::CameraBase, osg::CameraDecoratorBase, osg::FileGrabForegroundBase, osg::ForegroundBase, osg::GrabForegroundBase, osg::GradientBackgroundBase, osg::ImageBackgroundBase, osg::ImageForegroundBase, osg::MatrixCameraBase, osg::PassiveBackgroundBase, osg::PassiveViewportBase, osg::PassiveWindowBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackgroundBase, osg::SolidBackgroundBase, osg::StereoBufferViewportBase, osg::StereoCameraDecoratorBase, osg::TileCameraDecoratorBase, osg::ViewportBase, osg::WindowBase, osg::GLUTWindowBase, osg::XWindowBase, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindowBase, osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

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

Reimplemented from osg::FieldContainer.

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterialBase, osg::MaterialBase, osg::SimpleMaterialBase, osg::SimpleTexturedMaterialBase, osg::GeometryBase, osg::DirectionalLightBase, osg::LightBaseBase, osg::PointLightBase, osg::SpotLightBase, osg::ParticlesBase, osg::BillboardBase, osg::ComponentTransformBase, osg::DistanceLODBase, osg::GroupBase, osg::InlineBase, osg::MaterialGroupBase, osg::SwitchBase, osg::TransformBase, osg::SimpleStatisticsForegroundBase, osg::StatisticsForegroundBase, osg::BackgroundBase, osg::CameraBase, osg::CameraDecoratorBase, osg::FileGrabForegroundBase, osg::ForegroundBase, osg::GrabForegroundBase, osg::GradientBackgroundBase, osg::ImageBackgroundBase, osg::ImageForegroundBase, osg::MatrixCameraBase, osg::PassiveBackgroundBase, osg::PassiveViewportBase, osg::PassiveWindowBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackgroundBase, osg::SolidBackgroundBase, osg::StereoBufferViewportBase, osg::StereoCameraDecoratorBase, osg::TileCameraDecoratorBase, osg::ViewportBase, osg::WindowBase, osg::GLUTWindowBase, osg::XWindowBase, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindowBase, osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

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

Reimplemented from osg::FieldContainer.

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterialBase, osg::MaterialBase, osg::SimpleMaterialBase, osg::SimpleTexturedMaterialBase, osg::GeometryBase, osg::DirectionalLightBase, osg::LightBaseBase, osg::PointLightBase, osg::SpotLightBase, osg::ParticlesBase, osg::BillboardBase, osg::ComponentTransformBase, osg::DistanceLODBase, osg::GroupBase, osg::InlineBase, osg::MaterialGroupBase, osg::SwitchBase, osg::TransformBase, osg::SimpleStatisticsForegroundBase, osg::StatisticsForegroundBase, osg::BackgroundBase, osg::CameraBase, osg::CameraDecoratorBase, osg::FileGrabForegroundBase, osg::ForegroundBase, osg::GrabForegroundBase, osg::GradientBackgroundBase, osg::ImageBackgroundBase, osg::ImageForegroundBase, osg::MatrixCameraBase, osg::PassiveBackgroundBase, osg::PassiveViewportBase, osg::PassiveWindowBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackgroundBase, osg::SolidBackgroundBase, osg::StereoBufferViewportBase, osg::StereoCameraDecoratorBase, osg::TileCameraDecoratorBase, osg::ViewportBase, osg::WindowBase, osg::GLUTWindowBase, osg::XWindowBase, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindowBase, osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

void AttachmentContainer::dump UInt32    uiIndent = 0,
const BitVector    bvFlags = 0
const [virtual]
 

Implements osg::FieldContainer.

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterial, osg::Material, osg::SimpleMaterial, osg::SimpleTexturedMaterial, osg::Geometry, osg::DirectionalLight, osg::LightBase, osg::PointLight, osg::SpotLight, osg::Particles, osg::Billboard, osg::ComponentTransform, osg::DistanceLOD, osg::Group, osg::Inline, osg::MaterialGroup, osg::Switch, osg::Transform, osg::SimpleStatisticsForeground, osg::StatisticsForeground, osg::Background, osg::Camera, osg::CameraDecorator, osg::FileGrabForeground, osg::Foreground, osg::GrabForeground, osg::GradientBackground, osg::ImageBackground, osg::ImageForeground, osg::MatrixCamera, osg::PassiveBackground, osg::PassiveViewport, osg::PassiveWindow, osg::PerspectiveCamera, osg::ProjectionCameraDecorator, osg::ShearedStereoCameraDecorator, osg::SkyBackground, osg::SolidBackground, osg::StereoBufferViewport, osg::StereoCameraDecorator, osg::TileCameraDecorator, osg::Viewport, osg::Window, osg::XWindow, osg::QTWindow, osg::ClusterWindow, osg::MultiDisplayWindow, and osg::SortFirstWindow.

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

Implements osg::FieldContainer.

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterialBase, osg::MaterialBase, osg::SimpleMaterialBase, osg::SimpleTexturedMaterialBase, osg::GeometryBase, osg::DirectionalLightBase, osg::LightBaseBase, osg::PointLightBase, osg::SpotLightBase, osg::ParticlesBase, osg::BillboardBase, osg::ComponentTransformBase, osg::DistanceLODBase, osg::GroupBase, osg::InlineBase, osg::MaterialGroupBase, osg::SwitchBase, osg::TransformBase, osg::SimpleStatisticsForegroundBase, osg::StatisticsForegroundBase, osg::BackgroundBase, osg::CameraBase, osg::CameraDecoratorBase, osg::FileGrabForegroundBase, osg::ForegroundBase, osg::GrabForegroundBase, osg::GradientBackgroundBase, osg::ImageBackgroundBase, osg::ImageForegroundBase, osg::MatrixCameraBase, osg::PassiveBackgroundBase, osg::PassiveViewportBase, osg::PassiveWindowBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackgroundBase, osg::SolidBackgroundBase, osg::StereoBufferViewportBase, osg::StereoCameraDecoratorBase, osg::TileCameraDecoratorBase, osg::ViewportBase, osg::WindowBase, osg::GLUTWindowBase, osg::XWindowBase, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindowBase, osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

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

AttachmentContainerPtr AttachmentContainer::getPtr void    [protected]
 

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

prohibit default functions (move to 'public' if needed)


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterial, osg::ChunkMaterialBase, osg::Material, osg::MaterialBase, osg::SimpleMaterial, osg::SimpleMaterialBase, osg::SimpleTexturedMaterial, osg::SimpleTexturedMaterialBase, osg::Geometry, osg::GeometryBase, osg::DirectionalLight, osg::DirectionalLightBase, osg::LightBase, osg::LightBaseBase, osg::PointLight, osg::PointLightBase, osg::SpotLight, osg::SpotLightBase, osg::Particles, osg::ParticlesBase, osg::Billboard, osg::BillboardBase, osg::ComponentTransform, osg::ComponentTransformBase, osg::DistanceLOD, osg::DistanceLODBase, osg::Group, osg::GroupBase, osg::Inline, osg::InlineBase, osg::MaterialGroup, osg::MaterialGroupBase, osg::Switch, osg::SwitchBase, osg::Transform, osg::TransformBase, osg::SimpleStatisticsForeground, osg::SimpleStatisticsForegroundBase, osg::StatisticsForeground, osg::StatisticsForegroundBase, osg::Background, osg::BackgroundBase, osg::Camera, osg::CameraBase, osg::CameraDecorator, osg::CameraDecoratorBase, osg::FileGrabForeground, osg::FileGrabForegroundBase, osg::Foreground, osg::ForegroundBase, osg::GrabForeground, osg::GrabForegroundBase, osg::GradientBackground, osg::GradientBackgroundBase, osg::ImageBackground, osg::ImageBackgroundBase, osg::ImageForeground, osg::ImageForegroundBase, osg::MatrixCamera, osg::MatrixCameraBase, osg::PassiveBackground, osg::PassiveBackgroundBase, osg::PassiveViewport, osg::PassiveViewportBase, osg::PassiveWindow, osg::PassiveWindowBase, osg::PerspectiveCamera, osg::PerspectiveCameraBase, osg::ProjectionCameraDecorator, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecorator, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackground, osg::SkyBackgroundBase, osg::SolidBackground, osg::SolidBackgroundBase, osg::StereoBufferViewport, osg::StereoBufferViewportBase, osg::StereoCameraDecorator, osg::StereoCameraDecoratorBase, osg::TileCameraDecorator, osg::TileCameraDecoratorBase, osg::Viewport, osg::ViewportBase, osg::Window, osg::WindowBase, osg::GLUTWindowBase, osg::XWindow, osg::XWindowBase, osg::QTWindow, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindow, osg::ClusterWindowBase, osg::MultiDisplayWindow, osg::MultiDisplayWindowBase, osg::SortFirstWindow, and osg::SortFirstWindowBase.

friend class FieldContainerType [friend]
 

Reimplemented in osg::Node.


Member Data Documentation

const BitVector AttachmentContainer::AttachmentsFieldMask [static]
 

Initial value:

    (1 << AttachmentContainer::AttachmentsFieldId)

FieldDescription * AttachmentContainer::_desc [static, protected]
 

Initial value:

{
    new FieldDescription(SFAttachmentMap::getClassType(),
                         "attachments",
                         OSG_FC_FIELD_IDM_DESC(AttachmentsField),
                         false,
                         (FieldAccessMethod)
                             &AttachmentContainer::getSFAttachments)
}

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterialBase, osg::SimpleMaterialBase, osg::SimpleTexturedMaterialBase, osg::GeometryBase, osg::DirectionalLightBase, osg::LightBaseBase, osg::PointLightBase, osg::SpotLightBase, osg::ParticlesBase, osg::BillboardBase, osg::ComponentTransformBase, osg::DistanceLODBase, osg::InlineBase, osg::MaterialGroupBase, osg::SwitchBase, osg::TransformBase, osg::SimpleStatisticsForegroundBase, osg::StatisticsForegroundBase, osg::CameraBase, osg::CameraDecoratorBase, osg::FileGrabForegroundBase, osg::GrabForegroundBase, osg::GradientBackgroundBase, osg::ImageBackgroundBase, osg::ImageForegroundBase, osg::MatrixCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackgroundBase, osg::SolidBackgroundBase, osg::StereoBufferViewportBase, osg::StereoCameraDecoratorBase, osg::TileCameraDecoratorBase, osg::ViewportBase, osg::WindowBase, osg::GLUTWindowBase, osg::XWindowBase, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindowBase, osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

FieldContainerType AttachmentContainer::_type [static, protected]
 

Reimplemented from osg::FieldContainer.

Reimplemented in osg::NodeCore, osg::Node, osg::ChunkMaterialBase, osg::MaterialBase, osg::SimpleMaterialBase, osg::SimpleTexturedMaterialBase, osg::GeometryBase, osg::DirectionalLightBase, osg::LightBaseBase, osg::PointLightBase, osg::SpotLightBase, osg::ParticlesBase, osg::BillboardBase, osg::ComponentTransformBase, osg::DistanceLODBase, osg::GroupBase, osg::InlineBase, osg::MaterialGroupBase, osg::SwitchBase, osg::TransformBase, osg::SimpleStatisticsForegroundBase, osg::StatisticsForegroundBase, osg::BackgroundBase, osg::CameraBase, osg::CameraDecoratorBase, osg::FileGrabForegroundBase, osg::ForegroundBase, osg::GrabForegroundBase, osg::GradientBackgroundBase, osg::ImageBackgroundBase, osg::ImageForegroundBase, osg::MatrixCameraBase, osg::PassiveBackgroundBase, osg::PassiveViewportBase, osg::PassiveWindowBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::SkyBackgroundBase, osg::SolidBackgroundBase, osg::StereoBufferViewportBase, osg::StereoCameraDecoratorBase, osg::TileCameraDecoratorBase, osg::ViewportBase, osg::WindowBase, osg::GLUTWindowBase, osg::XWindowBase, osg::QTWindowBase, osg::WIN32WindowBase, osg::ClusterWindowBase, osg::MultiDisplayWindowBase, and osg::SortFirstWindowBase.

SFAttachmentMap osg::AttachmentContainer::_attachmentMap [protected]
 


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