| 1 | #cxx . . $ `<file>/src/VDPDataStore.h`/ifndef VDPDATASTORE_H |
| 2 | #define VDPDATASTORE_Hcxx . . $ `src/VDPDataStore.h:2:9`! |
| 3 | |
| 4 | #include "SimpleHexRequest.h"cxx . . $ `<file>/src/SimpleHexRequest.h`/ |
| 5 | #include <QObject> |
| 6 | #include <cstdint> |
| 7 | #include <optional> |
| 8 | #include <string> |
| 9 | #include <vector> |
| 10 | |
| 11 | class VDPDataStorecxx . . $ VDPDataStore# : public QObjectcxx . . $ QObject#, public SimpleHexRequestUsercxx . . $ SimpleHexRequestUser# |
| 12 | { |
| 13 | Q_OBJECTcxx . . $ VDPDataStore#staticMetaObject. |
| 14 | public: |
| 15 | static VDPDataStorecxx . . $ VDPDataStore#& instancecxx . . $ VDPDataStore#instance(6179f7cf4255f5b).(); |
| 16 | |
| 17 | const uint8_tcxx . . $ uint8_t#* getVramPointercxx . . $ VDPDataStore#getVramPointer(7eb257f306f79f97).() const; |
| 18 | const uint8_tcxx . . $ uint8_t#* getDefaultPalettePointercxx . . $ VDPDataStore#getDefaultPalettePointer(7eb257f306f79f97).() const; |
| 19 | const uint8_tcxx . . $ uint8_t#* getPalettePointercxx . . $ VDPDataStore#getPalettePointer(7eb257f306f79f97).() const; |
| 20 | const uint8_tcxx . . $ uint8_t#* getRegsPointercxx . . $ VDPDataStore#getRegsPointer(7eb257f306f79f97).() const; |
| 21 | const uint8_tcxx . . $ uint8_t#* getStatusRegsPointercxx . . $ VDPDataStore#getStatusRegsPointer(7eb257f306f79f97).() const; |
| 22 | const uint8_tcxx . . $ uint8_t#* getVdpVramPointercxx . . $ VDPDataStore#getVdpVramPointer(7eb257f306f79f97).() const; |
| 23 | |
| 24 | size_t getVRAMSizecxx . . $ VDPDataStore#getVRAMSize(fe4d2d262d4164a8).() const; |
| 25 | |
| 26 | bool getRegisterLatchAvailablecxx . . $ VDPDataStore#getRegisterLatchAvailable(50ce9a9e25b4a850).() const { return registerLatchAvailablecxx . . $ VDPDataStore#registerLatchAvailable.; } |
| 27 | bool getPaletteLatchAvailablecxx . . $ VDPDataStore#getPaletteLatchAvailable(50ce9a9e25b4a850).() const { return paletteLatchAvailablecxx . . $ VDPDataStore#paletteLatchAvailable.; } |
| 28 | bool getDataLatchAvailablecxx . . $ VDPDataStore#getDataLatchAvailable(50ce9a9e25b4a850).() const { return dataLatchAvailablecxx . . $ VDPDataStore#dataLatchAvailable.; } |
| 29 | bool getVramAccessStatusAvailablecxx . . $ VDPDataStore#getVramAccessStatusAvailable(50ce9a9e25b4a850).() const { return vramAccessStatusAvailablecxx . . $ VDPDataStore#vramAccessStatusAvailable.; } |
| 30 | |
| 31 | void refreshcxx . . $ VDPDataStore#refresh(49f6e7a06ebc5aa8).(); |
| 32 | |
| 33 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 34 | void dataRefreshedcxx . . $ VDPDataStore#dataRefreshed(49f6e7a06ebc5aa8).(); // The refresh got the new data |
| 35 | |
| 36 | /** This might become handy later on, for now we only need the dataRefreshed |
| 37 | * |
| 38 | void dataChanged(); //any of the contained data has changed |
| 39 | void vramChanged(); //only the vram changed |
| 40 | void paletteChanged(); //only the palette changed |
| 41 | void regsChanged(); //only the regs changed |
| 42 | void statusRegsChanged(); //only the regs changed |
| 43 | */ |
| 44 | |
| 45 | private: |
| 46 | VDPDataStorecxx . . $ VDPDataStore#VDPDataStore(49f6e7a06ebc5aa8).(); |
| 47 | |
| 48 | void DataHexRequestReceivedcxx . . $ VDPDataStore#DataHexRequestReceived(49f6e7a06ebc5aa8).() override; |
| 49 | |
| 50 | void refresh1cxx . . $ VDPDataStore#refresh1(49f6e7a06ebc5aa8).(); |
| 51 | void refresh2cxx . . $ VDPDataStore#refresh2(49f6e7a06ebc5aa8).(); |
| 52 | void refresh3cxx . . $ VDPDataStore#refresh3(49f6e7a06ebc5aa8).(); |
| 53 | |
| 54 | private: |
| 55 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<uint8_tcxx . . $ uint8_t#> vramcxx . . $ VDPDataStore#vram.; |
| 56 | size_t vramSizecxx . . $ VDPDataStore#vramSize.; |
| 57 | |
| 58 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::stringcxx . . $ std/string#> debuggableNameVRAMcxx . . $ VDPDataStore#debuggableNameVRAM.; // VRAM debuggable name |
| 59 | |
| 60 | bool registerLatchAvailablecxx . . $ VDPDataStore#registerLatchAvailable. = false; |
| 61 | bool paletteLatchAvailablecxx . . $ VDPDataStore#paletteLatchAvailable. = false; |
| 62 | bool dataLatchAvailablecxx . . $ VDPDataStore#dataLatchAvailable. = false; |
| 63 | bool vramAccessStatusAvailablecxx . . $ VDPDataStore#vramAccessStatusAvailable. = false; |
| 64 | |
| 65 | friend class VDPDataStoreVersionCheckcxx . . $ VDPDataStoreVersionCheck#; |
| 66 | friend class VDPDataStoreDebuggableCheckscxx . . $ VDPDataStoreDebuggableChecks#; |
| 67 | friend class VDPDataStoreVRAMSizeCheckcxx . . $ VDPDataStoreVRAMSizeCheck#; |
| 68 | }; |
| 69 | |
| 70 | #endif // VDPDATASTORE_H |