RTOS Wrapper
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
hf::FlagsSnapshot< kWordCount > Struct Template Reference

Snapshot of a FlagsSaver at a point in time. More...

#include <FlagsSaver.h>

Public Attributes

uint64_t bits [kWordCount > 0 ? kWordCount :1] {}
 
uint32_t seq {0}
 
uint32_t last_change_ms {0}
 

Detailed Description

template<std::size_t kWordCount>
struct hf::FlagsSnapshot< kWordCount >

Snapshot of a FlagsSaver at a point in time.

Tail-template sized so a snapshot fits any specialisation; the writer fills bits[0 .. kWordCount - 1], leaves the rest zero.

Member Data Documentation

◆ bits

template<std::size_t kWordCount>
uint64_t hf::FlagsSnapshot< kWordCount >::bits[kWordCount > 0 ? kWordCount :1] {}

◆ last_change_ms

template<std::size_t kWordCount>
uint32_t hf::FlagsSnapshot< kWordCount >::last_change_ms {0}

◆ seq

template<std::size_t kWordCount>
uint32_t hf::FlagsSnapshot< kWordCount >::seq {0}

The documentation for this struct was generated from the following file: