SpiecsEngine
 
Loading...
Searching...
No Matches

◆ ~Application()

Spices::Application::~Application ( )
virtual

Destructor Function.

Destroy our Specific World.

Release ThreadPool.

Destroy all Systems.

Shutdown Log Class.

Destroy our Specific World.

Release ThreadPool.

Destroy all Systems.

Shutdown Log Class.

Definition at line 48 of file Application.cpp.

49 {
51
55 FrameInfo::Get().m_World = nullptr;
56
60 ThreadModel::Get()->ShutDownThreadModel();
61
66 .PopSystem("SlateSystem")
67 .PopSystem("ResourceSystem")
68 .PopSystem("RenderSystem")
69 .PopSystem("NativeScriptSystem");
70
75 }
#define SPICES_PROFILE_ZONE
static FrameInfo & Get()
Get FrameInfo.
Definition FrameInfo.cpp:14
std::shared_ptr< World > m_World
The shared pointer of specific world.
Definition FrameInfo.h:94
static void ShutDown()
Shutdown Log.
Definition Log.cpp:82
static SystemManager & Get()
Get Static SystemManager.
SystemManager & PopSystem(const std::string &systemName)
Push a system to this manager.
static std::shared_ptr< ThreadModel > Get()
Get ThreadModel single instance.

References Spices::FrameInfo::Get(), Spices::SystemManager::Get(), Spices::SystemManager::PopSystem(), and Spices::Log::ShutDown().