class CAVERN_builder_Loader : public TcLoader

Class CAVERN_builder_Loader

Inheritance:


Public Classes

enum ErrorType
ErrorType enum
enum ArgType
ArgType enum

Public Methods

CAVERN_builder_Loader()
Default Constructor.
~CAVERN_builder_Loader()
Default Destructor.
virtual TcGfxComponent* initTanComponents()
Implemenation of the base class initialization method
virtual void initGLComponents()
This method is used to initialize GL components that are derived from TdGfxGLObject.
ErrorType readModelFile()
This method starts the scan and parse of the model file.
void setConnectionId(const TcUtString &id)
Set method.
void setNetManager(CAVERN_builder_NetManager *)
Set method.

Protected Methods

TcGfxPfComponentAdapter* createGroupAdapter()
Method used to create a TdGfxPfGroupAdapter or one of its derived classes.
void parseModel(fstream &inStream)
Called after reading a model description to instantiate a TcGfxComponent.
void readModel(fstream &inStream)
Performs a scan of a model description.
void parseLoading(TcGfxComponent::LoadType &loadType, TcGfxComponent::LoadState &loadState)
Determines load state.
void shareModel(CAVERN_builder_ModelAttributes &curModelAtts)
Sends a shared model to the Network Manager.
void addToParent(TcGfxComponent *)
Adds a child TcGfxComponent to a parent TcGfxComponent.
void handleModelErrors(const ErrorType &err, const int &line, const TcUtString &arg, const TcUtString &type)
This method deals with parse errors.
void loadComponent( const TcUtString &compName, const TcGfxComponent::LoadType &ldType)
Sends a loadGeometry message to a TcGfxComponent when a load directive is encountered.

Documentation

Class CAVERN_builder_Loader. This class is used to initialize the scene from compiled components and those specified in the model file.
enum ErrorType
ErrorType enum. This enum is used to report various types of errors during parsing of the Builder_Model.dat file.

enum ArgType
ArgType enum. This enum is used to map string argument types to an enumeration to reduce the amount of necessary string comparisons throughout the model parsing and instantation phase.

CAVERN_builder_Loader()
Default Constructor.

~CAVERN_builder_Loader()
Default Destructor.

virtual TcGfxComponent* initTanComponents()
Implemenation of the base class initialization method. It is used to populate a scene with TcGfxComponents from compiled code rather than the Builder_Model.dat text file.

virtual void initGLComponents()
This method is used to initialize GL components that are derived from TdGfxGLObject.

ErrorType readModelFile()
This method starts the scan and parse of the model file.

void setConnectionId(const TcUtString &id)
Set method.

void setNetManager(CAVERN_builder_NetManager *)
Set method.

TcGfxPfComponentAdapter* createGroupAdapter()
Method used to create a TdGfxPfGroupAdapter or one of its derived classes.

void parseModel(fstream &inStream)
Called after reading a model description to instantiate a TcGfxComponent.

void readModel(fstream &inStream)
Performs a scan of a model description.

void parseLoading(TcGfxComponent::LoadType &loadType, TcGfxComponent::LoadState &loadState)
Determines load state.

void shareModel(CAVERN_builder_ModelAttributes &curModelAtts)
Sends a shared model to the Network Manager.

void addToParent(TcGfxComponent *)
Adds a child TcGfxComponent to a parent TcGfxComponent.

void handleModelErrors(const ErrorType &err, const int &line, const TcUtString &arg, const TcUtString &type)
This method deals with parse errors.

void loadComponent( const TcUtString &compName, const TcGfxComponent::LoadType &ldType)
Sends a loadGeometry message to a TcGfxComponent when a load directive is encountered.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de