You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Initialize the device session by transitioning it from ALLOCATED to INITIALIZED.
192
-
*
193
-
* Sets the session's internal state to INITIALIZED when it is currently ALLOCATED.
194
-
*
195
-
* @return int `QDMI_SUCCESS` on successful initialization, `QDMI_ERROR_BADSTATE` if the session was not in the ALLOCATED state.
196
-
*/
191
+
} // namespace qdmi::na
197
192
198
193
autoMQT_NA_QDMI_Device_Session_impl_d::init() -> int {
199
194
if (status_ != Status::ALLOCATED) {
@@ -237,10 +232,16 @@ auto MQT_NA_QDMI_Device_Session_impl_d::freeDeviceJob(
237
232
* @brief Query a device-level property for this session.
238
233
*
239
234
* @param prop The device property to query.
240
-
* @param size Size of the caller-provided buffer pointed to by `value`, in bytes.
241
-
* @param value Pointer to a buffer to receive the property's value; may be null to query required size.
242
-
* @param sizeRet Pointer to receive the number of bytes written or required; may be null if not needed.
243
-
* @return int QDMI status code: `QDMI_SUCCESS` on success, `QDMI_ERROR_BADSTATE` if the session is not initialized, `QDMI_ERROR_NOTSUPPORTED` if the property is not supported, or other QDMI error codes on failure.
235
+
* @param size Size of the caller-provided buffer pointed to by `value`, in
236
+
* bytes.
237
+
* @param value Pointer to a buffer to receive the property's value; may be null
238
+
* to query required size.
239
+
* @param sizeRet Pointer to receive the number of bytes written or required;
240
+
* may be null if not needed.
241
+
* @return int QDMI status code: `QDMI_SUCCESS` on success,
242
+
* `QDMI_ERROR_BADSTATE` if the session is not initialized,
243
+
* `QDMI_ERROR_NOTSUPPORTED` if the property is not supported, or other QDMI
@@ -666,7 +680,8 @@ int MQT_NA_QDMI_device_session_alloc(MQT_NA_QDMI_Device_Session* session) {
666
680
* @brief Initializes a device session.
667
681
*
668
682
* @param session Pointer to an allocated device session handle.
669
-
* @return int QDMI_SUCCESS on success; QDMI_ERROR_INVALIDARGUMENT if `session` is null; otherwise the status code returned by the session initialization.
683
+
* @return int QDMI_SUCCESS on success; QDMI_ERROR_INVALIDARGUMENT if `session`
684
+
* is null; otherwise the status code returned by the session initialization.
0 commit comments