#include <sceneservice.h>
Public Types | |
| using | SceneSet = std::unordered_set< Scene * > |
Public Member Functions | |
| SceneService (ServiceConfiguration *configuration) | |
| virtual | ~SceneService ()=default |
| const SceneSet & | getScenes () const |
Public Member Functions inherited from Service | |
| UNPREFIXED_MODULE_NAME_INPUTCASE | Service (ServiceConfiguration *configuration) |
| virtual void | getDependentServices (std::vector< rtti::TypeInfo > &dependencies) override |
| virtual bool | init (nap::utility::ErrorState &errorState) override |
| virtual void | shutdown () override |
| Service (ServiceConfiguration *configuration) | |
| virtual | ~Service () |
| Core & | getCore () |
| const Core & | getCore () const |
| std::string | getTypeName () const |
| const Module & | getModule () const |
| Service (Service &)=delete | |
| Service & | operator= (const Service &)=delete |
| Service (Service &&)=delete | |
| Service & | operator= (Service &&)=delete |
Protected Member Functions | |
| virtual void | registerObjectCreators (rtti::Factory &factory) override |
| virtual void | update (double deltaTime) override |
| virtual void | postUpdate (double deltaTime) override |
Protected Member Functions inherited from Service | |
| virtual void | getDependentServices (std::vector< rtti::TypeInfo > &dependencies) |
| virtual void | created () |
| virtual bool | init (utility::ErrorState &error) |
| virtual void | preUpdate (double deltaTime) |
| virtual void | preShutdown () |
| virtual void | shutdown () |
| virtual void | preResourcesLoaded () |
| virtual void | postResourcesLoaded () |
| template<typename SERVICE_CONFIG > | |
| SERVICE_CONFIG * | getConfiguration () |
| template<typename SERVICE_CONFIG > | |
| const SERVICE_CONFIG * | getConfiguration () const |
| std::string | getIniFilePath () const |
| std::string | getIniFilePath (const std::string &appendix) const |
Manages all the currently loaded scenes and updates the transform hierarchy from the root of every scene. Transformation updates are performed after application update.
| SceneService | ( | ServiceConfiguration * | configuration | ) |
|
virtualdefault |
| const SceneSet& getScenes | ( | ) | const |
|
overrideprotectedvirtual |
Recursively updates the transform hierarchy for all scenes
Reimplemented from Service.
|
overrideprotectedvirtual |
Object creation registration
Reimplemented from Service.
|
overrideprotectedvirtual |
Updates all scenes.
Reimplemented from Service.