AstraLog-HPC
Loading...
Searching...
No Matches
ValidationResult Struct Reference

Represents the outcome of a telemetry packet validation attempt. More...

#include <Validator.hpp>

Collaboration diagram for ValidationResult:
Collaboration graph

Public Attributes

bool valid = false
 True if the packet is valid and the sensor is recognised, false otherwise.
 
std::string sensor_id
 Set once both ID fields parse as strings, even if the packet is later rejected.
 
std::string timestamp
 Set once both ID fields parse as strings, even if the packet is later rejected.
 

Detailed Description

Represents the outcome of a telemetry packet validation attempt.

Member Data Documentation

◆ sensor_id

std::string ValidationResult::sensor_id

Set once both ID fields parse as strings, even if the packet is later rejected.

◆ timestamp

std::string ValidationResult::timestamp

Set once both ID fields parse as strings, even if the packet is later rejected.

◆ valid

bool ValidationResult::valid = false

True if the packet is valid and the sensor is recognised, false otherwise.


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