#include <include/caf/events/module_state_event.h>
Check if the selected module reported the selected state.
The function can be used in event handler to verify if received module state event informs that selected module reported selected state. The MODULE_ID can be used to get module ID of module with selected name.
- Parameters
-
[in] | event | Pointer to handled module state event. |
[in] | module_id | ID of the selected module. |
[in] | state | Selected module state. |
- Return values
-
true | The module state event informs that selected module reported selected state. Otherwise, false is returned. |