openMSX
|
#include <ReverseManager.hh>
Public Member Functions | |
ReverseManager (MSXMotherBoard &motherBoard) | |
~ReverseManager () | |
void | registerEventDelay (EventDelay &eventDelay_) |
void | setReRecordCount (unsigned count) |
bool | isReplaying () const |
void | stopReplay (EmuTime::param time) noexcept |
template<typename T , typename... Args> | |
StateChange & | record (EmuTime::param time, Args &&...args) |
bool | isCollecting () const |
bool | isViewOnlyMode () const |
double | getBegin () const |
double | getEnd () const |
double | getCurrent () const |
auto | getSnapshotTimes () const |
Static Public Attributes | |
static constexpr std::string_view | REPLAY_DIR = "replays" |
static constexpr std::string_view | REPLAY_EXTENSION = ".omr" |
Friends | |
struct | Replay |
Definition at line 31 of file ReverseManager.hh.
|
explicit |
Definition at line 137 of file ReverseManager.cc.
References isCollecting(), isReplaying(), openmsx::EventDistributor::registerEventListener(), and openmsx::TAKE_REVERSE_SNAPSHOT.
openmsx::ReverseManager::~ReverseManager | ( | ) |
Definition at line 150 of file ReverseManager.cc.
References openmsx::TAKE_REVERSE_SNAPSHOT, and openmsx::EventDistributor::unregisterEventListener().
double openmsx::ReverseManager::getBegin | ( | ) | const |
Definition at line 209 of file ReverseManager.cc.
References begin(), and isCollecting().
double openmsx::ReverseManager::getCurrent | ( | ) | const |
Definition at line 220 of file ReverseManager.cc.
References isCollecting().
double openmsx::ReverseManager::getEnd | ( | ) | const |
Definition at line 215 of file ReverseManager.cc.
References end(), and isCollecting().
|
inline |
Definition at line 70 of file ReverseManager.hh.
References view::transform().
|
inline |
Definition at line 65 of file ReverseManager.hh.
Referenced by getBegin(), getCurrent(), getEnd(), ReverseManager(), and openmsx::ImGuiReverseBar::showMenu().
bool openmsx::ReverseManager::isReplaying | ( | ) | const |
Definition at line 156 of file ReverseManager.cc.
Referenced by openmsx::StateChangeDistributor::isReplaying(), record(), and ReverseManager().
bool openmsx::ReverseManager::isViewOnlyMode | ( | ) | const |
Definition at line 205 of file ReverseManager.cc.
References openmsx::MSXMotherBoard::getStateChangeDistributor(), and openmsx::StateChangeDistributor::isViewOnlyMode().
|
inline |
Definition at line 58 of file ReverseManager.hh.
References isReplaying().
Referenced by openmsx::StateChangeDistributor::distributeNew().
|
inline |
Definition at line 43 of file ReverseManager.hh.
Referenced by openmsx::EventDelay::EventDelay().
|
inline |
Definition at line 50 of file ReverseManager.hh.
Referenced by openmsx::MSXMotherBoard::serialize().
|
noexcept |
Definition at line 902 of file ReverseManager.cc.
References begin(), end(), and ranges::find_if().
Referenced by openmsx::StateChangeDistributor::stopReplay().
|
friend |
Definition at line 169 of file ReverseManager.hh.
|
staticconstexpr |
Definition at line 34 of file ReverseManager.hh.
Referenced by openmsx::ImGuiReverseBar::showMenu().
|
staticconstexpr |
Definition at line 35 of file ReverseManager.hh.
Referenced by openmsx::ImGuiReverseBar::showMenu().