Public Types | Public Member Functions | Private Attributes | List of all members
rtabmap::CameraEvent Class Reference

#include <CameraEvent.h>

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

Public Types

enum  Code { kCodeData, kCodeNoMoreImages }
 

Public Member Functions

 CameraEvent (const cv::Mat &image, int seq=0, double stamp=0.0, const std::string &cameraName=std::string())
 
 CameraEvent ()
 
 CameraEvent (const SensorData &data)
 
 CameraEvent (const SensorData &data, const std::string &cameraName)
 
 CameraEvent (const SensorData &data, const CameraInfo &cameraInfo)
 
const std::stringcameraName () const
 
const SensorDatadata () const
 
virtual std::string getClassName () const
 
const CameraInfoinfo () const
 
virtual ~CameraEvent ()
 
- Public Member Functions inherited from UEvent
int getCode () const
 
virtual ~UEvent ()
 

Private Attributes

CameraInfo cameraInfo_
 
SensorData data_
 

Additional Inherited Members

- Protected Member Functions inherited from UEvent
 UEvent (int code=0)
 

Detailed Description

Definition at line 37 of file CameraEvent.h.

Member Enumeration Documentation

◆ Code

Enumerator
kCodeData 
kCodeNoMoreImages 

Definition at line 41 of file CameraEvent.h.

Constructor & Destructor Documentation

◆ CameraEvent() [1/5]

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

Definition at line 47 of file CameraEvent.h.

◆ CameraEvent() [2/5]

rtabmap::CameraEvent::CameraEvent ( )
inline

Definition at line 54 of file CameraEvent.h.

◆ CameraEvent() [3/5]

rtabmap::CameraEvent::CameraEvent ( const SensorData data)
inline

Definition at line 59 of file CameraEvent.h.

◆ CameraEvent() [4/5]

rtabmap::CameraEvent::CameraEvent ( const SensorData data,
const std::string cameraName 
)
inline

Definition at line 65 of file CameraEvent.h.

◆ CameraEvent() [5/5]

rtabmap::CameraEvent::CameraEvent ( const SensorData data,
const CameraInfo cameraInfo 
)
inline

Definition at line 71 of file CameraEvent.h.

◆ ~CameraEvent()

virtual rtabmap::CameraEvent::~CameraEvent ( )
inlinevirtual

Definition at line 83 of file CameraEvent.h.

Member Function Documentation

◆ cameraName()

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

Definition at line 80 of file CameraEvent.h.

◆ data()

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

Definition at line 79 of file CameraEvent.h.

◆ getClassName()

virtual std::string rtabmap::CameraEvent::getClassName ( ) const
inlinevirtual

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 84 of file CameraEvent.h.

◆ info()

const CameraInfo& rtabmap::CameraEvent::info ( ) const
inline

Definition at line 81 of file CameraEvent.h.

Member Data Documentation

◆ cameraInfo_

CameraInfo rtabmap::CameraEvent::cameraInfo_
private

Definition at line 88 of file CameraEvent.h.

◆ data_

SensorData rtabmap::CameraEvent::data_
private

Definition at line 87 of file CameraEvent.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00