Public Member Functions | |
StateManager (ReadConfig *readConfig, bool *success) | |
bool | check (log_msg_t *msg) |
void | askForSystemState (OutBuffer *outBuffer) |
StateManager::StateManager | ( | ReadConfig * | readConfig, |
bool * | success | ||
) |
Initialize the StateManager The tags IN and OUT are always important.
readConfig | ReadConfig reference |
success | used to indicated if the initialisation was successfull. |
void StateManager::askForSystemState | ( | OutBuffer * | outBuffer | ) |
Call by the LogCentraTool_impl to send the current SystemState to a new tool.
toolName | name of the tool to send the SystemState |
bool StateManager::check | ( | log_msg_t * | msg | ) |
To know if a message must be broadcast to all Tools By the same time register it if necessary (Important Tag)
msg | Message to check and/or register |