alles was wir bis dahin haben
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user