21 bool hasInitializedNodes =
false;
22 bool hasDeInitializedNodes =
false;
27 hasInitializedNodes =
true;
31 hasDeInitializedNodes =
true;
34 if (ImGui::MenuItem(
"Initialize all Nodes",
nullptr,
false, hasDeInitializedNodes))
44 if (ImGui::MenuItem(
"Reinitialize all Nodes",
nullptr,
false, hasInitializedNodes))
48 if (node->isInitialized())
50 node->doReinitialize();
58 if (ImGui::MenuItem(
"Deinitialize all Nodes",
nullptr,
false, hasInitializedNodes))
62 if (node->isInitialized())
64 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.