QDMI Devices v0.1
Quantum Device Management Interface Devices
Loading...
Searching...
No Matches
DCDB_QDMI_TelemetrySensor_impl_t Struct Reference

The implementation of the encapsulated type QDMI_TelemetrySensor on the device-side. More...

#include <sensors.h>

Public Member Functions

std::list< DCDB::SensorDataStoreReading > query (DCDB::Connection *connection, uint64_t start, uint64_t end)
 This function is used to query the telemetry data from the DCDB.
 

Public Attributes

const std::string id
 The unique ID to identify the telemetry.
 
const std::string unit
 The unit of an telemetry variable, e.g., Kelvin for temperature.
 
const std::chrono::duration< float > sampling_rate {}
 float The samples per second of an telemetry.
 

Detailed Description

The implementation of the encapsulated type QDMI_TelemetrySensor on the device-side.

Implemented to hold all the required input to query a QDMI_TelemetrySensor using DCDB and its output. In this device, the QDMI_TelemetrySensors corresponses to the sensors at the HPC Telemetry located at the LRZ.

Note
QDMI_Device_Telemetry_Query is encapsulated in the QDMI Device Telemetry Query interface to allow the device implement the type as needed.

Member Function Documentation

◆ query()

std::list< DCDB::SensorDataStoreReading > DCDB_QDMI_TelemetrySensor_impl_t::query ( DCDB::Connection * connection,
uint64_t start,
uint64_t end )

This function is used to query the telemetry data from the DCDB.

This function queries telemetryal data in a given time interval using DCDB's sensor interface.

Parameters
[in]connectionThe connection object that used to connect DCDB host.
[in]startThe start time as an UNIX timestamp of the time interval
[in]endThe end time as an UNIX timestamp of the time interval
Returns
The reading from the given sensor within the siven time intervals

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