#ifndef DOMAIN_BUS_H #define DOMAIN_BUS_H #include "display.h" #include #include namespace domain { class Bus { public: enum BusType { AUTOMATIC, REGULAR }; private: std::string name; std::string tooltip; BusType type; std::pair count; std::optional display; public: Bus(std::string name, std::string tooltip, BusType type, std::pair count, std::optional display = std::nullopt); std::string getName(); std::string getTooltip(); BusType getType(); std::pair getCount(); std::optional getDisplay(); }; } // namespace domain #endif // DOMAIN_BUS_H