nngn
Loading...
Searching...
No Matches
nngn::BindingGroup Class Reference

#include <group.h>

Collaboration diagram for nngn::BindingGroup:

Classes

struct  Info
 

Public Member Functions

BindingGroupnext (void) const
 
BindingGroupset_next (BindingGroup *p)
 
Info for_key (int key) const
 
Info for_event (int key, Input::Action action, Input::Modifier mods) const
 
bool add (lua_State *L, int key, Input::Selector s)
 
bool remove (lua_State *L, int key)
 

Private Attributes

std::unordered_map< int, Infom = {}
 
BindingGroupm_next = nullptr
 

Member Function Documentation

◆ add()

bool nngn::BindingGroup::add ( lua_State * L,
int key,
Input::Selector s )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ for_event()

auto nngn::BindingGroup::for_event ( int key,
Input::Action action,
Input::Modifier mods ) const

◆ for_key()

auto nngn::BindingGroup::for_key ( int key) const

◆ next()

BindingGroup * nngn::BindingGroup::next ( void ) const
inline
Here is the caller graph for this function:

◆ remove()

bool nngn::BindingGroup::remove ( lua_State * L,
int key )
Here is the call graph for this function:

◆ set_next()

BindingGroup * nngn::BindingGroup::set_next ( BindingGroup * p)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ m

std::unordered_map<int, Info> nngn::BindingGroup::m = {}
private

◆ m_next

BindingGroup* nngn::BindingGroup::m_next = nullptr
private

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