FIFE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FIFE::IObjectLoader Class Referenceabstract

Interface class that all object loaders should derive from. More...

#include <iobjectloader.h>

+ Inheritance diagram for FIFE::IObjectLoader:
+ Collaboration diagram for FIFE::IObjectLoader:

Public Member Functions

virtual ~IObjectLoader ()
 
virtual void setAnimationLoader (const AnimationLoaderPtr &animationLoader)=0
 allows setting which animation loader will be used to load animation files More...
 
virtual bool isLoadable (const std::string &filename) const =0
 determines whether the resource is in the correct format for this loader More...
 
virtual void load (const std::string &filename)=0
 responsible for loading the object resource and populating the engine More...
 

Detailed Description

Interface class that all object loaders should derive from.

Definition at line 42 of file iobjectloader.h.

Constructor & Destructor Documentation

virtual FIFE::IObjectLoader::~IObjectLoader ( )
inlinevirtual

Definition at line 44 of file iobjectloader.h.

Member Function Documentation

virtual bool FIFE::IObjectLoader::isLoadable ( const std::string &  filename) const
pure virtual

determines whether the resource is in the correct format for this loader

Implemented in FIFE::ObjectLoader.

Referenced by FIFE::MapLoader::loadImportFile().

+ Here is the caller graph for this function:

virtual void FIFE::IObjectLoader::load ( const std::string &  filename)
pure virtual

responsible for loading the object resource and populating the engine

Implemented in FIFE::ObjectLoader.

Referenced by FIFE::MapLoader::loadImportFile().

+ Here is the caller graph for this function:

virtual void FIFE::IObjectLoader::setAnimationLoader ( const AnimationLoaderPtr animationLoader)
pure virtual

allows setting which animation loader will be used to load animation files

Implemented in FIFE::ObjectLoader.

Referenced by FIFE::MapLoader::setAnimationLoader().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: