Skip to main content

AnalysisApi

Struct AnalysisApi 

Source
pub struct AnalysisApi { /* private fields */ }
Expand description

Raw C ABI for GeoKernel.Analysis. Loaded modules remain resident until process exit.

Implementations§

Source§

impl AnalysisApi

Source

pub const SYMBOLS: &'static [&'static str]

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub unsafe fn GeoKernelAnalysis_Start(&self, a0: *const WChar) -> *mut c_void

Native declaration: void* GeoKernelAnalysis_Start(const wchar_t* requestJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.