Skip to main content

SensorDeviceCache

Struct SensorDeviceCache 

Source
pub struct SensorDeviceCache { /* private fields */ }

Implementations§

Source§

impl SensorDeviceCache

Source

pub fn new() -> SensorDeviceCache

Source

pub fn reset(&mut self)

Source

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>

Source

pub fn infrared_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn infrared_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn infrared_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn infrared_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn infrared_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn infrared_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn infrared_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn infrared_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn infrared_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn proximity_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn proximity_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn proximity_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn proximity_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn proximity_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn proximity_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn proximity_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn proximity_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn proximity_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn shock_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn shock_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn shock_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn shock_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn shock_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn shock_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn shock_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn shock_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn shock_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn battery_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn battery_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn battery_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn battery_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn battery_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn battery_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn battery_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn battery_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn battery_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn servo_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn servo_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn servo_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn servo_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn servo_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn servo_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn servo_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn servo_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn servo_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn analog_g_p_i_o_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn analog_g_p_i_o_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn analog_g_p_i_o_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn analog_g_p_i_o_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

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>

Source

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>

Source

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>

Source

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>

Source

pub fn analog_g_p_i_o_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn digital_g_p_i_o_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, ) -> Result<(), FeagiDataError>

Source

pub fn digital_g_p_i_o_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn digital_g_p_i_o_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<bool, FeagiDataError>

Source

pub fn digital_g_p_i_o_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn digital_g_p_i_o_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

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>

Source

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>

Source

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>

Source

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>

Source

pub fn digital_g_p_i_o_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, misc_data_dimensions: MiscDataDimensions, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn misc_data_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn misc_data_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

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>

Source

pub fn misc_data_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_input_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, misc_data_dimensions: MiscDataDimensions, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_input_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_input_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn text_english_input_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn text_english_input_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

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>

Source

pub fn text_english_input_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn text_english_input_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_input_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn count_input_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn count_input_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn count_input_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn count_input_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

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>

Source

pub fn count_input_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn count_input_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn count_input_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn count_input_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn vision_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, image_properties: ImageFrameProperties, ) -> Result<(), FeagiDataError>

Source

pub fn vision_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn vision_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<ImageFrame, FeagiDataError>

Source

pub fn vision_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn vision_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn vision_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn vision_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn vision_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn vision_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn vision_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn segmented_vision_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn segmented_vision_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SegmentedImageFrame, FeagiDataError>

Source

pub fn segmented_vision_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn segmented_vision_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

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>

Source

pub fn segmented_vision_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn segmented_vision_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn segmented_vision_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn segmented_vision_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn accelerometer_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn accelerometer_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage3D, FeagiDataError>

Source

pub fn accelerometer_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn accelerometer_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn accelerometer_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn accelerometer_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn accelerometer_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn accelerometer_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn accelerometer_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn gyroscope_write( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, data: WrappedIOData, ) -> Result<(), FeagiDataError>

Source

pub fn gyroscope_read_postprocessed_cache_value( &mut self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SignedPercentage4D, FeagiDataError>

Source

pub fn gyroscope_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn gyroscope_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn gyroscope_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn gyroscope_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn gyroscope_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn gyroscope_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn gyroscope_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn verify_existence( &self, sensory_cortical_unit: SensoryCorticalUnit, unit_index: CorticalUnitIndex, cortical_channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

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>

Source

pub fn get_feagi_byte_container(&self) -> &FeagiByteContainer

Source

pub fn get_feagi_byte_container_mut(&mut self) -> &mut FeagiByteContainer

Source

pub fn get_neurons(&self) -> &CorticalMappedXYZPNeuronVoxels

Source

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 succeeded
  • Err(FeagiDataError) - If encoding fails
Source

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 succeeded
  • Err(FeagiDataError) - If encoding fails
Source

pub fn import_from_input_definition( &mut self, replacing_definition: &JSONInputOutputDefinition, ) -> Result<(), FeagiDataError>

Source

pub fn export_to_input_definition( &self, filling_definition: &mut JSONInputOutputDefinition, ) -> Result<(), FeagiDataError>

Trait Implementations§

Source§

impl Debug for SensorDeviceCache

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for SensorDeviceCache

Source§

fn default() -> SensorDeviceCache

Returns the “default value” for a type. Read more
Source§

impl Display for SensorDeviceCache

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

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

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

Source§

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§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> ToStringFallible for T
where T: Display,

Source§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more