openMSX
|
This class is used to for Tcl commands that directly influence the MSX state (e.g. More...
#include <RecordedCommand.hh>
Public Member Functions | |
MSXCommandEvent ()=default | |
MSXCommandEvent (EmuTime::param time, std::span< const TclObject > tokens) | |
const auto & | getTokens () const |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Public Member Functions inherited from openmsx::StateChange | |
virtual | ~StateChange ()=default |
EmuTime::param | getTime () const |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned) |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::StateChange | |
StateChange () | |
StateChange (EmuTime::param time_) | |
This class is used to for Tcl commands that directly influence the MSX state (e.g.
plug, disk<x>, cassetteplayer, reset). It's passed via an event because the recording needs to see these.
Definition at line 21 of file RecordedCommand.hh.
|
default |
openmsx::MSXCommandEvent::MSXCommandEvent | ( | EmuTime::param | time, |
std::span< const TclObject > | tokens | ||
) |
Definition at line 90 of file RecordedCommand.cc.
|
inline |
Definition at line 26 of file RecordedCommand.hh.
void openmsx::MSXCommandEvent::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 97 of file RecordedCommand.cc.
References t, to_vector(), and view::transform().