Audacity 3.2.0
|
#include <GlobalVariable.h>
Additional Inherited Members | |
Public Types inherited from GlobalHook< Tag, std::remove_pointer_t< decltype(DefaultFunction)>, DefaultFunction, Options... > | |
using | result_type = typename std::function< std::remove_pointer_t< decltype(DefaultFunction)> >::result_type |
using | Scope = typename GlobalVariable< Tag, const std::function< std::remove_pointer_t< decltype(DefaultFunction)> >, Default, Options... >::Scope |
Public Types inherited from GlobalVariable< Tag, const std::function< std::remove_pointer_t< decltype(DefaultFunction)> >, Default, Options... > | |
using | variable_type = GlobalVariable |
using | stored_type = const std::function< std::remove_pointer_t< decltype(DefaultFunction)> > |
using | mutable_type = std::remove_const_t< const std::function< std::remove_pointer_t< decltype(DefaultFunction)> > > |
Static Public Member Functions inherited from GlobalHook< Tag, std::remove_pointer_t< decltype(DefaultFunction)>, DefaultFunction, Options... > | |
static result_type | Call (Arguments &&...arguments) |
Null check of the installed function is done for you. More... | |
Static Public Member Functions inherited from GlobalVariable< Tag, const std::function< std::remove_pointer_t< decltype(DefaultFunction)> >, Default, Options... > | |
static stored_type & | Get () |
Get the installed value. More... | |
static auto | Set (std::conditional_t< ScopedOnly, dummy, mutable_type > replacement) -> std::conditional_t< ScopedOnly, void, mutable_type > |
Move in a new value, move out and return the previous. More... | |
Global function-valued variable, with a default implementation given, and adding a convenient Call()
DefaultFunction | names a function or static member function |
Definition at line 205 of file GlobalVariable.h.