|
stmm-input-doc
0.17.0
|
Base class to store extra listener data. More...
Public Member Functions | |
| ListenerExtraData () noexcept | |
| Empty default constructor. More... | |
| virtual | ~ListenerExtraData () noexcept=default |
| virtual void | reset () noexcept |
| Resets the extra data. More... | |
Base class to store extra listener data.
Subclass this class to attach additional data to the listener. The subclass is constructed within BasicDeviceManager and must have a public constructor with no parameters. The lifetime of an instance is the same as the ListenerData object it is associated with.
|
inlinenoexcept |
Empty default constructor.
|
virtualdefaultnoexcept |
|
inlinevirtualnoexcept |
Resets the extra data.
Called by BasicDeviceManager::resetExtraDataOfAllListeners(). Override this function to clear the custom data in a subclass of ListenerExtraData.
1.8.13