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

#include <SensorEvent.h>

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

Public Types

enum  Code { kCodeData, kCodeNoMoreImages }
 

Public Member Functions

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

Private Attributes

SensorData data_
 
SensorCaptureInfo sensorCaptureInfo_
 

Additional Inherited Members

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

Detailed Description

Definition at line 37 of file SensorEvent.h.

Member Enumeration Documentation

◆ Code

Enumerator
kCodeData 
kCodeNoMoreImages 

Definition at line 41 of file SensorEvent.h.

Constructor & Destructor Documentation

◆ SensorEvent() [1/5]

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

Definition at line 47 of file SensorEvent.h.

◆ SensorEvent() [2/5]

rtabmap::SensorEvent::SensorEvent ( )
inline

Definition at line 54 of file SensorEvent.h.

◆ SensorEvent() [3/5]

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

Definition at line 59 of file SensorEvent.h.

◆ SensorEvent() [4/5]

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

Definition at line 65 of file SensorEvent.h.

◆ SensorEvent() [5/5]

rtabmap::SensorEvent::SensorEvent ( const SensorData data,
const SensorCaptureInfo sensorCaptureInfo 
)
inline

Definition at line 71 of file SensorEvent.h.

◆ ~SensorEvent()

virtual rtabmap::SensorEvent::~SensorEvent ( )
inlinevirtual

Definition at line 83 of file SensorEvent.h.

Member Function Documentation

◆ cameraName()

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

Definition at line 80 of file SensorEvent.h.

◆ data()

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

Definition at line 79 of file SensorEvent.h.

◆ getClassName()

virtual std::string rtabmap::SensorEvent::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 SensorEvent.h.

◆ info()

const SensorCaptureInfo& rtabmap::SensorEvent::info ( ) const
inline

Definition at line 81 of file SensorEvent.h.

Member Data Documentation

◆ data_

SensorData rtabmap::SensorEvent::data_
private

Definition at line 87 of file SensorEvent.h.

◆ sensorCaptureInfo_

SensorCaptureInfo rtabmap::SensorEvent::sensorCaptureInfo_
private

Definition at line 88 of file SensorEvent.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:28