iv::InputSystem Class Reference

#include <InputSystem.hpp>

Public Member Functions

 InputSystem (SystemContainer *sc, InputSource *source)
 
virtual ~InputSystem ()
 
virtual std::string debug_name () const override
 
virtual void status (TextDebugView *view) override
 
virtual bool flushSystem () override
 
void window_size (int2)
 
int2 window_size ()
 
int2 input_position (Input::Key key, int device_id)
 
float input_value (Input::Key key, int device_id)
 
unsigned input_character ()
 
void node_register (InputNode *)
 
void node_unregister (InputNode *)
 
- Public Member Functions inherited from iv::System
 System (SystemContainer *sc)
 
virtual ~System ()
 
SystemContainersystem_container () const
 
void retain ()
 
void release ()
 
- Public Member Functions inherited from iv::Context
 Context ()
 
virtual ~Context ()
 
template<class ... Items>
void log (SrcInfo const &info, LogId id, Items const &... items) const
 
bool log_enabled (LogId id) const
 
template<class ... Items>
void warning (SrcInfo const &info, Items const &... items) const
 

Additional Inherited Members

- Protected Member Functions inherited from iv::System
virtual bool log_process_enabled (LogId id) const override final
 
virtual void log_process (SrcInfo const &info, LogId id, std::string const &message) const override final
 

Detailed Description

Definition at line 15 of file InputSystem.hpp.

Constructor & Destructor Documentation

◆ InputSystem()

iv::InputSystem::InputSystem ( SystemContainer sc,
InputSource source 
)

Definition at line 12 of file InputSystem.cpp.

◆ ~InputSystem()

virtual iv::InputSystem::~InputSystem ( )
inlinevirtual

Definition at line 19 of file InputSystem.hpp.

Member Function Documentation

◆ debug_name()

virtual std::string iv::InputSystem::debug_name ( ) const
inlineoverridevirtual

Reimplemented from iv::System.

Definition at line 20 of file InputSystem.hpp.

◆ status()

void iv::InputSystem::status ( TextDebugView view)
overridevirtual

Reimplemented from iv::System.

Definition at line 20 of file InputSystem.cpp.

◆ flushSystem()

bool iv::InputSystem::flushSystem ( )
overridevirtual

Reimplemented from iv::System.

Definition at line 24 of file InputSystem.cpp.

◆ window_size() [1/2]

void iv::InputSystem::window_size ( int2  val)

Definition at line 94 of file InputSystem.cpp.

◆ window_size() [2/2]

int2 iv::InputSystem::window_size ( )

Definition at line 89 of file InputSystem.cpp.

◆ input_position()

int2 iv::InputSystem::input_position ( Input::Key  key,
int  device_id 
)

Definition at line 99 of file InputSystem.cpp.

◆ input_value()

float iv::InputSystem::input_value ( Input::Key  key,
int  device_id 
)

Definition at line 104 of file InputSystem.cpp.

◆ input_character()

unsigned iv::InputSystem::input_character ( )

Definition at line 109 of file InputSystem.cpp.

◆ node_register()

void iv::InputSystem::node_register ( InputNode node)

Definition at line 114 of file InputSystem.cpp.

◆ node_unregister()

void iv::InputSystem::node_unregister ( InputNode node)

Definition at line 119 of file InputSystem.cpp.


The documentation for this class was generated from the following files: