タイプ
タイプ | 名前 | 説明 |
---|---|---|
std::unordered_map<B, std::unordered_map<EventStatus, std::vector<std::function<void()>>>> | Events |
コンストラクター
モディファイア | 名前 | 説明 |
---|---|---|
PressableEvents<B>() |
関数
アクセス | モディファイア | タイプ | 名前 | 説明 |
---|---|---|---|---|
public | void | bind(B inButton, EventStatus inStatus, std::function<void()> inExec) | ||
public | void | exec(B inButton, EventStatus inStatus) | ||
public | void | repeat() | ||
public | void | clear() | ||
private | void | store(B inButton, EventStatus inStatus) |
メンバ
アクセス | モディファイア | タイプ | 名前 | 説明 |
---|---|---|---|---|
private | FrameTelemetry | m_timer | ||
private | std::vector<B> | m_pressed | ||
private | Events | m_events |