chronon::TimelineSpan
Stateful helper for boolean occupancy/stall spans.
#include <TimelineObserve.hpp>
Public Functions
| Name | |
|---|---|
| template <typename Cat ,typename... Items> void | update(bool active, Cat category, EventNameRef name, Items &&... items) |
| template <typename Cat ,typename... Items> void | update(uint16_t slot, bool active, Cat category, EventNameRef name, Items &&... items) |
| bool | isOpen(uint16_t slot =0) const |
| template <typename Cat ,typename... Items> bool | instant(uint16_t slot, Cat category, EventNameRef name, Items &&... items) |
| bool | end(uint16_t slot =0) |
| template <typename Cat ,typename... Items> bool | begin(uint16_t slot, Cat category, EventNameRef name, Items &&... items) |
| template <typename Cat ,typename... Items> bool | begin(Cat category, EventNameRef name, Items &&... items) |
| TimelineSpan(ObservableUnit * owner, std::string_view name, uint16_t lanes =1) |
Public Functions Documentation
function update
template <typename Cat ,
typename... Items>
inline void update(
bool active,
Cat category,
EventNameRef name,
Items &&... items
)
function update
template <typename Cat ,
typename... Items>
inline void update(
uint16_t slot,
bool active,
Cat category,
EventNameRef name,
Items &&... items
)
function isOpen
inline bool isOpen(
uint16_t slot =0
) const
function instant
template <typename Cat ,
typename... Items>
inline bool instant(
uint16_t slot,
Cat category,
EventNameRef name,
Items &&... items
)
function end
inline bool end(
uint16_t slot =0
)
function begin
template <typename Cat ,
typename... Items>
inline bool begin(
uint16_t slot,
Cat category,
EventNameRef name,
Items &&... items
)
function begin
template <typename Cat ,
typename... Items>
inline bool begin(
Cat category,
EventNameRef name,
Items &&... items
)
function TimelineSpan
inline TimelineSpan(
ObservableUnit * owner,
std::string_view name,
uint16_t lanes =1
)
Updated on 2026-06-22 at 09:17:04 +0000