worker.h
Go to the documentation of this file.
1 /*
2  * Roboception GmbH
3  * Munich, Germany
4  * www.roboception.com
5  *
6  * Copyright (c) 2024 Roboception GmbH
7  * All rights reserved
8  *
9  * Author: Heiko Hirschmueller
10  */
11 
12 #ifndef WORKER_H
13 #define WORKER_H
14 
15 #include "check_window.h"
16 
17 #include "rc_genicam_api/device.h"
18 
19 #include <atomic>
20 
32 void discoverWorker(const std::vector<std::shared_ptr<rcg::Interface> > &ilist, DeviceList *list,
33  Fl_Text_Buffer *buffer, std::atomic_bool &running);
34 
45 void resetNameWorker(rcg::Device *ldev, rcg::Device *rdev, std::atomic_bool &running);
46 
59 void storeBackupWorker(const char *backup_file, rcg::Device *ldev, rcg::Device *rdev,
60  std::atomic_bool &running);
61 
73 void resetFromFileWorker(const std::vector<std::shared_ptr<rcg::Interface> > &ilist,
74  const char *backup_file, std::atomic_bool &running);
75 
87 void setCalibrationWorker(rcg::Device *ldev, const gutil::Properties *calib,
88  std::atomic_bool &running);
89 
90 #endif
storeBackupWorker
void storeBackupWorker(const char *backup_file, rcg::Device *ldev, rcg::Device *rdev, std::atomic_bool &running)
Store backup file.
Definition: worker.cc:453
resetNameWorker
void resetNameWorker(rcg::Device *ldev, rcg::Device *rdev, std::atomic_bool &running)
Reset name of left and right camera to default.
Definition: worker.cc:416
DeviceList
Definition: device_list.h:22
discoverWorker
void discoverWorker(const std::vector< std::shared_ptr< rcg::Interface > > &ilist, DeviceList *list, Fl_Text_Buffer *buffer, std::atomic_bool &running)
Discover suitable devices and add them to the given list.
Definition: worker.cc:46
resetFromFileWorker
void resetFromFileWorker(const std::vector< std::shared_ptr< rcg::Interface > > &ilist, const char *backup_file, std::atomic_bool &running)
Resetting a device from backup file.
Definition: worker.cc:520
setCalibrationWorker
void setCalibrationWorker(rcg::Device *ldev, const gutil::Properties *calib, std::atomic_bool &running)
Stroing calibration data on the left camera.
Definition: worker.cc:702


rcdiscover
Author(s): Heiko Hirschmueller , Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56