optris_sdk_session_outage
A span of session time in which one source was not there, and the reason it was not.
Read from the records the recorder 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.
Call optris_sdk_session_outage_init() first.
Public attributes
struct_size
uint32_t struct_size
Set to sizeof(optris_sdk_session_outage).
ended
int32_t ended
Non-zero when the source ended here rather than dropping out. An ended source has no until_us by construction; its track is finished.
from_us
uint64_t from_us
When the source went away, in session microseconds.
until_us
uint64_t until_us
When it came back, in session microseconds, or OPTRIS_SDK_SESSION_OUTAGE_OPEN when it never did.
reason
char reason[OPTRIS_SDK_MAX_MESSAGE]
What the application said about it at the time, or an empty string.