77 std::function<
void(std::string_view)> cb)
override;
83 std::function<
void(
bool)> cb)
override;
89 std::function<
void(
int)> cb)
override;
95 std::function<
void(std::int64_t)> cb)
override;
101 std::function<
void(std::uint64_t)> cb)
override;
107 std::function<
void(
float)> cb)
override;
113 std::function<
void(
double)> cb)
override;
RAII handle to a single subscription.
Definition subscription.hpp:44
Abstract platform adapter — knows how to read/write/observe widgets.
Definition view_adapter.hpp:80
Abstract platform widget reference.
Definition view_adapter.hpp:28
Base class defaulting every IViewAdapter operation to the compliant "unsupported" behaviour required ...
Definition view_adapter_base.hpp:69
void set_float(IView &v, float value) override
Subscription on_int_changed(IView &v, std::function< void(int)> cb) override
double get_double(IView &v) override
float get_float(IView &v) override
Subscription on_double_changed(IView &v, std::function< void(double)> cb) override
void set_text(IView &v, std::string_view text) override
void set_int(IView &v, int value) override
~ViewAdapterBase() override
int get_int(IView &v) override
std::uint64_t get_uint64(IView &v) override
void set_visible(IView &v, bool visible) override
std::string get_text(IView &v) override
Subscription on_text_changed(IView &v, std::function< void(std::string_view)> cb) override
bool get_bool(IView &v) override
Subscription on_float_changed(IView &v, std::function< void(float)> cb) override
void set_uint64(IView &v, std::uint64_t value) override
Subscription on_uint64_changed(IView &v, std::function< void(std::uint64_t)> cb) override
virtual void report_unsupported(std::string_view op, const IView &v) const
Report that op has no implementation in this adapter.
std::int64_t get_int64(IView &v) override
Subscription on_int64_changed(IView &v, std::function< void(std::int64_t)> cb) override
void set_int64(IView &v, std::int64_t value) override
void set_enabled(IView &v, bool enabled) override
Subscription on_click(IView &v, std::function< void()> cb) override
Subscription on_bool_changed(IView &v, std::function< void(bool)> cb) override
void set_bool(IView &v, bool value) override
void set_double(IView &v, double value) override
#define ARIA_BINDING_API
Definition export.hpp:39
Definition binding_engine.hpp:25