Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKAcceleratorTypes.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/AcceleratorTypes.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_ACCELERATORTYPES_H
9#define SCANBOTSDK_ACCELERATORTYPES_H
10
11
12#include <stdbool.h>
13#include <stddef.h>
14#include <stdint.h>
15#include <string.h>
16#include <ScanbotSDKErrorCode.h>
17#include <ScanbotSDKDefs.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23
30
38
39
46
64 const char* engine_path,
66
77
78
86
111
127
128
129#ifdef __cplusplus
130} /* extern "C" */
131#endif
132
133#endif /* SCANBOTSDK_ACCELERATORTYPES_H */
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
struct scanbotsdk_tensor_rt_accelerator_t scanbotsdk_tensor_rt_accelerator_t
scanbotsdk_tensor_rt_accelerator_t class
Definition ScanbotSDKAcceleratorTypes.h:45
SBSDK_API scanbotsdk_error_code_t scanbotsdk_tensor_rt_accelerator_free(scanbotsdk_tensor_rt_accelerator_t *object)
Frees the memory allocated for the instance of scanbotsdk_tensor_rt_accelerator_t....
SBSDK_API scanbotsdk_error_code_t scanbotsdk_tensor_rt_accelerator_as_scanbotsdk_accelerator(scanbotsdk_tensor_rt_accelerator_t *object, scanbotsdk_accelerator_t **result)
Casts the given instance of scanbotsdk_tensor_rt_accelerator_t to its parent type scanbotsdk_accelera...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_accelerator_is_scanbotsdk_tensor_rt_accelerator(scanbotsdk_accelerator_t *object, bool *result)
Checks if the given instance of scanbotsdk_accelerator_t is an instance of its subtype scanbotsdk_ten...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_tensor_rt_accelerator_create(const char *engine_path, scanbotsdk_tensor_rt_accelerator_t **result)
Creates a new instance of scanbotsdk_tensor_rt_accelerator with given params and stores it in the loc...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_accelerator_free(scanbotsdk_accelerator_t *object)
Frees the memory allocated for the instance of scanbotsdk_accelerator_t. If null is passed,...
struct scanbotsdk_accelerator_t scanbotsdk_accelerator_t
scanbotsdk_accelerator_t class
Definition ScanbotSDKAcceleratorTypes.h:29
SBSDK_API scanbotsdk_error_code_t scanbotsdk_accelerator_as_scanbotsdk_tensor_rt_accelerator(scanbotsdk_accelerator_t *object, scanbotsdk_tensor_rt_accelerator_t **result)
Casts the given instance of scanbotsdk_accelerator_t to its subtype scanbotsdk_tensor_rt_accelerator_...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_tensor_rt_accelerator_create_with_defaults(scanbotsdk_tensor_rt_accelerator_t **result)
Creates a new instance of scanbotsdk_tensor_rt_accelerator_t with given required params and stores it...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_tensor_rt_accelerator_get_engine_path(scanbotsdk_tensor_rt_accelerator_t *self, const char **engine_path)
Returns value of engine_path field of the given object. The returned pointers do NOT own the underlyi...