2018-01-30 02:49:49 +00:00
|
|
|
//
|
|
|
|
// MultiConfigurationTarget.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 29/01/2018.
|
|
|
|
// Copyright © 2018 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef MultiConfigurationTarget_hpp
|
|
|
|
#define MultiConfigurationTarget_hpp
|
|
|
|
|
|
|
|
#include "../../../../Machines/ConfigurationTarget.hpp"
|
|
|
|
#include "../../../../Machines/DynamicMachine.hpp"
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace Analyser {
|
|
|
|
namespace Dynamic {
|
|
|
|
|
2018-02-11 00:38:26 +00:00
|
|
|
struct MultiConfigurationTarget: public ConfigurationTarget::Machine {
|
2018-01-30 02:49:49 +00:00
|
|
|
public:
|
|
|
|
MultiConfigurationTarget(const std::vector<std::unique_ptr<::Machine::DynamicMachine>> &machines);
|
|
|
|
|
|
|
|
void configure_as_target(const Analyser::Static::Target &target) override;
|
|
|
|
bool insert_media(const Analyser::Static::Media &media) override;
|
|
|
|
|
|
|
|
private:
|
2018-02-11 00:38:26 +00:00
|
|
|
std::vector<ConfigurationTarget::Machine *> targets_;
|
2018-01-30 02:49:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* MultiConfigurationTarget_hpp */
|