IPrimDataReaderManager#

Fully qualified name: isaacsim::core::experimental::prims::IPrimDataReaderManager

struct IPrimDataReaderManager#

Shared lifecycle manager for IPrimDataReader.

All sensor plugins should acquire this interface and call ensureInitialized() instead of directly calling IPrimDataReader::initialize(). This centralizes stage/timeline lifecycle behavior and prevents cross-plugin initialize churn.

Public Functions

virtual bool ensureInitialized(long stageId, int deviceOrdinal) = 0#

Ensure the shared reader is initialized for the given stage/device.

This interface owns all calls to IPrimDataReader::initialize(). Sensor plugins and nodes should never call initialize() directly.

Returns:

true if reader is available and initialized, false otherwise.

virtual IPrimDataReader *getReader() = 0#

Access the shared reader instance managed by this interface.

Returns:

shared IPrimDataReader pointer, or nullptr if unavailable.

virtual uint64_t getGeneration() const = 0#

Current reader generation.