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

#include <ReverseManager.hh>

Inheritance diagram for openmsx::ReverseManager:
Inheritance graph
[legend]
Collaboration diagram for openmsx::ReverseManager:
Collaboration graph
[legend]

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)
 

Friends

struct Replay
 

Detailed Description

Definition at line 28 of file ReverseManager.hh.

Constructor & Destructor Documentation

◆ ReverseManager()

openmsx::ReverseManager::ReverseManager ( MSXMotherBoard motherBoard)
explicit

◆ ~ReverseManager()

openmsx::ReverseManager::~ReverseManager ( )

Member Function Documentation

◆ isReplaying()

bool openmsx::ReverseManager::isReplaying ( ) const

◆ record()

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

Definition at line 58 of file ReverseManager.hh.

References isReplaying().

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

◆ registerEventDelay()

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

Definition at line 43 of file ReverseManager.hh.

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

◆ registerKeyboard()

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

Definition at line 37 of file ReverseManager.hh.

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

◆ setReRecordCount()

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

Definition at line 50 of file ReverseManager.hh.

References LZ4::count().

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

◆ stopReplay()

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

Definition at line 883 of file ReverseManager.cc.

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

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

Friends And Related Function Documentation

◆ Replay

friend struct Replay
friend

Definition at line 163 of file ReverseManager.hh.


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