Public Types | Public Member Functions | Private Attributes
rtabmap::CameraEvent Class Reference

#include <CameraEvent.h>

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

List of all members.

Public Types

enum  Code { kCodeImage, kCodeImageDepth, kCodeNoMoreImages }

Public Member Functions

 CameraEvent (const cv::Mat &image, int seq=0, double stamp=0.0, const std::string &cameraName="")
 CameraEvent ()
 CameraEvent (const SensorData &data, const std::string &cameraName="")
const std::string & cameraName () const
const SensorDatadata () const
virtual std::string getClassName () const
virtual ~CameraEvent ()

Private Attributes

std::string cameraName_
SensorData data_

Detailed Description

Definition at line 36 of file CameraEvent.h.


Member Enumeration Documentation

Enumerator:
kCodeImage 
kCodeImageDepth 
kCodeNoMoreImages 

Definition at line 40 of file CameraEvent.h.


Constructor & Destructor Documentation

rtabmap::CameraEvent::CameraEvent ( const cv::Mat &  image,
int  seq = 0,
double  stamp = 0.0,
const std::string &  cameraName = "" 
) [inline]

Definition at line 47 of file CameraEvent.h.

Definition at line 54 of file CameraEvent.h.

rtabmap::CameraEvent::CameraEvent ( const SensorData data,
const std::string &  cameraName = "" 
) [inline]

Definition at line 59 of file CameraEvent.h.

virtual rtabmap::CameraEvent::~CameraEvent ( ) [inline, virtual]

Definition at line 70 of file CameraEvent.h.


Member Function Documentation

const std::string& rtabmap::CameraEvent::cameraName ( ) const [inline]

Definition at line 68 of file CameraEvent.h.

const SensorData& rtabmap::CameraEvent::data ( ) const [inline]

Definition at line 67 of file CameraEvent.h.

virtual std::string rtabmap::CameraEvent::getClassName ( ) const [inline, virtual]

This method is used to get the class name of the event. For example, if a class MouseEvent inherits from UEvent, it must return the "MouseEvent" string.

Returns:
the class name

Implements UEvent.

Definition at line 71 of file CameraEvent.h.


Member Data Documentation

std::string rtabmap::CameraEvent::cameraName_ [private]

Definition at line 75 of file CameraEvent.h.

Definition at line 74 of file CameraEvent.h.


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


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