1#ifndef MSXPRINTERPORTLOGGER_HH
2#define MSXPRINTERPORTLOGGER_HH
10class CommandController;
18 [[nodiscard]]
bool getStatus(EmuTime::param time)
override;
19 void setStrobe(
bool strobe, EmuTime::param time)
override;
20 void writeData(uint8_t data, EmuTime::param time)
override;
23 [[nodiscard]] std::string_view
getName()
const override;
28 template<
typename Archive>
29 void serialize(Archive& ar,
unsigned version);
40 bool prevStrobe =
true;
Represents something you can plug devices into.
void unplugHelper(EmuTime::param time) override
void setStrobe(bool strobe, EmuTime::param time) override
Sets the strobe signal: false = low, true = high.
void serialize(Archive &ar, unsigned version)
void plugHelper(Connector &connector, EmuTime::param time) override
std::string_view getName() const override
Name used to identify this pluggable.
void writeData(uint8_t data, EmuTime::param time) override
Sets the data signals.
bool getStatus(EmuTime::param time) override
Returns the STATUS signal: false = low = ready, true = high = not ready.
std::string_view getDescription() const override
Description for this pluggable.
This file implemented 3 utility functions: