SetName¶
-
virtual void INamed::SetName(const std::string &name) = 0¶
Sets the name of the entity.
- Parameters
name – New name of the entity.
- Throws
CInvalidArgumentException– Name string does not follow naming rules.CUnsupportedException– Changing name not supported.COutOfResourcesException– Out of memory while trying to store string.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CObjectDestroyedException– Object is destroyed (only applicable if entity is disposable).