|
Zebra Bioptic Color Camera SDK For Linux
1.0.0-17
|
#include <zebra_camera_manager.h>
Public Member Functions | |
| ZebraCameraManager () | |
| ~ZebraCameraManager () | |
| Version | GetVersion () |
| std::shared_ptr< ZebraCamera > | CreateZebraCamera (zebra::DeviceInfo camera_info) |
| std::shared_ptr< ZebraCamera > | Reboot (std::shared_ptr< ZebraCamera > camera, uint16_t timeout=20) |
| void | DownloadFirmware (std::shared_ptr< ZebraCamera > camera, std::string filepath) |
| std::shared_ptr< ZebraCamera > | InstallFirmware (std::shared_ptr< ZebraCamera > camera, uint16_t timeout=20) |
| void | CancelFirmwareDownload (std::shared_ptr< ZebraCamera > camera) |
| void | AddFirmwareDownloadEventListener (FirmwareDownloadEventListener &firmware_download_event_listener) |
| void | RemoveFirmwareDownloadEventListener (FirmwareDownloadEventListener &firmware_download_event_listener) |
| std::string | RetrieveConfiguration (std::shared_ptr< ZebraCamera > camera) |
| void | RetrieveConfigurationToFile (std::shared_ptr< ZebraCamera > camera, std::string configuration_file_path) |
| void | LoadConfiguration (std::shared_ptr< ZebraCamera > camera, std::string configuration, bool persist=true) |
| void | LoadConfigurationFromFile (std::shared_ptr< ZebraCamera > camera, std::string configuration_file_path, bool persist=true) |
Manages Zebra camera devices.
| zebra::camera_sdk::ZebraCameraManager::ZebraCameraManager | ( | ) |
Constructor.
| zebra::camera_sdk::ZebraCameraManager::~ZebraCameraManager | ( | ) |
Destructor.
| void zebra::camera_sdk::ZebraCameraManager::AddFirmwareDownloadEventListener | ( | FirmwareDownloadEventListener & | firmware_download_event_listener | ) |
Add firmware download event listener.
| firmware_download_event_listener | Reference to the listener object. |
| void zebra::camera_sdk::ZebraCameraManager::CancelFirmwareDownload | ( | std::shared_ptr< ZebraCamera > | camera | ) |
Cancel a firmware update.
| std::shared_ptr<ZebraCamera> zebra::camera_sdk::ZebraCameraManager::CreateZebraCamera | ( | zebra::DeviceInfo | camera_info | ) |
Create a ZebraCamera from the provided CameraInfo.
| camera_info | Information related to the camera we intend to create. |
| An | exception in an error. |
| void zebra::camera_sdk::ZebraCameraManager::DownloadFirmware | ( | std::shared_ptr< ZebraCamera > | camera, |
| std::string | filepath | ||
| ) |
Download firmware to Zebra camera.
| camera | Zebra camera to which firmware should be downloaded. |
| filepath | Firmware file path. |
| std::shared_ptr<ZebraCamera> zebra::camera_sdk::ZebraCameraManager::InstallFirmware | ( | std::shared_ptr< ZebraCamera > | camera, |
| uint16_t | timeout = 20 |
||
| ) |
Install downloaded firmware.
| camera | Zebra camera to which the downloaded firmware should be installed. |
| timeout | Install timeout in seconds. |
| void zebra::camera_sdk::ZebraCameraManager::LoadConfiguration | ( | std::shared_ptr< ZebraCamera > | camera, |
| std::string | configuration, | ||
| bool | persist = true |
||
| ) |
Load provided configuration as an XML string to the provided camera.
| ZebraCamera | Camera which the configuration should writes to. |
| std::string | Camera configuration as an XML string. |
| persist | Whether to write the configuration to flash. |
| void zebra::camera_sdk::ZebraCameraManager::LoadConfigurationFromFile | ( | std::shared_ptr< ZebraCamera > | camera, |
| std::string | configuration_file_path, | ||
| bool | persist = true |
||
| ) |
Load provided configuration as an XML file (*camcfg) to the provided camera.
| ZebraCamera | Camera which the configuration should writes to. |
| std::string | Path to camera configuration file (*camcfg). |
| persist | Whether to write the configuration to flash. |
| std::shared_ptr<ZebraCamera> zebra::camera_sdk::ZebraCameraManager::Reboot | ( | std::shared_ptr< ZebraCamera > | camera, |
| uint16_t | timeout = 20 |
||
| ) |
Reboot the specified ZebraCamera.
| camera | Zebra camera to reboot. |
| timeout | Reboot timeout in seconds. |
| std::string zebra::camera_sdk::ZebraCameraManager::RetrieveConfiguration | ( | std::shared_ptr< ZebraCamera > | camera | ) |
Retrieve the current configuration of the provided camera and return as an XML.
| ZebraCamera | camera which the configuration needs to be retrieved from. |
| void zebra::camera_sdk::ZebraCameraManager::RetrieveConfigurationToFile | ( | std::shared_ptr< ZebraCamera > | camera, |
| std::string | configuration_file_path | ||
| ) |
Retrieve the current configuration of the provided camera and save to a *.camcfg file.
| ZebraCamera | Camera which the configuration needs to be retrieved from. |
| std::string | Path to the configuration file (*.camcfg). |