QDMI Devices v0.1
Quantum Device Management Interface Devices
|
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_d * | session |
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. | |
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.
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. 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 the
end_time` needs to be valid UNIX timestamp
uint64_t DCDB_QDMI_Device_TelemetrySensor_Query_impl_d::end_time |
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.