#include <gls_metadata_attributes.h>
|
std::function< void()> | _func |
| The callback function pointer to call.
|
|
WeakRef< WeakReferenceable > | _object |
| The object associated with this callback, callback will only be called if this object is valid.
|
|
The AttributeFnCallback class. An implementation of the AttributeObserver interface.
◆ AttributeFnCallback()
Constructor
- Note
- Should not be called directly, call Connect().
- Parameters
-
object | The object associated with this callback. |
func | The callback function pointer to call. |
◆ Call()
Call the callback with the provided display event.
- Parameters
-
attr | The attribute associated with this callback. |
Implements AttributeObserver.
◆ IsValid()
virtual bool IsValid |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: