33 lines
870 B
C++
33 lines
870 B
C++
//
|
|
// Created by titov on 08.11.2021.
|
|
//
|
|
|
|
#ifndef UMLIBRARY_DEV_BINARYPRESENTATIONMEMORYACCESS_HH
|
|
#define UMLIBRARY_DEV_BINARYPRESENTATIONMEMORYACCESS_HH
|
|
|
|
#include "../peripheral/IMemoryAccess.hh"
|
|
#include <memory_resource>
|
|
|
|
#include "../systemic/IProcess.hh"
|
|
|
|
#include "MemoryAccessCollector.hh"
|
|
#include "MemoryAccessPublisher.hh"
|
|
|
|
namespace driver {
|
|
|
|
struct MemoryAccessBinaryPresentation : public systemic::IProcess {
|
|
|
|
MemoryAccessBinaryPresentation( peripheral::IMemoryAccess & memory_access, std::pmr::memory_resource * memory_resource );
|
|
|
|
MemoryAccessCollector collector;
|
|
MemoryAccessPublisher publisher;
|
|
|
|
//!Основной фоновый метод, отвечающий за обработку фрейма данных.
|
|
void process() override;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif //UMLIBRARY_DEV_BINARYPRESENTATIONMEMORYACCESS_HH
|