pub struct AnalysisApi { /* private fields */ }Expand description
Raw C ABI for GeoKernel.Analysis. Loaded modules remain resident until process exit.
Implementations§
Source§impl AnalysisApi
impl AnalysisApi
pub const SYMBOLS: &'static [&'static str]
Sourcepub unsafe fn load(path: &Path) -> Result<Self, LoadError>
pub unsafe fn load(path: &Path) -> Result<Self, LoadError>
Load a trusted, ABI-compatible GeoKernel runtime module.
§Safety
Library initializers must be safe and every symbol must match this SDK ABI.
Sourcepub unsafe fn GeoKernelAiQa_Create(&self, a0: *const WChar) -> *mut c_void
pub unsafe fn GeoKernelAiQa_Create(&self, a0: *const WChar) -> *mut c_void
Native declaration: void* GeoKernelAiQa_Create(const wchar_t* policyJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAiQa_Destroy(&self, a0: *mut c_void)
pub unsafe fn GeoKernelAiQa_Destroy(&self, a0: *mut c_void)
Native declaration: void GeoKernelAiQa_Destroy(void* workflow).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAiQa_Ingest(
&self,
a0: *mut c_void,
a1: *const WChar,
) -> i32
pub unsafe fn GeoKernelAiQa_Ingest( &self, a0: *mut c_void, a1: *const WChar, ) -> i32
Native declaration: int GeoKernelAiQa_Ingest(void* workflow, const wchar_t* featuresJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAiQa_LastError(&self, a0: *mut WChar, a1: i32) -> i32
pub unsafe fn GeoKernelAiQa_LastError(&self, a0: *mut WChar, a1: i32) -> i32
Native declaration: int GeoKernelAiQa_LastError(wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAiQa_Review(
&self,
a0: *mut c_void,
a1: *const WChar,
) -> i32
pub unsafe fn GeoKernelAiQa_Review( &self, a0: *mut c_void, a1: *const WChar, ) -> i32
Native declaration: int GeoKernelAiQa_Review(void* workflow, const wchar_t* decisionJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAiQa_SnapshotJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelAiQa_SnapshotJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelAiQa_SnapshotJson(void* workflow, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_DestroyJob(&self, a0: *mut c_void)
pub unsafe fn GeoKernelAnalysis_DestroyJob(&self, a0: *mut c_void)
Native declaration: void GeoKernelAnalysis_DestroyJob(void* job).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_DestroyLayer(&self, a0: *mut c_void)
pub unsafe fn GeoKernelAnalysis_DestroyLayer(&self, a0: *mut c_void)
Native declaration: void GeoKernelAnalysis_DestroyLayer(void* layer).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_DestroyResult(&self, a0: *mut c_void)
pub unsafe fn GeoKernelAnalysis_DestroyResult(&self, a0: *mut c_void)
Native declaration: void GeoKernelAnalysis_DestroyResult(void* result).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_Execute(&self, a0: *const WChar) -> *mut c_void
pub unsafe fn GeoKernelAnalysis_Execute(&self, a0: *const WChar) -> *mut c_void
Native declaration: void* GeoKernelAnalysis_Execute(const wchar_t* requestJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_JobCancel(&self, a0: *mut c_void) -> i32
pub unsafe fn GeoKernelAnalysis_JobCancel(&self, a0: *mut c_void) -> i32
Native declaration: int GeoKernelAnalysis_JobCancel(void* job).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_JobIsFinished(&self, a0: *mut c_void) -> i32
pub unsafe fn GeoKernelAnalysis_JobIsFinished(&self, a0: *mut c_void) -> i32
Native declaration: int GeoKernelAnalysis_JobIsFinished(void* job).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_JobProgressJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelAnalysis_JobProgressJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelAnalysis_JobProgressJson(void* job, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_JobWait(&self, a0: *mut c_void) -> *mut c_void
pub unsafe fn GeoKernelAnalysis_JobWait(&self, a0: *mut c_void) -> *mut c_void
Native declaration: void* GeoKernelAnalysis_JobWait(void* job).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_LastError(&self, a0: *mut WChar, a1: i32) -> i32
pub unsafe fn GeoKernelAnalysis_LastError(&self, a0: *mut WChar, a1: i32) -> i32
Native declaration: int GeoKernelAnalysis_LastError(wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_LayerDiagnosticsJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelAnalysis_LayerDiagnosticsJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelAnalysis_LayerDiagnosticsJson(void* layer, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_LayerFeaturesJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelAnalysis_LayerFeaturesJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelAnalysis_LayerFeaturesJson(void* layer, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_LayerPointer(
&self,
a0: *mut c_void,
) -> *mut c_void
pub unsafe fn GeoKernelAnalysis_LayerPointer( &self, a0: *mut c_void, ) -> *mut c_void
Native declaration: void* GeoKernelAnalysis_LayerPointer(void* layer).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_MaterializeLayer(
&self,
a0: *mut c_void,
a1: *const WChar,
) -> *mut c_void
pub unsafe fn GeoKernelAnalysis_MaterializeLayer( &self, a0: *mut c_void, a1: *const WChar, ) -> *mut c_void
Native declaration: void* GeoKernelAnalysis_MaterializeLayer(void* result, const wchar_t* optionsJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_PlanJson(
&self,
a0: *const WChar,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelAnalysis_PlanJson( &self, a0: *const WChar, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelAnalysis_PlanJson(const wchar_t* requestJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_ResultJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelAnalysis_ResultJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelAnalysis_ResultJson(void* result, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_RunAiInstanceVectorizationToMemory(
&self,
a0: *const WChar,
a1: GeoKernelAnalysisProgressCallback,
a2: *mut c_void,
) -> *mut c_void
pub unsafe fn GeoKernelAnalysis_RunAiInstanceVectorizationToMemory( &self, a0: *const WChar, a1: GeoKernelAnalysisProgressCallback, a2: *mut c_void, ) -> *mut c_void
Native declaration: void* GeoKernelAnalysis_RunAiInstanceVectorizationToMemory(const wchar_t* requestJson, GeoKernelAnalysisProgressCallback progress, void* userData).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_RunAiObjectDetectionToMemory(
&self,
a0: *const WChar,
a1: GeoKernelAnalysisProgressCallback,
a2: *mut c_void,
) -> *mut c_void
pub unsafe fn GeoKernelAnalysis_RunAiObjectDetectionToMemory( &self, a0: *const WChar, a1: GeoKernelAnalysisProgressCallback, a2: *mut c_void, ) -> *mut c_void
Native declaration: void* GeoKernelAnalysis_RunAiObjectDetectionToMemory(const wchar_t* requestJson, GeoKernelAnalysisProgressCallback progress, void* userData).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAnalysis_RunChangeDetectionToMemory(
&self,
a0: *const WChar,
a1: GeoKernelAnalysisProgressCallback,
a2: *mut c_void,
) -> *mut c_void
pub unsafe fn GeoKernelAnalysis_RunChangeDetectionToMemory( &self, a0: *const WChar, a1: GeoKernelAnalysisProgressCallback, a2: *mut c_void, ) -> *mut c_void
Native declaration: void* GeoKernelAnalysis_RunChangeDetectionToMemory(const wchar_t* requestJson, GeoKernelAnalysisProgressCallback progress, void* userData).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.