ColorListener class

Base classes

class App::DefaultMessageListener
A class that inherits from App::IMessageListener and defines an implementation for the AddRef() and Release() metods.

Public functions

auto HandleMessage(uint32_t messageID, void* msg) -> bool virtual
Called every time a message is received.

Function documentation

bool ColorListener::HandleMessage(uint32_t messageID, void* msg) virtual

Called every time a message is received.

Parameters
messageID The ID of the message received.
msg The data of the message received, it might be nullptr.
Returns Whether the message was handled or not.

Only the messages with an ID this listener signed up for will call this event.