Zebra Bioptic Color Camera SDK For Linux
1.0.0-17
|
#include <zebra_camera_client.h>
Public Member Functions | |
virtual std::vector< uint8_t > | GetProperty (Get function, uint8_t unit_or_terminal_id, uint8_t property_id)=0 |
virtual void | SetProperty (Set function, uint8_t unit_or_terminal_id, uint8_t property_id, std::vector< uint8_t > value)=0 |
virtual AttributeInfo | GetPropertyInfo (uint8_t unit_or_terminal_id, uint8_t property_id)=0 |
virtual bool | IsPropertySupported (uint8_t unit_or_terminal_id, uint8_t property_id)=0 |
virtual bool | IsAutoSupported (uint8_t unit_or_terminal_id, uint8_t property_id)=0 |
virtual bool | IsAutoEnabled (uint8_t unit_or_terminal_id, uint8_t property_id)=0 |
virtual void | AutoEnable (bool enable, uint8_t unit_or_terminal_id, uint8_t property_id)=0 |
virtual std::string | GetSerialNumber ()=0 |
virtual std::string | GetModelNumber ()=0 |
virtual std::string | GetDateOfManufacture ()=0 |
virtual std::string | GetDateOfFirstProgram ()=0 |
virtual std::string | GetFirstServiceDate ()=0 |
virtual std::string | GetFirmwareVersion ()=0 |
virtual std::string | GetHardwareVersion ()=0 |
virtual std::vector< FrameType > | GetSupportedFrameTypes ()=0 |
virtual FrameType | GetCurrentFrameType ()=0 |
virtual void | SetCurrentFrameType (FrameType frame_type)=0 |
virtual void | AddContinuousImageEventListener (ContinuousImageEventListener &listener)=0 |
virtual void | RemoveContinuousImageEventListener (ContinuousImageEventListener &listener)=0 |
virtual void | AddSnapshotImageEventListener (SnapshotImageEventListener &listener)=0 |
virtual void | RemoveSnapshotImageEventListener (SnapshotImageEventListener &listener)=0 |
virtual void | AddProduceImageEventListener (ProduceImageEventListener &listener)=0 |
virtual void | RemoveProduceImageEventListener (ProduceImageEventListener &listener)=0 |
virtual void | AddDecodeImageEventListener (DecodeImageEventListener &listener)=0 |
virtual void | RemoveDecodeImageEventListener (DecodeImageEventListener &listener)=0 |
virtual void | AddDecodeSessionStatusChangeEventListener (DecodeSessionStatusChangeEventListener &listener)=0 |
virtual void | RemoveDecodeSessionStatusChangeEventListener (DecodeSessionStatusChangeEventListener &listener)=0 |
virtual void | SetDefaults ()=0 |
virtual void | WriteToFlash ()=0 |
virtual Image | CaptureSnapshot ()=0 |
Public Attributes | |
Property< int16_t, CameraPropertyId::BRIGHTNESS > | Brightness |
PropertyAuto< int16_t, CameraPropertyId::CONTRAST > | Contrast |
Property< int16_t, CameraPropertyId::SATURATION > | Saturation |
Property< int16_t, CameraPropertyId::SHARPNESS > | Sharpness |
Property< int16_t, CameraPropertyId::GAMMA > | Gamma |
PropertyAuto< WhiteBalance, CameraPropertyId::WHITE_BALANCE_COMPONENT > | WhiteBalanceComponent |
Property< int16_t, CameraPropertyId::BACKLIGHT_COMPENSATION > | BacklightCompensation |
Property< int16_t, CameraPropertyId::GAIN > | Gain |
PropertyAuto< uint32_t, CameraPropertyId::EXPOSURE_TIME_ABSOLUTE > | AbsoluteExposureTime |
PropertyEx< VideoMode, CameraPropertyId::VIDEO_MODE > | VideoModeSetting |
PropertyEx< IlluminationMode, CameraPropertyId::ILLUMINATION_MODE > | IlluminationModeSetting |
PropertyEx< PowerUserMode, CameraPropertyId::POWER_USER_MODE > | PowerUserModeSetting |
Zebra Camera Client interface.
|
pure virtual |
Add a listener for continuous-image events.
listener | Reference to the listener object. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Add a listener for decode-image events.
listener | Reference to the listener object. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Add a listener for decode session status change events.
listener | Reference to the listener object. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Add a listener for produce-image events.
listener | Reference to the listener object. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Add a listener for snapshot-image events.
listener | Reference to the listener object. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Enable/disable auto functionality of an auto supported property.
unit_or_terminal_id | UVC unit or terminal id. |
property_id | UVC property of the unit or the terminal specified in unit_or_terminal_id. |
An | exception in an error. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Capture a single frame of image (Snapshot).
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get the current setting for the frame type.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get date of first program as a string.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get date of manufacture as a string.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get firmware version as a string.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get first service date as a string.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get hardware version as a string.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get camera model number as a string.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get property value as a buffer.
function | The Get operation to perform. |
unit_or_terminal_id | UVC unit or terminal id. |
property_id | UVC property of the unit or the terminal specified in unit_or_terminal_id. |
An | exception in an error. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get property attributes.
unit_or_terminal_id | UVC unit or terminal id. |
property_id | UVC property of the unit or the terminal specified in unit_or_terminal_id. |
An | exception in an error. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get camera serial number as a string.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Get supported frame types.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Check whether auto functionality of an auto supported property is enabled.
unit_or_terminal_id | UVC unit or terminal id. |
property_id | UVC property of the unit or the terminal specified in unit_or_terminal_id. |
An | exception in an error. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Check whether the property supports auto control.
unit_or_terminal_id | UVC unit or terminal id. |
property_id | UVC property of the unit or the terminal specified in unit_or_terminal_id. |
An | exception in an error. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Whether the specified property of the unit or terminal supported.
unit_or_terminal_id | UVC unit or terminal id. |
property_id | UVC property of the unit or the terminal specified in unit_or_terminal_id. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Remove the specified continuous-image events listener.
listener | Reference to the listener object to remove. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Remove the specified decode-image events listener.
listener | Reference to the listener object to remove. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Remove the specified decode session status change event listener.
listener | Reference to the listener object to remove. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Remove the specified produce-image events listener.
listener | Reference to the listener object to remove. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Remove the specified snapshot-image events listener.
listener | Reference to the listener object to remove. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Set the current setting for the frame type. Use GetSupportedFrameTypes to query the supported formats and then set one of them as the current frame type. Note: Do not modify what is returned from GetSupportedFrameTypes. SetCurrentFrameType will throw an exception if an invalid frame type is specified.
frame_type | Requested frame type. |
Throws | exception if the specified frame type is not supported. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Set values of the parameters to their default values.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Set property value as a buffer.
function | The Set operation to perform. |
unit_or_terminal_id | UVC unit or terminal id. |
property_id | UVC property of the unit or the terminal specified in unit_or_terminal_id. |
value | The value of the property as a vector<uint8_t>. |
An | exception in an error. |
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
|
pure virtual |
Write current property values to flash memory.
Implemented in zebra::camera_sdk::ZebraCameraClientConcrete.
PropertyAuto<uint32_t, CameraPropertyId::EXPOSURE_TIME_ABSOLUTE> zebra::camera_sdk::ZebraCameraClient::AbsoluteExposureTime |
Exposure Time (Absolute) property.
Property<int16_t, CameraPropertyId::BACKLIGHT_COMPENSATION> zebra::camera_sdk::ZebraCameraClient::BacklightCompensation |
Backlight Compensation property.
Property<int16_t, CameraPropertyId::BRIGHTNESS> zebra::camera_sdk::ZebraCameraClient::Brightness |
Brightness property.
PropertyAuto<int16_t, CameraPropertyId::CONTRAST> zebra::camera_sdk::ZebraCameraClient::Contrast |
Contrast property.
Property<int16_t, CameraPropertyId::GAIN> zebra::camera_sdk::ZebraCameraClient::Gain |
Gain property.
Property<int16_t, CameraPropertyId::GAMMA> zebra::camera_sdk::ZebraCameraClient::Gamma |
Gamma property.
PropertyEx<IlluminationMode, CameraPropertyId::ILLUMINATION_MODE> zebra::camera_sdk::ZebraCameraClient::IlluminationModeSetting |
Illumination Mode property.
PropertyEx<PowerUserMode, CameraPropertyId::POWER_USER_MODE> zebra::camera_sdk::ZebraCameraClient::PowerUserModeSetting |
Power-User Mode property.
Property<int16_t, CameraPropertyId::SATURATION> zebra::camera_sdk::ZebraCameraClient::Saturation |
Saturation property.
Property<int16_t, CameraPropertyId::SHARPNESS> zebra::camera_sdk::ZebraCameraClient::Sharpness |
Sharpness property.
PropertyEx<VideoMode, CameraPropertyId::VIDEO_MODE> zebra::camera_sdk::ZebraCameraClient::VideoModeSetting |
Video Mode property.
PropertyAuto<WhiteBalance, CameraPropertyId::WHITE_BALANCE_COMPONENT> zebra::camera_sdk::ZebraCameraClient::WhiteBalanceComponent |
White Balance Component property.