|
Aria 3.2.6
C++23 MVVM framework — reactive, coroutine-first, ABI-layered
|
Adapter that talks to FakeView. More...
#include <fake_adapter.hpp>
Public Member Functions | |
| std::string_view | platform_name () const noexcept override |
| void | set_text (IView &v, std::string_view t) override |
| std::string | get_text (IView &v) override |
| ::aria::Subscription | on_text_changed (IView &v, std::function< void(std::string_view)> cb) override |
| void | set_bool (IView &v, bool b) override |
| bool | get_bool (IView &v) override |
| ::aria::Subscription | on_bool_changed (IView &v, std::function< void(bool)> cb) override |
| void | set_int (IView &v, int n) override |
| int | get_int (IView &v) override |
| ::aria::Subscription | on_int_changed (IView &v, std::function< void(int)> cb) override |
| void | set_int64 (IView &v, std::int64_t n) override |
| std::int64_t | get_int64 (IView &v) override |
| ::aria::Subscription | on_int64_changed (IView &v, std::function< void(std::int64_t)> cb) override |
| void | set_uint64 (IView &v, std::uint64_t n) override |
| std::uint64_t | get_uint64 (IView &v) override |
| ::aria::Subscription | on_uint64_changed (IView &v, std::function< void(std::uint64_t)> cb) override |
| void | set_float (IView &v, float f) override |
| float | get_float (IView &v) override |
| ::aria::Subscription | on_float_changed (IView &v, std::function< void(float)> cb) override |
| void | set_double (IView &v, double d) override |
| double | get_double (IView &v) override |
| ::aria::Subscription | on_double_changed (IView &v, std::function< void(double)> cb) override |
| void | set_visible (IView &v, bool b) override |
| void | set_enabled (IView &v, bool b) override |
| ::aria::Subscription | on_click (IView &v, std::function< void()> cb) override |
| Public Member Functions inherited from aria::binding::IViewAdapter | |
| virtual | ~IViewAdapter () |
Static Public Member Functions | |
| static void | user_type (FakeView &v, std::string text) |
| Test helper: simulate user typing. | |
| static void | user_click (FakeView &v) |
| Test helper: simulate user clicking. | |
| static void | user_toggle (FakeView &v, bool b) |
| Test helper: simulate user toggling. | |
Adapter that talks to FakeView.
|
inlinenodiscardoverridevirtualnoexcept |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlineoverridevirtual |
Implements aria::binding::IViewAdapter.
|
inlinestatic |
Test helper: simulate user typing.
|
inlinestatic |
Test helper: simulate user clicking.
|
inlinestatic |
Test helper: simulate user toggling.