Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
jafar::rtslam::hardware::HardwareSensorCamera Class Reference

This class allows to get images from firewire with non blocking procedure, using triple-buffering. More...


Detailed Description

This class allows to get images from firewire with non blocking procedure, using triple-buffering.

Definition at line 34 of file hardwareSensorCamera.hpp.

#include <hardwareSensorCamera.hpp>

Inheritance diagram for jafar::rtslam::hardware::HardwareSensorCamera:
Inheritance graph
[legend]

List of all members.

Classes

class  LoggableImage

Public Member Functions

 HardwareSensorCamera (kernel::VariableCondition< int > *condition, int cam_id, cv::Size imgSize, std::string dump_path=".")
 HardwareSensorCamera (kernel::VariableCondition< int > *condition, Mode mode, int cam_id, int bufferSize, kernel::LoggerTask *loggerTask)
virtual double getLastTimestamp ()
double getFreq ()
int id () const
void setFilter (int div, int mod)

Protected Member Functions

virtual void preloadTask (void)=0
void preloadTaskOffline (void)
void init (Mode mode, std::string dump_path, cv::Size imgSize)
virtual void start ()
 start the acquisition thread, once the object is configured
virtual void stop ()
 stop the acquisition thread
virtual bool join (int timed_ms=-1)
 wait that the acquisition thread has finished

Protected Attributes

std::vector< IplImage * > bufferImage
std::vector< rawimage_ptr_t > bufferSpecPtr
std::list< rawimage_ptr_t > bufferSave
unsigned index
 to notify when new data is available
int found_first
double realFreq
 0 = not found, 1 = found pgm, 2 = found png
double last_timestamp
std::string dump_path
boost::thread * preloadTask_thread
kernel::LoggerTaskloggerTask
int cam_id
int filter_div
int filter_mod

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:47 for Jafar by doxygen 1.7.6.1
LAAS-CNRS