dunno
This commit is contained in:
@@ -27,15 +27,18 @@ class OutputDriver
|
||||
public:
|
||||
virtual ~OutputDriver() = default;
|
||||
|
||||
virtual std::vector<std::shared_ptr<items::Lamp>> get_lamps() = 0;
|
||||
virtual std::vector<std::shared_ptr<items::Solenoid>> get_solenoids() = 0;
|
||||
virtual std::vector<std::shared_ptr<items::Sound>> get_sounds() = 0;
|
||||
virtual std::vector<std::shared_ptr<items::Display>> get_displays() = 0;
|
||||
virtual void activate_displays() const = 0;
|
||||
virtual void deactivate_displays() const = 0;
|
||||
|
||||
virtual boost::optional<std::shared_ptr<items::Lamp>> get_lamp(std::string name) = 0;
|
||||
virtual boost::optional<std::shared_ptr<items::Solenoid>> get_solenoid(std::string name) = 0;
|
||||
virtual boost::optional<std::shared_ptr<items::Sound>> get_sound(std::string name) = 0;
|
||||
virtual boost::optional<std::shared_ptr<items::Display>> get_display(char number) = 0;
|
||||
virtual std::vector<std::shared_ptr<items::Lamp>> get_lamps() const = 0;
|
||||
virtual std::vector<std::shared_ptr<items::Solenoid>> get_solenoids() const = 0;
|
||||
virtual std::vector<std::shared_ptr<items::Sound>> get_sounds() const = 0;
|
||||
virtual std::vector<std::shared_ptr<items::Display>> get_displays() const = 0;
|
||||
|
||||
virtual boost::optional<std::shared_ptr<items::Lamp>> get_lamp(const std::string &name) const = 0;
|
||||
virtual boost::optional<std::shared_ptr<items::Solenoid>> get_solenoid(const std::string &name) const = 0;
|
||||
virtual boost::optional<std::shared_ptr<items::Sound>> get_sound(const std::string &name) const = 0;
|
||||
virtual boost::optional<std::shared_ptr<items::Display>> get_display(uint8_t number) const = 0;
|
||||
};
|
||||
|
||||
} /* namespace output */
|
||||
|
||||
Reference in New Issue
Block a user