GetBus¶
-
virtual PBus IController::GetBus(const std::string &name) = 0¶
Gets the bus with the specified name.
- Parameters
name – Name of the bus.
- Returns
PBus – The bus with the specified name.
- Throws
CInvalidArgumentException– Bus with specified name does not exist.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException– Incompatible firmware version loaded.