Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::tracking::constellation::RerunStream Struct Reference

The recording stream a rerun recorder logs through. More...

#include </builds/monado/monado/src/xrt/tracking/constellation/constellation_rerun_common.hpp>

Inheritance diagram for xrt::tracking::constellation::RerunStream:
Collaboration diagram for xrt::tracking::constellation::RerunStream:

Public Member Functions

 RerunStream (const std::string_view &recording_id)
 
void spawnViewer () const
 Starts a viewer for this stream and points the stream at it.
 

Data Fields

std::unique_ptr< rerun::RecordingStream > stream {}
 

Detailed Description

The recording stream a rerun recorder logs through.

Every recorder owns exactly one stream and reaches it the same way, so they inherit this rather than each repeating the pointer and its construction. The recording id stays a per-recorder choice, since it is what separates one recorder's data from another's in the viewer.

Member Function Documentation

◆ spawnViewer()

void xrt::tracking::constellation::RerunStream::spawnViewer ( ) const
inline

Starts a viewer for this stream and points the stream at it.

Fatal on failure, because a recorder which was explicitly asked for and cannot be reached is a debugging session that would otherwise run to completion and silently record nothing.


The documentation for this struct was generated from the following file: