Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKAcceleratorTypes.h File Reference

Go to the source code of this file.

Typedefs

typedef struct scanbotsdk_accelerator_t scanbotsdk_accelerator_t
 scanbotsdk_accelerator_t class
 
typedef struct scanbotsdk_tensor_rt_accelerator_t scanbotsdk_tensor_rt_accelerator_t
 scanbotsdk_tensor_rt_accelerator_t class
 

Functions

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, the function does nothing.
 
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 location specified by the last argument.
 
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 in the location specified by the last argument.
 
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. If null is passed, the function does nothing.
 
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_tensor_rt_accelerator_t.
 
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_t. If the given instance is not an instance of the subtype, result will be null.
 
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_accelerator_t.
 
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 underlying object, caller must not free them.