forked from KutningJo/signal_processing_vorlage
Initial commit
This commit is contained in:
commit
0d1b73e3e0
255 files changed
+16057
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "DataChannelSimulation.h"
|
||||
#include "HardwareTaskSimulation.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <vector>
|
||||
|
||||
class Hardware {
|
||||
public:
|
||||
static Hardware * getInstance();
|
||||
~Hardware();
|
||||
|
||||
void write( uint32_t base, uint32_t offset, uint32_t value );
|
||||
uint32_t read( uint32_t base, uint32_t offset );
|
||||
|
||||
private:
|
||||
Hardware();
|
||||
Hardware( const Hardware & ) = delete;
|
||||
|
||||
static Hardware * instance;
|
||||
|
||||
std::vector< DataChannelSimulation * > dataChannel;
|
||||
std::vector< HardwareTaskSimulation * > task;
|
||||
std::vector< task_function > function;
|
||||
};
|
||||
Reference in new issue
Block a user