Doxybook2 Example
Classes | Public Member Functions | List of all members
Engine::Assets::Asset Class Referenceabstract

#include <Asset.hpp>

Classes

union  Event
 

Public Member Functions

 Asset (const std::string &name)
 
virtual ~Asset ()=0
 
virtual void load ()
 Call this method to load the asset. More...
 
virtual void unload ()
 Call this method to unload the asset. More...
 
const Event & getEvent () const
 Returns the current status of the asset. More...
 

Constructor & Destructor Documentation

◆ Asset()

Engine::Assets::Asset::Asset ( const std::string &  name)
explicit

◆ ~Asset()

virtual Engine::Assets::Asset::~Asset ( )
pure virtual

Member Function Documentation

◆ getEvent()

const Event& Engine::Assets::Asset::getEvent ( ) const
inline

Returns the current status of the asset.

Use this to determine the state, for example if the assets is being loaded or unloaded.

◆ load()

virtual void Engine::Assets::Asset::load ( )
virtual

Call this method to load the asset.

◆ unload()

virtual void Engine::Assets::Asset::unload ( )
virtual

Call this method to unload the asset.


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