Sparkplug B C++ Library 1.0.0
Modern C++-23 implementation of Eclipse Sparkplug B 2.2 specification
Loading...
Searching...
No Matches
sparkplug::HostApplication::NodeStateSnapshot Struct Reference

Lightweight snapshot of node state (scalars only, no maps). More...

#include <host_application.hpp>

Public Attributes

bool is_online {false}
 
uint64_t last_seq {255}
 
uint64_t bd_seq {0}
 
uint64_t birth_timestamp {0}
 
bool birth_received {false}
 

Detailed Description

Lightweight snapshot of node state (scalars only, no maps).

Returned by value from get_node_state() so callers don't hold references into mutex-protected data. Use get_metric_name() for alias resolution.

Definition at line 334 of file host_application.hpp.

Member Data Documentation

◆ bd_seq

uint64_t sparkplug::HostApplication::NodeStateSnapshot::bd_seq {0}

Definition at line 337 of file host_application.hpp.

◆ birth_received

bool sparkplug::HostApplication::NodeStateSnapshot::birth_received {false}

Definition at line 339 of file host_application.hpp.

◆ birth_timestamp

uint64_t sparkplug::HostApplication::NodeStateSnapshot::birth_timestamp {0}

Definition at line 338 of file host_application.hpp.

◆ is_online

bool sparkplug::HostApplication::NodeStateSnapshot::is_online {false}

Definition at line 335 of file host_application.hpp.

◆ last_seq

uint64_t sparkplug::HostApplication::NodeStateSnapshot::last_seq {255}

Definition at line 336 of file host_application.hpp.


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