GetByPath¶
-
template<typename T>
T INamed::GetByPath(const std::string &path)¶ Gets the child with the specified type and relative path.
- Template Parameters
typename T – The type of the child.
- Parameters
path – Relative path to the child.
- Returns
T – Child with the type and specified relative path.
- Throws
CInvalidArgumentException– Child with the type and specified relative path does not exist.CUnsupportedException– Function not supported (e.g. for system).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).