Classes | Public Member Functions | Static Public Attributes | Friends | List of all members
openmsx::ReverseManager Class Referencefinal

#include <ReverseManager.hh>

Inheritance diagram for openmsx::ReverseManager:
Inheritance graph
Collaboration diagram for openmsx::ReverseManager:
Collaboration graph

Public Member Functions

 ReverseManager (MSXMotherBoard &motherBoard)
 ~ReverseManager ()
void registerKeyboard (Keyboard &keyboard_)
void registerEventDelay (EventDelay &eventDelay_)
void setReRecordCount (unsigned count)
bool isReplaying () const
void stopReplay (EmuTime::param time) noexcept
template<typename T , typename... Args>
StateChangerecord (EmuTime::param time, Args &&...args)
bool isCollecting () const
bool isViewOnlyMode () const
double getBegin () const
double getEnd () const
double getCurrent () const
std::vector< double > getSnapshotTimes () const

Static Public Attributes

static constexpr std::string_view REPLAY_DIR = "replays"
static constexpr std::string_view REPLAY_EXTENSION = ".omr"


struct Replay

Detailed Description

Definition at line 29 of file ReverseManager.hh.

Constructor & Destructor Documentation

◆ ReverseManager()

openmsx::ReverseManager::ReverseManager ( MSXMotherBoard motherBoard)

◆ ~ReverseManager()

openmsx::ReverseManager::~ReverseManager ( )

Member Function Documentation

◆ getBegin()

double openmsx::ReverseManager::getBegin ( ) const

Definition at line 206 of file

References begin(), and isCollecting().

◆ getCurrent()

double openmsx::ReverseManager::getCurrent ( ) const

Definition at line 217 of file

References isCollecting().

◆ getEnd()

double openmsx::ReverseManager::getEnd ( ) const

Definition at line 212 of file

References end(), and isCollecting().

◆ getSnapshotTimes()

std::vector< double > openmsx::ReverseManager::getSnapshotTimes ( ) const

Definition at line 222 of file

References to_vector(), and view::transform().

◆ isCollecting()

bool openmsx::ReverseManager::isCollecting ( ) const

◆ isReplaying()

bool openmsx::ReverseManager::isReplaying ( ) const

◆ isViewOnlyMode()

bool openmsx::ReverseManager::isViewOnlyMode ( ) const

◆ record()

template<typename T , typename... Args>
StateChange & openmsx::ReverseManager::record ( EmuTime::param  time,
Args &&...  args 

Definition at line 63 of file ReverseManager.hh.

References isReplaying().

Referenced by openmsx::StateChangeDistributor::distributeNew().

◆ registerEventDelay()

void openmsx::ReverseManager::registerEventDelay ( EventDelay eventDelay_)

Definition at line 48 of file ReverseManager.hh.

Referenced by openmsx::EventDelay::EventDelay().

◆ registerKeyboard()

void openmsx::ReverseManager::registerKeyboard ( Keyboard keyboard_)

Definition at line 42 of file ReverseManager.hh.

Referenced by openmsx::Keyboard::Keyboard().

◆ setReRecordCount()

void openmsx::ReverseManager::setReRecordCount ( unsigned  count)

Definition at line 55 of file ReverseManager.hh.

Referenced by openmsx::MSXMotherBoard::serialize().

◆ stopReplay()

void openmsx::ReverseManager::stopReplay ( EmuTime::param  time)

Definition at line 903 of file

References begin(), end(), and ranges::find_if().

Referenced by openmsx::StateChangeDistributor::stopReplay().

Friends And Related Symbol Documentation

◆ Replay

friend struct Replay

Definition at line 173 of file ReverseManager.hh.

Member Data Documentation


constexpr std::string_view openmsx::ReverseManager::REPLAY_DIR = "replays"

Definition at line 32 of file ReverseManager.hh.

Referenced by openmsx::ImGuiReverseBar::showMenu().


constexpr std::string_view openmsx::ReverseManager::REPLAY_EXTENSION = ".omr"

Definition at line 33 of file ReverseManager.hh.

Referenced by openmsx::ImGuiReverseBar::showMenu().

The documentation for this class was generated from the following files: