1 #ifndef FINISHFRAMEEVENT_HH
2 #define FINISHFRAMEEVENT_HH
28 , thisSource(thisSource_), selectedSource(selectedSource_)
33 [[nodiscard]]
int getSource()
const {
return thisSource; }
35 [[nodiscard]]
bool isSkipped()
const {
return skipped; }
36 [[nodiscard]]
bool needRender()
const {
return !skipped && (thisSource == selectedSource); }
47 const auto& e = checked_cast<const FinishFrameEvent&>(other);
49 std::tuple(e.getSource(), e.getSelectedSource(), e.isSkipped());
54 const int selectedSource;
This event is send when a device (v99x8, v9990, video9000, laserdisc) reaches the end of a frame.
FinishFrameEvent(int thisSource_, int selectedSource_, bool skipped_)
TclObject toTclList() const override
Similar to toString(), but retains the structure of the event.
int getSelectedSource() const
bool equalImpl(const Event &other) const override
This file implemented 3 utility functions:
@ OPENMSX_FINISH_FRAME_EVENT
Sent when VDP (V99x8 or V9990) reaches the end of a frame.
TclObject makeTclList(Args &&... args)