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
21
namespace
Retro
{
22
23
class
Rw11VirtDiskBuffer
{
24
public
:
25
26
explicit
Rw11VirtDiskBuffer
(
size_t
blksize);
27
~Rw11VirtDiskBuffer
();
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
44
#include "
Rw11VirtDiskBuffer.ipp
"
45
46
#endif
Rw11VirtDiskBuffer.ipp
Retro::Rw11VirtDiskBuffer
FIXME_docs.
Definition:
Rw11VirtDiskBuffer.hpp:23
Retro::Rw11VirtDiskBuffer::Read
void Read(uint8_t *data)
FIXME_docs.
Definition:
Rw11VirtDiskBuffer.cpp:45
Retro::Rw11VirtDiskBuffer::fBuf
std::vector< uint8_t > fBuf
Definition:
Rw11VirtDiskBuffer.hpp:38
Retro::Rw11VirtDiskBuffer::NWrite
uint32_t NWrite() const
FIXME_docs.
Definition:
Rw11VirtDiskBuffer.ipp:44
Retro::Rw11VirtDiskBuffer::Data
uint8_t * Data()
FIXME_docs.
Definition:
Rw11VirtDiskBuffer.ipp:28
Retro::Rw11VirtDiskBuffer::BlockSize
size_t BlockSize() const
FIXME_docs.
Definition:
Rw11VirtDiskBuffer.ipp:20
Retro::Rw11VirtDiskBuffer::Write
void Write(const uint8_t *data)
FIXME_docs.
Definition:
Rw11VirtDiskBuffer.cpp:54
Retro::Rw11VirtDiskBuffer::~Rw11VirtDiskBuffer
~Rw11VirtDiskBuffer()
Destructor.
Definition:
Rw11VirtDiskBuffer.cpp:39
Retro::Rw11VirtDiskBuffer::fNWrite
uint32_t fNWrite
Definition:
Rw11VirtDiskBuffer.hpp:39
Retro
Declaration of class ReventLoop.
Definition:
ReventLoop.cpp:47
librw11
Rw11VirtDiskBuffer.hpp
Generated on Thu Feb 9 2023 12:40:57 for w11 - cpp by
1.9.6