High-level API for associating names with input actions.
More...
#include <InputActionMapper.hpp>
|
|
| InputActionMapper (void) |
| | Default constructor.
|
|
| ~InputActionMapper (void) |
| | Destructor.
|
| bool | insert (const std::string &key, const InputAction &action, const event_callback &callback) |
| | Insert an action mapping.
|
|
bool | erase (const std::string &key) |
| | Remove an action mapping.
|
|
| const ActionMap & | get (void) const |
| | Obtain the input map's contents.
|
|
| ActionMap | input_map_ |
| | Hash container of input actions, sorted by name.
|
High-level API for associating names with input actions.
Definition at line 46 of file InputActionMapper.hpp.
◆ ActionMap
| typedef std::multimap<std::string, std::shared_ptr<InputAction> > nom::InputActionMapper::ActionMap |
◆ ActionPair
| typedef std::pair<std::string, std::shared_ptr<InputAction> > nom::InputActionMapper::ActionPair |
◆ SelfType
◆ get()
| const ActionMap & nom::InputActionMapper::get |
( |
void | | ) |
const |
|
private |
Obtain the input map's contents.
◆ insert()
| bool nom::InputActionMapper::insert |
( |
const std::string & | key, |
|
|
const InputAction & | action, |
|
|
const event_callback & | callback ) |
◆ InputStateMapper
| friend class InputStateMapper |
|
friend |
◆ input_map_
| ActionMap nom::InputActionMapper::input_map_ |
|
private |
The documentation for this class was generated from the following file: