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