Enum generic_camera::ClientCall
source · pub enum ClientCall {
Show 19 variants
Vendor,
CameraReady,
CameraName,
ListProperties,
GetProperty(GenCamCtrl),
SetProperty(GenCamCtrl, PropertyValue),
CheckAuto(GenCamCtrl),
SetAuto(GenCamCtrl, bool),
CancelCapture,
IsCapturing,
Capture,
StartExposure,
DownloadImage,
ImageReady,
CameraState,
GetExposure,
SetExposure(Duration),
SetRoi(GenCamRoi),
GetRoi,
}server only.Expand description
The possible calls that can be made to a generic camera server.
Variants§
Vendor
Get the vendor of the camera. Calls the GenCam::vendor method.
CameraReady
Check if the camera is ready. Calls the GenCam::camera_ready method.
CameraName
Get the name of the camera. Calls the GenCam::camera_name method.
ListProperties
List all properties available on the camera. Calls the GenCam::list_properties method.
GetProperty(GenCamCtrl)
Get a specific property from the camera. Calls the GenCam::get_property method.
SetProperty(GenCamCtrl, PropertyValue)
Set a specific property on the camera. Calls the GenCam::set_property method.
CheckAuto(GenCamCtrl)
Check if a property is set to auto. Calls the GenCam::get_property_auto method.
SetAuto(GenCamCtrl, bool)
Set a property to auto. Calls the GenCam::set_property_auto method.
CancelCapture
Cancel a capture in progress. Calls the GenCam::cancel_capture method.
IsCapturing
Check if the camera is currently capturing. Calls the GenCam::is_capturing method.
Capture
Capture an image from the camera. Calls the GenCam::capture method.
StartExposure
Start an exposure on the camera. Calls the GenCam::start_exposure method.
DownloadImage
Download an image from the camera. Calls the GenCam::download_image method.
ImageReady
Check if an image is ready to be downloaded. Calls the GenCam::image_ready method.
CameraState
Get the current state of the camera. Calls the GenCam::camera_state method.
GetExposure
Get the current exposure time. Calls the GenCam::get_exposure method.
SetExposure(Duration)
Set the exposure time. Calls the GenCam::set_exposure method.
SetRoi(GenCamRoi)
Set the region of interest on the camera. Calls the GenCam::set_roi method.
GetRoi
Get the current region of interest. Calls the GenCam::get_roi method.
Trait Implementations§
source§impl Clone for ClientCall
impl Clone for ClientCall
source§fn clone(&self) -> ClientCall
fn clone(&self) -> ClientCall
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClientCall
impl Debug for ClientCall
source§impl<'de> Deserialize<'de> for ClientCall
impl<'de> Deserialize<'de> for ClientCall
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for ClientCall
impl RefUnwindSafe for ClientCall
impl Send for ClientCall
impl Sync for ClientCall
impl Unpin for ClientCall
impl UnwindSafe for ClientCall
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)