Fawkes API
Fawkes Development Version
|
23 #include <core/threading/thread.h>
32 namespace firevision {
55 return buffers_[
name];
59 std::map<std::string, firevision::Camera *> cams_;
60 std::map<std::string, unsigned char *> buffers_;
61 std::map<std::string, size_t> buffer_sizes_;
PCL viewer transfer thread.
void loop()
Code to execute in the thread.
const char * name() const
Get name of thread.
~PclViewerTransferThread()
Destructor.
Read/write lock to allow multiple readers but only a single writer on the resource at a time.
Fawkes library namespace.
const unsigned char * buffer(std::string name)
Get buffer for specified camera.
PclViewerTransferThread()
Constructor.
void lock_for_read()
Lock for reading.
Thread class encapsulation of pthreads.
Camera interface for image aquiring devices in FireVision.
void add_camera(std::string name, firevision::Camera *cam)
Add a camera from which to pull images.