pub struct SensorDeviceCache { /* private fields */ }Implementations§
Source§impl SensorDeviceCache
impl SensorDeviceCache
pub fn new() -> SensorDeviceCache
pub fn reset(&mut self)
pub fn infrared_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn infrared_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn infrared_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>
pub fn infrared_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn infrared_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn infrared_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn infrared_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn infrared_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn infrared_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn infrared_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn proximity_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn proximity_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn proximity_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>
pub fn proximity_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn proximity_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn proximity_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn proximity_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn proximity_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn proximity_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn proximity_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn shock_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn shock_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn shock_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>
pub fn shock_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn shock_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn shock_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn shock_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn shock_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn shock_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn shock_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn battery_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn battery_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn battery_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>
pub fn battery_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn battery_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn battery_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn battery_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn battery_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn battery_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn battery_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn servo_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn servo_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn servo_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>
pub fn servo_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn servo_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn servo_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn servo_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn servo_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn servo_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn servo_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn analog_g_p_i_o_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn analog_g_p_i_o_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn analog_g_p_i_o_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>
pub fn analog_g_p_i_o_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn analog_g_p_i_o_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn analog_g_p_i_o_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn analog_g_p_i_o_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn analog_g_p_i_o_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn analog_g_p_i_o_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn analog_g_p_i_o_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn digital_g_p_i_o_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, ) -> Result<(), FeagiDataError>
pub fn digital_g_p_i_o_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn digital_g_p_i_o_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<bool, FeagiDataError>
pub fn digital_g_p_i_o_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn digital_g_p_i_o_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn digital_g_p_i_o_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn digital_g_p_i_o_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn digital_g_p_i_o_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn digital_g_p_i_o_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn digital_g_p_i_o_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn misc_data_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, misc_data_dimensions: MiscDataDimensions, ) -> Result<(), FeagiDataError>
pub fn misc_data_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn misc_data_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>
pub fn misc_data_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn misc_data_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn misc_data_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn misc_data_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn misc_data_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn misc_data_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn misc_data_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn text_english_input_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, misc_data_dimensions: MiscDataDimensions, ) -> Result<(), FeagiDataError>
pub fn text_english_input_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn text_english_input_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>
pub fn text_english_input_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn text_english_input_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn text_english_input_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn text_english_input_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn text_english_input_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn text_english_input_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn text_english_input_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn count_input_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn count_input_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn count_input_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>
pub fn count_input_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn count_input_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn count_input_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn count_input_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn count_input_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn count_input_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn count_input_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn vision_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, image_properties: ImageFrameProperties, ) -> Result<(), FeagiDataError>
pub fn vision_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn vision_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<ImageFrame, FeagiDataError>
pub fn vision_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn vision_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn vision_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn vision_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn vision_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn vision_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn vision_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn segmented_vision_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, input_image_properties: ImageFrameProperties, segmented_image_properties: SegmentedImageFrameProperties, initial_gaze: GazeProperties, ) -> Result<(), FeagiDataError>
pub fn segmented_vision_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn segmented_vision_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SegmentedImageFrame, FeagiDataError>
pub fn segmented_vision_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn segmented_vision_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn segmented_vision_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn segmented_vision_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn segmented_vision_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn segmented_vision_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn segmented_vision_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn accelerometer_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn accelerometer_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn accelerometer_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage3D, FeagiDataError>
pub fn accelerometer_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn accelerometer_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn accelerometer_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn accelerometer_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn accelerometer_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn accelerometer_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn accelerometer_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn gyroscope_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>
pub fn gyroscope_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>
pub fn gyroscope_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SignedPercentage4D, FeagiDataError>
pub fn gyroscope_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>
pub fn gyroscope_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>
pub fn gyroscope_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn gyroscope_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn gyroscope_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>
pub fn gyroscope_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>
pub fn gyroscope_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn verify_existence( &self, sensory_cortical_unit: SensoryCorticalUnit, unit_index: CorticalUnitIndex, cortical_channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>
pub fn try_get_index_of_first_stage_property_type_of( &self, sensory_cortical_unit: SensoryCorticalUnit, unit_index: CorticalUnitIndex, cortical_channel_index: CorticalChannelIndex, property_example: &PipelineStageProperties, ) -> Result<PipelineStagePropertyIndex, FeagiDataError>
pub fn get_feagi_byte_container(&self) -> &FeagiByteContainer
pub fn get_feagi_byte_container_mut(&mut self) -> &mut FeagiByteContainer
pub fn get_neurons(&self) -> &CorticalMappedXYZPNeuronVoxels
Sourcepub fn encode_all_sensors_to_neurons(
&mut self,
time_of_burst: Instant,
) -> Result<(), FeagiDataError>
pub fn encode_all_sensors_to_neurons( &mut self, time_of_burst: Instant, ) -> Result<(), FeagiDataError>
Encode all cached sensor data to neuron voxel format
Iterates over all registered sensor stream caches and encodes their processed data into neuron voxel representations. This populates the internal neuron_data field.
§Arguments
time_of_burst- Timestamp for this encoding burst
§Returns
Ok(())- If encoding succeededErr(FeagiDataError)- If encoding fails
Sourcepub fn encode_neurons_to_bytes(&mut self) -> Result<(), FeagiDataError>
pub fn encode_neurons_to_bytes(&mut self) -> Result<(), FeagiDataError>
Encode neuron voxel data to byte container format
Serializes the internal neuron_data into FeagiByteContainer format. This populates the internal byte_data field.
§Returns
Ok(())- If encoding succeededErr(FeagiDataError)- If encoding fails
pub fn import_from_input_definition( &mut self, replacing_definition: &JSONInputOutputDefinition, ) -> Result<(), FeagiDataError>
pub fn export_to_input_definition( &self, filling_definition: &mut JSONInputOutputDefinition, ) -> Result<(), FeagiDataError>
Trait Implementations§
Source§impl Debug for SensorDeviceCache
impl Debug for SensorDeviceCache
Source§impl Default for SensorDeviceCache
impl Default for SensorDeviceCache
Source§fn default() -> SensorDeviceCache
fn default() -> SensorDeviceCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SensorDeviceCache
impl !RefUnwindSafe for SensorDeviceCache
impl Send for SensorDeviceCache
impl !Sync for SensorDeviceCache
impl Unpin for SensorDeviceCache
impl !UnwindSafe for SensorDeviceCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.