ScEng::BlockFactory Class Reference

#include <block.h>

Inheritance diagram for ScEng::BlockFactory:

ScEng::Bezier3DSplineObjectFactory ScEng::BitmapTextureFactory ScEng::BlendMaterialFactory ScEng::BlockVectorFactory ScEng::BoxObjectFactory ScEng::CameraFactory ScEng::DataBoolFactory ScEng::DataColorFactory ScEng::DataFloatFactory ScEng::DataIntFactory ScEng::DataPoint3FFactory ScEng::DataTableFactory ScEng::FloatBezierControllerFactory ScEng::MainSceneFactory ScEng::MarbleTextureFactory ScEng::MaskTextureFactory ScEng::MixTextureFactory ScEng::NodeFactory ScEng::NodeMaterialsFactory ScEng::NodeTransformFactory ScEng::NoiseTextureFactory ScEng::Place2DTextureFactory ScEng::Place3DTextureFactory ScEng::Point3FControllerFactory ScEng::PolyLineObjectFactory ScEng::PolyMeshFactory ScEng::PRS3ControllerFactory ScEng::ScenePropertiesFactory ScEng::SimbiontTextureFactory ScEng::SourceLightFactory ScEng::SphereObjectFactory ScEng::StandardMaterialFactory ScEng::TextureLayersFactory ScEng::TorusObjectFactory ScEng::TriMeshFactory ScEng::WoodTextureFactory List of all members.

Public Member Functions

virtual BlockType GetBlockType ()=0
 Virtual function.
virtual BlockGetBlock (bool create_dependencies)=0
 Virtual function.
virtual std::string GetName ()=0
 Virtual function.

Detailed Description

The block factory This class creates the blocks during loading. Each block that participates in the DAG need a companion factory. During saving, each block saves its BlockType in the first section of its chunk. During loading, this BlockType is read and used to search for block factory that that matches this BlockType. Then the GetBlock method is called to get a new instance of this the block. For this reason it is very important to register all block factories in SceneEngine::block_factories.


The documentation for this class was generated from the following file:
Generated on Thu Sep 6 10:49:21 2007 for SceneEngine by  doxygen 1.5.1-p1