Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::safety Namespace Reference

Classes

class  CircuitBreaker
 Zero-allocation Circuit Breaker pattern for isolating faulty handlers or peripheral links. Thread-safe lock-free state transitions. More...
 
struct  CircuitBreakerTrippedEvent
 Dispatched when a CircuitBreaker detects repeated failures and trips open. More...
 
struct  DeadlineMissedEvent
 Dispatched when an event handler or task misses its real-time deadline budget. More...
 
class  HeartbeatMonitor
 Zero-heap multi-service heartbeat tracker for safety-critical execution. Thread-safe for concurrent heartbeat signals and supervisory health checks. More...
 
class  WatchdogService
 Multi-threaded background safety service executing periodic heartbeat supervision. Automatically verifies monitored task deadlines and dispatches WatchdogTimeoutEvent to the main event bus on violations. More...
 
class  WatchdogSupervisor
 Dedicated safety supervisor monitoring subsystem heartbeats and controlling watchdog refresh. Compatible with hardware IWDG (STM32, ESP32, nRF), RTOS Task Watchdogs, and POSIX watchdogs. Zero dynamic heap allocations, zero threading overhead. More...
 
struct  WatchdogTimeoutEvent
 Dispatched when a monitored service fails to deliver its heartbeat within its timeout window. More...
 

Enumerations

enum class  CircuitState : uint8_t { Closed , Open , HalfOpen }
 Circuit Breaker operational state. More...
 

Enumeration Type Documentation

◆ CircuitState

enum class corium::safety::CircuitState : uint8_t
strong

Circuit Breaker operational state.

Enumerator
Closed 

Normal operation: all calls execute.

Open 

Tripped/Faulty: calls are fast-failed without execution.

HalfOpen 

Recovery probing: allowing a single canary call to verify health.