[][src]Trait aravis::CameraExt

pub trait CameraExt: 'static {
    fn abort_acquisition(&self) -> Result<(), Error>;
fn acquisition(&self, timeout: u64) -> Result<Buffer, Error>;
fn check_status(&self) -> Result<(), Error>;
fn clear_triggers(&self) -> Result<(), Error>;
fn execute_command(&self, feature: &str) -> Result<(), Error>;
fn get_acquisition_mode(&self) -> Result<AcquisitionMode, Error>;
fn get_available_enumerations(
        &self,
        feature: &str
    ) -> Result<Vec<i64>, Error>;
fn get_available_enumerations_as_display_names(
        &self,
        feature: &str
    ) -> Result<Vec<GString>, Error>;
fn get_available_enumerations_as_strings(
        &self,
        feature: &str
    ) -> Result<Vec<GString>, Error>;
fn get_available_pixel_formats(&self) -> Result<Vec<i64>, Error>;
fn get_available_pixel_formats_as_display_names(
        &self
    ) -> Result<Vec<GString>, Error>;
fn get_available_pixel_formats_as_strings(
        &self
    ) -> Result<Vec<GString>, Error>;
fn get_available_trigger_sources(&self) -> Result<Vec<GString>, Error>;
fn get_available_triggers(&self) -> Result<Vec<GString>, Error>;
fn get_binning(&self) -> Result<(i32, i32), Error>;
fn get_boolean(&self, feature: &str) -> Result<bool, Error>;
fn get_chunk_mode(&self) -> Result<(), Error>;
fn get_chunk_state(&self, chunk: &str) -> Result<(), Error>;
fn get_device(&self) -> Option<Device>;
fn get_device_id(&self) -> Result<GString, Error>;
fn get_exposure_time(&self) -> Result<f64, Error>;
fn get_exposure_time_auto(&self) -> Result<Auto, Error>;
fn get_exposure_time_bounds(&self) -> Result<(f64, f64), Error>;
fn get_float(&self, feature: &str) -> Result<f64, Error>;
fn get_float_bounds(&self, feature: &str) -> Result<(f64, f64), Error>;
fn get_frame_count(&self) -> Result<i64, Error>;
fn get_frame_count_bounds(&self) -> Result<(i64, i64), Error>;
fn get_frame_rate(&self) -> Result<f64, Error>;
fn get_frame_rate_bounds(&self) -> Result<(f64, f64), Error>;
fn get_gain(&self) -> Result<f64, Error>;
fn get_gain_auto(&self) -> Result<Auto, Error>;
fn get_gain_bounds(&self) -> Result<(f64, f64), Error>;
fn get_height_bounds(&self) -> Result<(i32, i32), Error>;
fn get_height_increment(&self) -> Result<i32, Error>;
fn get_integer(&self, feature: &str) -> Result<i64, Error>;
fn get_integer_bounds(&self, feature: &str) -> Result<(i64, i64), Error>;
fn get_integer_increment(&self, feature: &str) -> Result<i64, Error>;
fn get_model_name(&self) -> Result<GString, Error>;
fn get_payload(&self) -> Result<(), Error>;
fn get_pixel_format(&self) -> Result<PixelFormat, Error>;
fn get_pixel_format_as_string(&self) -> Result<GString, Error>;
fn get_region(&self) -> Result<(i32, i32, i32, i32), Error>;
fn get_sensor_size(&self) -> Result<(i32, i32), Error>;
fn get_string(&self, feature: &str) -> Result<GString, Error>;
fn get_trigger_source(&self) -> Result<GString, Error>;
fn get_vendor_name(&self) -> Result<GString, Error>;
fn get_width_bounds(&self) -> Result<(i32, i32), Error>;
fn get_width_increment(&self) -> Result<i32, Error>;
fn get_x_binning_bounds(&self) -> Result<(i32, i32), Error>;
fn get_x_binning_increment(&self) -> Result<i32, Error>;
fn get_x_offset_bounds(&self) -> Result<(i32, i32), Error>;
fn get_x_offset_increment(&self) -> Result<i32, Error>;
fn get_y_binning_bounds(&self) -> Result<(i32, i32), Error>;
fn get_y_binning_increment(&self) -> Result<i32, Error>;
fn get_y_offset_bounds(&self) -> Result<(i32, i32), Error>;
fn get_y_offset_increment(&self) -> Result<i32, Error>;
fn gv_auto_packet_size(&self) -> Result<(), Error>;
fn gv_get_current_stream_channel(&self) -> Result<i32, Error>;
fn gv_get_n_stream_channels(&self) -> Result<i32, Error>;
fn gv_get_packet_delay(&self) -> Result<i64, Error>;
fn gv_get_packet_size(&self) -> Result<(), Error>;
fn gv_select_stream_channel(&self, channel_id: i32) -> Result<(), Error>;
fn gv_set_packet_delay(&self, delay_ns: i64) -> Result<(), Error>;
fn gv_set_packet_size(&self, packet_size: i32) -> Result<(), Error>;
fn gv_set_stream_options(&self, options: GvStreamOption);
fn is_binning_available(&self) -> Result<(), Error>;
fn is_exposure_auto_available(&self) -> Result<(), Error>;
fn is_exposure_time_available(&self) -> Result<(), Error>;
fn is_feature_available(&self, feature: &str) -> Result<(), Error>;
fn is_frame_rate_available(&self) -> Result<(), Error>;
fn is_gain_auto_available(&self) -> Result<(), Error>;
fn is_gain_available(&self) -> Result<(), Error>;
fn is_gv_device(&self) -> bool;
fn is_uv_device(&self) -> bool;
fn set_acquisition_mode(&self, value: AcquisitionMode) -> Result<(), Error>;
fn set_binning(&self, dx: i32, dy: i32) -> Result<(), Error>;
fn set_boolean(&self, feature: &str, value: bool) -> Result<(), Error>;
fn set_chunk_mode(&self, is_active: bool) -> Result<(), Error>;
fn set_chunk_state(
        &self,
        chunk: &str,
        is_enabled: bool
    ) -> Result<(), Error>;
fn set_chunks(&self, chunk_list: &str) -> Result<(), Error>;
fn set_exposure_time(&self, exposure_time_us: f64) -> Result<(), Error>;
fn set_exposure_time_auto(&self, auto_mode: Auto) -> Result<(), Error>;
fn set_float(&self, feature: &str, value: f64) -> Result<(), Error>;
fn set_frame_count(&self, frame_count: i64) -> Result<(), Error>;
fn set_frame_rate(&self, frame_rate: f64) -> Result<(), Error>;
fn set_gain(&self, gain: f64) -> Result<(), Error>;
fn set_gain_auto(&self, auto_mode: Auto) -> Result<(), Error>;
fn set_integer(&self, feature: &str, value: i64) -> Result<(), Error>;
fn set_pixel_format(&self, format: PixelFormat) -> Result<(), Error>;
fn set_pixel_format_from_string(&self, format: &str) -> Result<(), Error>;
fn set_region(
        &self,
        x: i32,
        y: i32,
        width: i32,
        height: i32
    ) -> Result<(), Error>;
fn set_string(&self, feature: &str, value: &str) -> Result<(), Error>;
fn set_trigger(&self, source: &str) -> Result<(), Error>;
fn set_trigger_source(&self, source: &str) -> Result<(), Error>;
fn software_trigger(&self) -> Result<(), Error>;
fn start_acquisition(&self) -> Result<(), Error>;
fn stop_acquisition(&self) -> Result<(), Error>;
fn uv_get_bandwidth(&self) -> Result<(), Error>;
fn uv_get_bandwidth_bounds(&self) -> Result<(u32, u32), Error>;
fn uv_is_bandwidth_control_available(&self) -> Result<(), Error>;
fn uv_set_bandwidth(&self, bandwidth: u32) -> Result<(), Error>; }

Required methods

fn abort_acquisition(&self) -> Result<(), Error>

fn acquisition(&self, timeout: u64) -> Result<Buffer, Error>

fn check_status(&self) -> Result<(), Error>

fn clear_triggers(&self) -> Result<(), Error>

fn execute_command(&self, feature: &str) -> Result<(), Error>

fn get_acquisition_mode(&self) -> Result<AcquisitionMode, Error>

fn get_available_enumerations(&self, feature: &str) -> Result<Vec<i64>, Error>

fn get_available_enumerations_as_display_names(
    &self,
    feature: &str
) -> Result<Vec<GString>, Error>

fn get_available_enumerations_as_strings(
    &self,
    feature: &str
) -> Result<Vec<GString>, Error>

fn get_available_pixel_formats(&self) -> Result<Vec<i64>, Error>

fn get_available_pixel_formats_as_display_names(
    &self
) -> Result<Vec<GString>, Error>

fn get_available_pixel_formats_as_strings(&self) -> Result<Vec<GString>, Error>

fn get_available_trigger_sources(&self) -> Result<Vec<GString>, Error>

fn get_available_triggers(&self) -> Result<Vec<GString>, Error>

fn get_binning(&self) -> Result<(i32, i32), Error>

fn get_boolean(&self, feature: &str) -> Result<bool, Error>

fn get_chunk_mode(&self) -> Result<(), Error>

fn get_chunk_state(&self, chunk: &str) -> Result<(), Error>

fn get_device(&self) -> Option<Device>

fn get_device_id(&self) -> Result<GString, Error>

fn get_exposure_time(&self) -> Result<f64, Error>

fn get_exposure_time_auto(&self) -> Result<Auto, Error>

fn get_exposure_time_bounds(&self) -> Result<(f64, f64), Error>

fn get_float(&self, feature: &str) -> Result<f64, Error>

fn get_float_bounds(&self, feature: &str) -> Result<(f64, f64), Error>

fn get_frame_count(&self) -> Result<i64, Error>

fn get_frame_count_bounds(&self) -> Result<(i64, i64), Error>

fn get_frame_rate(&self) -> Result<f64, Error>

fn get_frame_rate_bounds(&self) -> Result<(f64, f64), Error>

fn get_gain(&self) -> Result<f64, Error>

fn get_gain_auto(&self) -> Result<Auto, Error>

fn get_gain_bounds(&self) -> Result<(f64, f64), Error>

fn get_height_bounds(&self) -> Result<(i32, i32), Error>

fn get_height_increment(&self) -> Result<i32, Error>

fn get_integer(&self, feature: &str) -> Result<i64, Error>

fn get_integer_bounds(&self, feature: &str) -> Result<(i64, i64), Error>

fn get_integer_increment(&self, feature: &str) -> Result<i64, Error>

fn get_model_name(&self) -> Result<GString, Error>

fn get_payload(&self) -> Result<(), Error>

fn get_pixel_format(&self) -> Result<PixelFormat, Error>

fn get_pixel_format_as_string(&self) -> Result<GString, Error>

fn get_region(&self) -> Result<(i32, i32, i32, i32), Error>

fn get_sensor_size(&self) -> Result<(i32, i32), Error>

fn get_string(&self, feature: &str) -> Result<GString, Error>

fn get_trigger_source(&self) -> Result<GString, Error>

fn get_vendor_name(&self) -> Result<GString, Error>

fn get_width_bounds(&self) -> Result<(i32, i32), Error>

fn get_width_increment(&self) -> Result<i32, Error>

fn get_x_binning_bounds(&self) -> Result<(i32, i32), Error>

fn get_x_binning_increment(&self) -> Result<i32, Error>

fn get_x_offset_bounds(&self) -> Result<(i32, i32), Error>

fn get_x_offset_increment(&self) -> Result<i32, Error>

fn get_y_binning_bounds(&self) -> Result<(i32, i32), Error>

fn get_y_binning_increment(&self) -> Result<i32, Error>

fn get_y_offset_bounds(&self) -> Result<(i32, i32), Error>

fn get_y_offset_increment(&self) -> Result<i32, Error>

fn gv_auto_packet_size(&self) -> Result<(), Error>

fn gv_get_current_stream_channel(&self) -> Result<i32, Error>

fn gv_get_n_stream_channels(&self) -> Result<i32, Error>

fn gv_get_packet_delay(&self) -> Result<i64, Error>

fn gv_get_packet_size(&self) -> Result<(), Error>

fn gv_select_stream_channel(&self, channel_id: i32) -> Result<(), Error>

fn gv_set_packet_delay(&self, delay_ns: i64) -> Result<(), Error>

fn gv_set_packet_size(&self, packet_size: i32) -> Result<(), Error>

fn gv_set_stream_options(&self, options: GvStreamOption)

fn is_binning_available(&self) -> Result<(), Error>

fn is_exposure_auto_available(&self) -> Result<(), Error>

fn is_exposure_time_available(&self) -> Result<(), Error>

fn is_feature_available(&self, feature: &str) -> Result<(), Error>

fn is_frame_rate_available(&self) -> Result<(), Error>

fn is_gain_auto_available(&self) -> Result<(), Error>

fn is_gain_available(&self) -> Result<(), Error>

fn is_gv_device(&self) -> bool

fn is_uv_device(&self) -> bool

fn set_acquisition_mode(&self, value: AcquisitionMode) -> Result<(), Error>

fn set_binning(&self, dx: i32, dy: i32) -> Result<(), Error>

fn set_boolean(&self, feature: &str, value: bool) -> Result<(), Error>

fn set_chunk_mode(&self, is_active: bool) -> Result<(), Error>

fn set_chunk_state(&self, chunk: &str, is_enabled: bool) -> Result<(), Error>

fn set_chunks(&self, chunk_list: &str) -> Result<(), Error>

fn set_exposure_time(&self, exposure_time_us: f64) -> Result<(), Error>

fn set_exposure_time_auto(&self, auto_mode: Auto) -> Result<(), Error>

fn set_float(&self, feature: &str, value: f64) -> Result<(), Error>

fn set_frame_count(&self, frame_count: i64) -> Result<(), Error>

fn set_frame_rate(&self, frame_rate: f64) -> Result<(), Error>

fn set_gain(&self, gain: f64) -> Result<(), Error>

fn set_gain_auto(&self, auto_mode: Auto) -> Result<(), Error>

fn set_integer(&self, feature: &str, value: i64) -> Result<(), Error>

fn set_pixel_format(&self, format: PixelFormat) -> Result<(), Error>

fn set_pixel_format_from_string(&self, format: &str) -> Result<(), Error>

fn set_region(
    &self,
    x: i32,
    y: i32,
    width: i32,
    height: i32
) -> Result<(), Error>

fn set_string(&self, feature: &str, value: &str) -> Result<(), Error>

fn set_trigger(&self, source: &str) -> Result<(), Error>

fn set_trigger_source(&self, source: &str) -> Result<(), Error>

fn software_trigger(&self) -> Result<(), Error>

fn start_acquisition(&self) -> Result<(), Error>

fn stop_acquisition(&self) -> Result<(), Error>

fn uv_get_bandwidth(&self) -> Result<(), Error>

fn uv_get_bandwidth_bounds(&self) -> Result<(u32, u32), Error>

fn uv_is_bandwidth_control_available(&self) -> Result<(), Error>

fn uv_set_bandwidth(&self, bandwidth: u32) -> Result<(), Error>

Loading content...

Implementors

impl<O: IsA<Camera>> CameraExt for O[src]

Loading content...