8 #include <rokubimini/setup/Rokubimini.hpp> 60 bool loadSetup(std::vector<std::shared_ptr<rokubimini::Rokubimini>>& rokubiminis)
override;
82 const std::shared_ptr<setup::RokubiminiSerial>& rokubiminiSerialSetup)
const;
~RokubiminiSerialBusManager() override=default
virtual bool addRokubiminiToBus(Rokubimini *rokubimini, const std::shared_ptr< setup::Rokubimini > &rokubiminiSetup) const
bool startupCommunication() override
Initializes the communication with the serial devices.
std::vector< std::shared_ptr< RokubiminiSerial > > attachedRokubiminiSerials_
The Rokubimini Serial class.
bool addRokubiminiToBus(RokubiminiSerial *rokubimini, const std::shared_ptr< setup::RokubiminiSerial > &rokubiminiSerialSetup) const
Creates a RokubiminiSerial Implementation object for the.
Inherits from RokubiminiBusManager. It's used for managing the serial bus.
RokubiminiSerialBusManager()=default
Default constructor of RokubiminiSerialBusManager.
std::shared_ptr< RokubiminiSerialBusManager > RokubiminiSerialBusManagerPtr
void setConfigMode() override
Sets all the serial devices in config mode.
void setRunMode() override
Sets all the serial devices in run mode.
bool loadSetup(std::vector< std::shared_ptr< rokubimini::Rokubimini >> &rokubiminis) override
Checks for non-empty serial port names and calls the addRokubiminiToBus() method. ...