diff options
Diffstat (limited to 'window_hw_interface.hpp')
-rw-r--r-- | window_hw_interface.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/window_hw_interface.hpp b/window_hw_interface.hpp index a9de4dd..d00bfcd 100644 --- a/window_hw_interface.hpp +++ b/window_hw_interface.hpp @@ -2,6 +2,7 @@ #include <cstdint> #include <utility> +#include <vector> namespace blobs { @@ -29,6 +30,14 @@ class HardwareMapperInterface */ virtual std::pair<std::uint32_t, std::uint32_t> mapWindow(std::uint32_t address, std::uint32_t length) = 0; + + /** + * Returns the bytes from the mapped window. + * + * @param[in] length - the number of bytes to copy. + * @return the bytes copied out of the region. + */ + virtual std::vector<std::uint8_t> copyFrom(std::uint32_t length) = 0; }; } // namespace blobs |