getAttributeWritableData#

Fully qualified name: isaacsim::ros2::omnigraph_utils::getAttributeWritableData

template<typename T>
inline T *isaacsim::ros2::omnigraph_utils::getAttributeWritableData(
const NodeObj &nodeObj,
const std::string &attrName,
)#

Gets writable data for a simple attribute.

Retrieves a writable pointer to an attribute’s data. Used for modifying attribute values in an OmniGraph node.

Template Parameters:

T – Data type of the attribute

Parameters:
  • nodeObj[in] OmniGraph node object containing the attribute

  • attrName[in] Name of the attribute to retrieve

Returns:

T* Writable pointer to the attribute data, or nullptr if not found