Owns one ParamPort listener registration.
More...
#include <editor_host.hpp>
Owns one ParamPort listener registration.
Destroying it, or calling reset(), removes the listener. Move-only.
◆ ParamSubscription() [1/4]
| pulp::format::ParamSubscription::ParamSubscription |
( |
| ) |
|
|
default |
◆ ParamSubscription() [2/4]
| pulp::format::ParamSubscription::ParamSubscription |
( |
std::function< void()> | cancel | ) |
|
|
inlineexplicitnoexcept |
Adopt a registration; cancel runs exactly once, on reset or destruction.
Port implementations construct these.
◆ ParamSubscription() [3/4]
| pulp::format::ParamSubscription::ParamSubscription |
( |
ParamSubscription && | other | ) |
|
|
inlinenoexcept |
◆ ParamSubscription() [4/4]
| pulp::format::ParamSubscription::ParamSubscription |
( |
const ParamSubscription & | | ) |
|
|
delete |
◆ ~ParamSubscription()
| pulp::format::ParamSubscription::~ParamSubscription |
( |
| ) |
|
|
inline |
◆ operator bool()
| pulp::format::ParamSubscription::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ reset()
| void pulp::format::ParamSubscription::reset |
( |
| ) |
|
|
inlinenoexcept |
Remove the listener now. Idempotent.
The documentation for this class was generated from the following file:
- /home/runner/work/pulp/pulp/core/format/include/pulp/format/editor_host.hpp