Public Slots | Public Member Functions | Protected Member Functions | Private Attributes
rtabmap::DataRecorder Class Reference

#include <DataRecorder.h>

Inheritance diagram for rtabmap::DataRecorder:
Inheritance graph
[legend]

List of all members.

Public Slots

void addData (const rtabmap::SensorData &data)
void showImage (const cv::Mat &image, const cv::Mat &depth)

Public Member Functions

void closeRecorder ()
 DataRecorder (QWidget *parent=0)
bool init (const QString &path, bool recordInRAM=true)
const QString & path () const
virtual ~DataRecorder ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
void handleEvent (UEvent *event)

Private Attributes

int count_
ImageViewimageView_
QLabel * label_
Memorymemory_
UMutex memoryMutex_
QString path_
bool processingImages_
UTimer timer_
int totalSizeKB_

Detailed Description

Definition at line 46 of file DataRecorder.h.


Constructor & Destructor Documentation

rtabmap::DataRecorder::DataRecorder ( QWidget *  parent = 0)

Definition at line 47 of file DataRecorder.cpp.

Definition at line 117 of file DataRecorder.cpp.


Member Function Documentation

void rtabmap::DataRecorder::addData ( const rtabmap::SensorData data) [slot]

Definition at line 123 of file DataRecorder.cpp.

void rtabmap::DataRecorder::closeEvent ( QCloseEvent *  event) [protected, virtual]

Definition at line 161 of file DataRecorder.cpp.

Definition at line 98 of file DataRecorder.cpp.

void rtabmap::DataRecorder::handleEvent ( UEvent event) [protected, virtual]

Method called by the UEventsManager to handle an event. Important : this method must do a minimum of work because the faster the dispatching loop is done; the faster the events are received. If a handling function takes too much time, the events list can grow faster than it is emptied. The event can be modified but must not be deleted.

Implements UEventsHandler.

Definition at line 167 of file DataRecorder.cpp.

bool rtabmap::DataRecorder::init ( const QString &  path,
bool  recordInRAM = true 
)

Definition at line 67 of file DataRecorder.cpp.

const QString& rtabmap::DataRecorder::path ( ) const [inline]

Definition at line 57 of file DataRecorder.h.

void rtabmap::DataRecorder::showImage ( const cv::Mat &  image,
const cv::Mat &  depth 
) [slot]

Definition at line 152 of file DataRecorder.cpp.


Member Data Documentation

Definition at line 74 of file DataRecorder.h.

Definition at line 69 of file DataRecorder.h.

QLabel* rtabmap::DataRecorder::label_ [private]

Definition at line 70 of file DataRecorder.h.

Definition at line 68 of file DataRecorder.h.

Definition at line 67 of file DataRecorder.h.

QString rtabmap::DataRecorder::path_ [private]

Definition at line 72 of file DataRecorder.h.

Definition at line 73 of file DataRecorder.h.

Definition at line 71 of file DataRecorder.h.

Definition at line 75 of file DataRecorder.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:43