Parameters#
- cuest.bindings.cuestParametersCreate(
- *,
- parametersType: cuest.bindings.cuest.CuestParametersType,
- outParameters: cuest.bindings.cuest.Parameters,
Create a new cuEST parameters object of the specified type.
Allocates and initializes an opaque parameter object of the type specified by
parametersType. The created object is returned viaoutParametersand must be destroyed withcuestParametersDestroy().Parameters#
- parametersType[in]CuestParametersType
Type of parameters object to create (see
cuestParametersType_t).- outParameters[out] :
Pointer to receive allocated opaque parameters handle.
Returns#
- status[out]cuestStatus_t
CUEST_STATUS_SUCCESSon success; error code (null pointer, invalid type, exception) on failure.
- cuest.bindings.cuestParametersDestroy(
- *,
- parametersType: cuest.bindings.cuest.CuestParametersType,
- parameters: cuest.bindings.cuest.Parameters,
Destroy and free a cuEST parameters object of the specified type.
Properly deallocates and cleans up resources for a parameters handle created by
cuestParametersCreate().Parameters#
- parametersType[in]CuestParametersType
Type of parameters object (must match creation).
- parameters[in] :
Opaque parameters handle to destroy; must not be NULL.
Returns#
- status[out]cuestStatus_t
CUEST_STATUS_SUCCESSon success; error code (null pointer, invalid type, exception) on failure.
- cuest.bindings.cuestParametersQuery(
- *,
- parametersType: cuest.bindings.cuest.CuestParametersType,
- parameters: cuest.bindings.cuest.Parameters,
- attribute: int,
- attributeValue: object,
Query the value of a given attribute from a cuEST parameters object.
Retrieves the value associated with an
attributefor the givenparametersobject. The type and meaning ofattributeandattributeValuedepend onparametersType. The result is placed inattributeValue, whose size must match the expected value size.Parameters#
- parametersType[in]CuestParametersType
Type of parameters object being queried.
- parameters[in] :
Opaque handle of the parameters object (must not be NULL).
- attribute[in]int
Integer attribute identifier (cast to appropriate attribute enum internally).
- attributeValue[out] :
Destination for the queried value (must not be NULL).
Returns#
- status[out]cuestStatus_t
CUEST_STATUS_SUCCESSon success; error code (null pointer, invalid type, exception) on failure.
- cuest.bindings.cuestParametersConfigure(
- *,
- parametersType: cuest.bindings.cuest.CuestParametersType,
- parameters: cuest.bindings.cuest.Parameters,
- attribute: int,
- attributeValue: object,
Configure the value of a given
attributefor a cuESTparametersobject.Sets or updates the value of an
attributefor the givenparametersobject. The type and semantics of theattributeandattributeValuedepend onparametersType. The input value is provided as a pointer, and its size must match the expected storage for theattribute.Parameters#
- parametersType[in]CuestParametersType
Type of parameters object being queried.
- parameters[out] :
Opaque handle of the parameters object (must not be NULL).
- attribute[in]int
Integer attribute identifier (cast to appropriate attribute enum internally).
- attributeValue[in] :
Pointer to the new value (must not be NULL).
Returns#
- status[out]cuestStatus_t
CUEST_STATUS_SUCCESSon success; error code (null pointer, invalid type, exception) on failure.