8 #include <rokubimini/setup/Rokubimini.hpp> 56 virtual bool loadSetup(std::vector<std::shared_ptr<rokubimini::Rokubimini>>& rokubiminis) = 0;
76 const std::shared_ptr<setup::Rokubimini>& rokubiminiSetup)
const;
virtual void writeToAllBuses()
Writes to all the buses.
virtual ~RokubiminiBusManager()=default
std::vector< std::shared_ptr< setup::Rokubimini > > getRokubiminiSetups()
Gets all the Rokubimini Setup instances from the BusManager.
RokubiminiBusManager()
Default constructor.
virtual bool addRokubiminiToBus(Rokubimini *rokubimini, const std::shared_ptr< setup::Rokubimini > &rokubiminiSetup) const
Adds a Rokubimini to Bus.
virtual void addRokubiminiSetupToList(const std::shared_ptr< setup::Rokubimini > &rokubiminiSetup)
Adds a RokubiminiSetup to the internal list.
virtual bool loadSetup(std::vector< std::shared_ptr< rokubimini::Rokubimini >> &rokubiminis)=0
Loads the Rokubimini Setups.
virtual bool startupCommunication()
Starts the communication through the bus.
virtual void setConfigMode()
Sets the devices controlled from the BusManager to config mode.
virtual void readAllBuses()
Reads all the buses.
std::vector< std::shared_ptr< setup::Rokubimini > > attachedRokubiminiSetups_
virtual void shutdownAllBuses()
Shuts down all the buses.
The Rokubimini Bus Manager class.
virtual void setRunMode()
Sets the devices controlled from the BusManager to run mode.