MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
mostlyharmless_InputEventContext.h
Go to the documentation of this file.
1#ifndef MOSTLYHARMLESS_INPUTEVENTCONTEXT_H
2#define MOSTLYHARMLESS_INPUTEVENTCONTEXT_H
3#include "clap/events.h"
13 explicit InputEventContext(const clap_input_events_t* inputEventQueue);
22
27 [[nodiscard]] const clap_event_header_t* next() noexcept;
28
29 private:
30 void advance();
31
32 const clap_input_events_t* m_inputEventQueue{ nullptr };
33 std::uint32_t m_inputEventQueueSize;
34 const clap_event_header_t* m_nextEvent{ nullptr };
35 std::uint32_t m_nextEventIndex{ 0 };
36 };
37} // namespace mostly_harmless
38#endif
Contains classes and functions related to events.
Definition mostlyharmless_InputEventContext.h:4
InputEventContext(const clap_input_events_t *inputEventQueue)
const clap_event_header_t * next() noexcept