GetRobot¶
-
virtual PRobot ITopController::GetRobot(const std::string &name) const = 0¶
Gets the robot with the specified name.
- Parameters
name – Name of the robot.
- Returns
PRobot – The robot with the specified name.
- Throws
CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CObjectDestroyedException
– Object is destroyed.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException
– Incompatible firmware version loaded.CInvalidArgumentException
– Robot with specified name does not exist.