FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
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 AnimationLoaderPtr getAnimationLoader ()=0
 
virtual void setAtlasLoader (const AtlasLoaderPtr &atlasLoader)=0
 allows setting which atlas loader will be used to load atlas files More...
 
virtual AtlasLoaderPtr getAtlasLoader ()=0
 
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 43 of file iobjectloader.h.

Constructor & Destructor Documentation

◆ ~IObjectLoader()

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

Member Function Documentation

◆ getAnimationLoader()

virtual AnimationLoaderPtr FIFE::IObjectLoader::getAnimationLoader ( )
pure virtual

Implemented in FIFE::ObjectLoader.

Referenced by FIFE::MapLoader::getAnimationLoader(), FIFE::MapLoader::loadImportFile(), and ~IObjectLoader().

+ Here is the caller graph for this function:

◆ getAtlasLoader()

virtual AtlasLoaderPtr FIFE::IObjectLoader::getAtlasLoader ( )
pure virtual

Implemented in FIFE::ObjectLoader.

Referenced by FIFE::MapLoader::getAtlasLoader(), FIFE::MapLoader::loadImportFile(), and ~IObjectLoader().

+ Here is the caller graph for this function:

◆ isLoadable()

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(), and ~IObjectLoader().

+ Here is the caller graph for this function:

◆ load()

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(), and ~IObjectLoader().

+ Here is the caller graph for this function:

◆ setAnimationLoader()

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(), and ~IObjectLoader().

+ Here is the caller graph for this function:

◆ setAtlasLoader()

virtual void FIFE::IObjectLoader::setAtlasLoader ( const AtlasLoaderPtr atlasLoader)
pure virtual

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

Implemented in FIFE::ObjectLoader.

Referenced by FIFE::MapLoader::setAtlasLoader(), and ~IObjectLoader().

+ Here is the caller graph for this function:

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