GetController¶
-
virtual PSubController IController::GetController(const std::string &name) = 0¶
Gets the controller with the specified name.
- Parameters
name – Name of the controller.
- Returns
PSubController – The controller with the specified name.
- Throws
CInvalidArgumentException
– Controller 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.