Class System
Defined in File input-interface.h
Inheritance Relationships
Derived Type
public CE::Platform::GLFW::InputSystem(Class InputSystem)
Class Documentation
-
class System
Platform-thread adapter.
State is always available; supported Events/Text channels are independently requested through scoped capture handles. Backends latch capture before pumping and publish the complete poll once. The initialized window is borrowed and must survive callback detachment. Bindings, device queries and polling belong to the platform owner; capture/ focus requests and acquired immutable handles may cross threads.
Subclassed by CE::Platform::GLFW::InputSystem
Public Functions
-
virtual ~System() = default
-
virtual void poll() = 0
-
virtual void deinitialize() = 0
-
inline virtual std::shared_ptr<const Actions::Snapshot> action_snapshot()
Declaration:
[[nodiscard]]
-
inline virtual bool supports_focus() const
Declaration:
[[nodiscard]]
-
virtual std::shared_ptr<const PollSnapshot> poll_snapshot()
Declaration:
[[nodiscard]]
Protected Functions
-
void begin_input_poll()
-
std::shared_ptr<const PollSnapshot> publish_input(ObservationClock::time_point observed_at = ObservationClock::now())
Declaration:
[[nodiscard]]
-
void discard_captured_input()
-
virtual ~System() = default