alles was wir bis dahin haben

This commit is contained in:
Jonas Zeunert
2018-09-26 23:43:37 +02:00
parent b970dd3c80
commit fc7cdb2a7a
6 changed files with 39 additions and 14 deletions

View File

@@ -9,6 +9,13 @@
#define _SRC_OUTPUT_OUTPUTDRIVER_H_
#include "IOutputDriver.h"
#include <vector>
#include <map>
#include <memory>
#include "ICabinetItem.h"
#include "IDisplay.h"
#include "ISound.h"
namespace output {
@@ -16,6 +23,19 @@ class OutputDriver: public IOutputDriver {
public:
OutputDriver();
virtual ~OutputDriver();
std::vector<std::shared_ptr<ICabinetItem>> get_cabinet_items();
std::vector<std::shared_ptr<ISound>> get_sounds();
std::vector<std::shared_ptr<IDisplay>> get_displays();
std::shared_ptr<ICabinetItem> get_cabinet_item(std::string name);
std::shared_ptr<ISound> get_sound(std::string name);
std::shared_ptr<IDisplay> get_display(char number);
private:
std::map<std::string, std::shared_ptr<ICabinetItem>> cabinet_items;
std::map<char, std::shared_ptr<IDisplay>> displays;
std::map<std::string, std::shared_ptr<ISound>> sounds;
};
} /* namespace output */