DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
diffeq::core::composable::SensorData< T > Struct Template Reference

Sensor data structure. More...

#include <event_decorator.hpp>

Inheritance diagram for diffeq::core::composable::SensorData< T >:
Collaboration diagram for diffeq::core::composable::SensorData< T >:

Public Member Functions

 SensorData (std::string id, std::vector< double > vals, T time)
 

Public Attributes

std::string sensor_id
 
std::vector< double > values
 
timestamp
 
double confidence {1.0}
 
bool valid {true}
 

Detailed Description

template<typename T>
struct diffeq::core::composable::SensorData< T >

Sensor data structure.

Definition at line 156 of file event_decorator.hpp.

Constructor & Destructor Documentation

◆ SensorData()

template<typename T >
diffeq::core::composable::SensorData< T >::SensorData ( std::string  id,
std::vector< double >  vals,
time 
)
inline

Definition at line 163 of file event_decorator.hpp.

Member Data Documentation

◆ confidence

template<typename T >
double diffeq::core::composable::SensorData< T >::confidence {1.0}

Definition at line 160 of file event_decorator.hpp.

◆ sensor_id

template<typename T >
std::string diffeq::core::composable::SensorData< T >::sensor_id

Definition at line 157 of file event_decorator.hpp.

◆ timestamp

template<typename T >
T diffeq::core::composable::SensorData< T >::timestamp

Definition at line 159 of file event_decorator.hpp.

◆ valid

template<typename T >
bool diffeq::core::composable::SensorData< T >::valid {true}

Definition at line 161 of file event_decorator.hpp.

◆ values

template<typename T >
std::vector<double> diffeq::core::composable::SensorData< T >::values

Definition at line 158 of file event_decorator.hpp.


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