optris::sdk::rec::SessionOutage
A span of session time in which one source was not there, and the reason it was not.
Read from the records SessionRecorder::MarkSourceLost() and EndSource() wrote into the file, so it survives the recorder: an application that opens a session file a year later gets the same answer the operator had at the time.
Public attributes
from_us
uint64_t from_us = 0
When the source went away, in session microseconds.
until_us
uint64_t until_us = 0
When it came back, in session microseconds, or kSessionOutageOpen when it never did -- the session stopped while the camera was still gone.
ended
bool ended = false
True when the source ended here rather than dropping out. An ended source has no until_us by construction; its track is finished.
reason
std::string reason
What the application said about it when it happened. May be empty.