|
Unravel Engine C++ Reference
|
#include <lambda_actions.h>
Public Types | |
| using | action_t = std::function<void()> |
Public Member Functions | |
| untracked_action_t (action_t act) | |
| void | do_action () override |
| void | undo_action () override |
| auto | is_undoable () const -> bool override |
Public Member Functions inherited from crtp_meta_type< untracked_action_t, editing_action_t > | |
| virtual auto | get_meta_type () const -> entt::meta_type |
| auto | is () const -> bool |
| auto | is (const entt::meta_type &type) const -> bool |
| virtual auto | as_derived () -> entt::meta_any |
Public Attributes | |
| action_t | action {} |
Additional Inherited Members | |
Static Public Member Functions inherited from crtp_meta_type< untracked_action_t, editing_action_t > | |
| static auto | get_static_meta_type () -> entt::meta_type |
Definition at line 10 of file lambda_actions.h.
| using unravel::untracked_action_t::action_t = std::function<void()> |
Definition at line 12 of file lambda_actions.h.
| unravel::untracked_action_t::untracked_action_t | ( | action_t | act | ) |
Definition at line 7 of file lambda_actions.cpp.
|
override |
Definition at line 12 of file lambda_actions.cpp.
|
override |
Definition at line 25 of file lambda_actions.cpp.
|
override |
Definition at line 20 of file lambda_actions.cpp.
| action_t unravel::untracked_action_t::action {} |
Definition at line 13 of file lambda_actions.h.