Function sdv::core::GetObject(TObjectID)#

Function Documentation#

inline TInterfaceAccessPtr sdv::core::GetObject(TObjectID tObjectID)#

Get an object from the repository service.

Attention

This function can only be used on controlled objects. Local object are not returned using this function.

Attention

This function can only be used on controlled objects. Local object are not returned using this function.

Parameters:
  • tObjectID[in] Object ID of the object instantiation.

  • tObjectID[in] Object ID of the object instantiation.

Template Parameters:

TInterface – The type of interface to return.

Returns:

Returns the smart interface pointer of the object instance if found or nullptr otherwise.

Returns:

Returns the interface pointer of the object instance if found or nullptr otherwise.