20 bool hasInitializedNodes =
false;
21 bool hasDeInitializedNodes =
false;
26 hasInitializedNodes =
true;
30 hasDeInitializedNodes =
true;
33 if (ImGui::MenuItem(
"Initialize all Nodes",
nullptr,
false, hasDeInitializedNodes))
43 if (ImGui::MenuItem(
"Reinitialize all Nodes",
nullptr,
false, hasInitializedNodes))
47 if (node->isInitialized())
49 node->doReinitialize();
57 if (ImGui::MenuItem(
"Deinitialize all Nodes",
nullptr,
false, hasInitializedNodes))
61 if (node->isInitialized())
63 node->doDeinitialize();
Utility class for logging to console and file.
#define LOG_INFO
Info to the user on the state of the program.
@ Initialized
Node is initialized (green)
@ Deinitialized
Node is deinitialized (red)
bool isRunning() noexcept
Checks if the thread is running.
void start()
Starts the Thread.
void stop()
Stops the Thread.
const std::vector< Node * > & m_Nodes()
List of all registered Nodes.