w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11VirtDiskBuffer.hpp
Go to the documentation of this file.
1// $Id: Rw11VirtDiskBuffer.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2017- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2017-03-10 859 1.0 Initial version
8// ---------------------------------------------------------------------------
9
10
15#ifndef included_Retro_Rw11VirtDiskBuffer
16#define included_Retro_Rw11VirtDiskBuffer 1
17
18#include <cstdint>
19#include <vector>
20
21namespace Retro {
22
24 public:
25
26 explicit Rw11VirtDiskBuffer(size_t blksize);
28
29 void Read(uint8_t* data);
30 void Write(const uint8_t* data);
31
32 size_t BlockSize() const;
33 uint8_t* Data();
34 const uint8_t* Data() const;
35 uint32_t NWrite() const;
36
37 protected:
38 std::vector<uint8_t> fBuf;
39 uint32_t fNWrite;
40 };
41
42} // end namespace Retro
43
45
46#endif
void Read(uint8_t *data)
FIXME_docs.
std::vector< uint8_t > fBuf
uint32_t NWrite() const
FIXME_docs.
uint8_t * Data()
FIXME_docs.
size_t BlockSize() const
FIXME_docs.
void Write(const uint8_t *data)
FIXME_docs.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47