getAttributeReadableData#
Fully qualified name: isaacsim::ros2::omnigraph_utils::getAttributeReadableData
-
template<typename T>
inline T const *isaacsim::ros2::omnigraph_utils::getAttributeReadableData( - const NodeObj &nodeObj,
- const std::string &attrName,
Gets read-only data for a simple attribute.
Retrieves a read-only pointer to an attribute’s data. Used for reading attribute values from 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 const* Read-only pointer to the attribute data, or nullptr if not found