Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Member Functions | Friends | List of all members
smlt::SceneManager Class Reference
Inheritance diagram for smlt::SceneManager:
smlt::RefCounted< SceneManager > smlt::TwoPhaseConstructed

Public Member Functions

 SceneManager (Window *window)
bool has_scene (const std::string &route) const
SceneBasePtr resolve_scene (const std::string &route)
template<typename... Args>
void activate (const std::string &route, ActivateBehaviour behaviour, Args &&...args)
template<typename... Args>
void activate (const std::string &route, Args &&...args)
template<typename ... Args>
void preload (const std::string &route, Args &&...args)
template<typename ... Args>
void _preload_in_background (SceneBasePtr scene, Args &&...args)
template<typename ... Args>
Promise< void > preload_in_background (const std::string &route, Args &&...args)
void unload (const std::string &route)
void destroy_all ()
bool is_loaded (const std::string &route) const
void reset ()
SceneBasePtr active_scene () const
bool scene_queued_for_activation () const
template<typename T , typename... Args>
void register_scene (const std::string &name, Args &&... args)
template<typename T >
void register_scene (const std::string &name)
template<typename T >
std::shared_ptr< T > resolve_scene_as (const std::string &route)
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()


class Application

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< SceneManager >
typedef std::shared_ptr< SceneManagerptr
typedef std::weak_ptr< SceneManagerwptr
- Static Public Member Functions inherited from smlt::RefCounted< SceneManager >
static RefCounted< SceneManager >::ptr create (Args &&... args)
static RefCounted< SceneManager >::ptr create ()
- Protected Member Functions inherited from smlt::RefCounted< SceneManager >
 RefCounted (Args &&...)

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