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

Device-side implementation of the encapsulated type QDMI_Device_TelemetrySensor_Query. More...

Public Attributes

uint64_t start_time
 The start time of the QDMI_TelemetrySensor_Query to be queried.
 
uint64_t end_time
 
DCDB_QDMI_TelemetrySensor telemetrysensor {}
 The QDMI_TelemetrySensor being queried.
 
QDMI_TelemetrySensor_Query_Status status {}
 Status of the QDMI_TelemetrySensor_Query.
 
DCDB_QDMI_Device_Session_impl_dsession
 Pointer to the session used for authentication and connection metadata.
 
std::list< DCDB::SensorDataStoreReading > results
 Results of the QDMI_TelemetrySensor_Query.
 
size_t result_length {}
 Number of elements in results.
 
std::future< void > async_query
 Handle for asynchronous execution of the query.
 

Detailed Description

Device-side implementation of the encapsulated type QDMI_Device_TelemetrySensor_Query.

This struct holds all necessary inputs to perform a QDMI_TelemetrySensor_Query using DCDB, as well as the query results.

Note
The QDMI_Device_TelemetrySensor_Query type is encapsulated within the QDMI Device Telemetry Sensor Query interface. This design allows devices to implement the query type in a device-specific manner. This struct represents the opaque pointer type used on the device side, encapsulating all information required for a telemetry sensor query.

Member Data Documentation

◆ start_time

uint64_t DCDB_QDMI_Device_TelemetrySensor_Query_impl_d::start_time

The start time of the QDMI_TelemetrySensor_Query to be queried.

Both the start_time and theend_time` needs to be valid UNIX timestamp

◆ end_time

uint64_t DCDB_QDMI_Device_TelemetrySensor_Query_impl_d::end_time

◆ async_query

std::future<void> DCDB_QDMI_Device_TelemetrySensor_Query_impl_d::async_query

Handle for asynchronous execution of the query.

This variable represents the asynchronous task. For more information, refer to DCDB_QDMI_device_telemetrysensor_query_submit.


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