openMSX
StateChangeListener.hh
Go to the documentation of this file.
1#ifndef STATECHANGELISTENER_HH
2#define STATECHANGELISTENER_HH
3
4#include "EmuTime.hh"
5
6namespace openmsx {
7
8class StateChange;
9
11{
12public:
17
23 virtual void signalStateChange(const StateChange& event) = 0;
24
32 virtual void stopReplay(EmuTime::param time) noexcept = 0;
33
34protected:
37};
38
39} // namespace openmsx
40
41#endif
StateChangeListener(const StateChangeListener &)=delete
StateChangeListener & operator=(const StateChangeListener &)=delete
virtual void signalStateChange(const StateChange &event)=0
This method gets called when a StateChange event occurs.
StateChangeListener & operator=(StateChangeListener &&)=delete
virtual void stopReplay(EmuTime::param time) noexcept=0
This method gets called when we switch from replayed events to live events.
StateChangeListener(StateChangeListener &&)=delete
Base class for all external MSX state changing events.
This file implemented 3 utility functions:
Definition Autofire.cc:11