Skip to navigation

holoscan::ClockHealthReport

Beta
View as Markdown

Carry one bounded endpoint-local clock-health report.

#include <holoscan/clock_health.hpp>

Static methods

healthy

static constexpr ClockHealthReport holoscan::ClockHealthReport::healthy() noexcept

Create a healthy report with no negative reason.

Returns: Valid healthy report.

degraded

static constexpr ClockHealthReport holoscan::ClockHealthReport::degraded(
) noexcept

Create a degraded report.

Returns: Degraded report for later endpoint validation.

Parameters

reason
ClockHealthReason

Non-kNone primary reason validated at submission.

unhealthy

static constexpr ClockHealthReport holoscan::ClockHealthReport::unhealthy(
) noexcept

Create an unhealthy report.

Returns: Unhealthy report for later endpoint validation.

Parameters

reason
ClockHealthReason

Non-kNone primary reason validated at submission.


Member variables

NameTypeDescription
assessmentClockHealthAssessmentCurrent assessment; defaults to healthy.
reasonClockHealthReasonPrimary reason; kNone is valid only with healthy.