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

Go to the source code of this file.

Typedefs

typedef struct scanbotsdk_ref_counted_object_profile_t scanbotsdk_ref_counted_object_profile_t
 scanbotsdk_ref_counted_object_profile_t class
 

Functions

SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_create (const char *unique_id, int64_t timestamp_created, int strong_references, int serialized_references, scanbotsdk_ref_counted_object_profile_t **result)
 Creates a new instance of scanbotsdk_ref_counted_object_profile with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_create_with_defaults (const char *unique_id, int64_t timestamp_created, scanbotsdk_ref_counted_object_profile_t **result)
 Creates a new instance of scanbotsdk_ref_counted_object_profile_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_free (scanbotsdk_ref_counted_object_profile_t *object)
 Frees the memory allocated for the instance of scanbotsdk_ref_counted_object_profile_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_unique_id (scanbotsdk_ref_counted_object_profile_t *self, const char **unique_id)
 Returns value of unique_id field of the given object. The returned pointers do NOT own the underlying object, caller must not free them.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_timestamp_created (scanbotsdk_ref_counted_object_profile_t *self, int64_t *timestamp_created)
 Returns value of timestamp_created field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_strong_references (scanbotsdk_ref_counted_object_profile_t *self, int *strong_references)
 Returns value of strong_references field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_serialized_references (scanbotsdk_ref_counted_object_profile_t *self, int *serialized_references)
 Returns value of serialized_references field of the given object.