16#include "SubComponent.h"
20class SerialPort final :
public SubComponent,
public Inspectable<Void, SerialPortStats> {
22 Descriptions descriptions = {{
25 .description =
"Serial Port (IEC Bus)"
53 bool transferring =
false;
62 SerialPort(C64 &ref) : SubComponent(ref) { };
66 SerialPort& operator= (
const SerialPort& other) {
93 void serialize(T& worker)
111 } SERIALIZERS(serialize);
120 const Descriptions &getDescriptions()
const override {
return descriptions; }
124 void _dump(Category category, std::ostream& os)
const override;
125 void _reset(
bool hard)
override;
135 void setNeedsUpdate();
149 bool isTransferring()
const {
return transferring; }
152 void updateTransferStatus();
156 void updateIecLines();
161 bool _updateIecLines();
VirtualC64 project namespace.
Definition CmdQueue.cpp:16