A SelectableListener that safely handles listener to a Selectable and uses a lambda for its callback.
More...
#include <tracktion_Selectable.h>
A SelectableListener that safely handles listener to a Selectable and uses a lambda for its callback.
◆ LambdaSelectableListener() [1/2]
| engine::LambdaSelectableListener::LambdaSelectableListener |
( |
| ) |
|
|
default |
Constructs an empty listener.
◆ ~LambdaSelectableListener()
| engine::LambdaSelectableListener::~LambdaSelectableListener |
( |
| ) |
|
|
override |
◆ LambdaSelectableListener() [2/2]
| engine::LambdaSelectableListener::LambdaSelectableListener |
( |
Selectable & |
s | ) |
|
◆ reset()
| void engine::LambdaSelectableListener::reset |
( |
Selectable * |
s = nullptr | ) |
|
◆ onSelectableChanged
| std::function<void()> engine::LambdaSelectableListener::onSelectableChanged |
◆ onSelectableAboutToBeDeleted
| std::function<void()> engine::LambdaSelectableListener::onSelectableAboutToBeDeleted |
The documentation for this class was generated from the following file: