CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Private 属性 | 所有成员列表
carla::ros2::CarlaSpeedometerSensor类 参考

#include <CarlaSpeedometerSensor.h>

+ 类 carla::ros2::CarlaSpeedometerSensor 继承关系图:
+ carla::ros2::CarlaSpeedometerSensor 的协作图:

Public 成员函数

 CarlaSpeedometerSensor (CarlaSpeedometerSensor &&)
 
 CarlaSpeedometerSensor (const CarlaSpeedometerSensor &)
 
 CarlaSpeedometerSensor (const char *ros_name="", const char *parent="")
 
bool Init ()
 
CarlaSpeedometerSensoroperator= (CarlaSpeedometerSensor &&)
 
CarlaSpeedometerSensoroperator= (const CarlaSpeedometerSensor &)
 
bool Publish ()
 
void SetData (float data)
 
const char * type () const override
 
 ~CarlaSpeedometerSensor ()
 
- Public 成员函数 继承自 carla::ros2::CarlaPublisher
 CarlaPublisher ()=default
 
const std::string & frame_id () const
 
void frame_id (std::string &&frame_id)
 
const std::string & name () const
 
void name (std::string &&name)
 
const std::string & parent () const
 
void parent (std::string &&parent)
 
virtual ~CarlaPublisher ()=default
 

Private 属性

std::shared_ptr< CarlaSpeedometerSensorImpl_impl
 

额外继承的成员函数

- Protected 属性 继承自 carla::ros2::CarlaPublisher
std::string _frame_id = ""
 
std::string _name = ""
 
std::string _parent = ""
 

详细描述

在文件 CarlaSpeedometerSensor.h18 行定义.

构造及析构函数说明

◆ CarlaSpeedometerSensor() [1/3]

carla::ros2::CarlaSpeedometerSensor::CarlaSpeedometerSensor ( const char * ros_name = "",
const char * parent = "" )

在文件 CarlaSpeedometerSensor.cpp154 行定义.

引用了 carla::ros2::CarlaPublisher::_name, carla::ros2::CarlaPublisher::_parent , 以及 carla::ros2::CarlaPublisher::parent().

+ 函数调用图:

◆ ~CarlaSpeedometerSensor()

carla::ros2::CarlaSpeedometerSensor::~CarlaSpeedometerSensor ( )

在文件 CarlaSpeedometerSensor.cpp160 行定义.

引用了 _impl.

◆ CarlaSpeedometerSensor() [2/3]

carla::ros2::CarlaSpeedometerSensor::CarlaSpeedometerSensor ( const CarlaSpeedometerSensor & other)

◆ CarlaSpeedometerSensor() [3/3]

carla::ros2::CarlaSpeedometerSensor::CarlaSpeedometerSensor ( CarlaSpeedometerSensor && other)

成员函数说明

◆ Init()

bool carla::ros2::CarlaSpeedometerSensor::Init ( )

◆ operator=() [1/2]

CarlaSpeedometerSensor & carla::ros2::CarlaSpeedometerSensor::operator= ( CarlaSpeedometerSensor && other)

◆ operator=() [2/2]

CarlaSpeedometerSensor & carla::ros2::CarlaSpeedometerSensor::operator= ( const CarlaSpeedometerSensor & other)

◆ Publish()

bool carla::ros2::CarlaSpeedometerSensor::Publish ( )

在文件 CarlaSpeedometerSensor.cpp88 行定义.

引用了 _impl.

◆ SetData()

void carla::ros2::CarlaSpeedometerSensor::SetData ( float data)

在文件 CarlaSpeedometerSensor.cpp150 行定义.

引用了 _impl.

◆ type()

const char * carla::ros2::CarlaSpeedometerSensor::type ( ) const
inlineoverridevirtual

实现了 carla::ros2::CarlaPublisher.

在文件 CarlaSpeedometerSensor.h30 行定义.

类成员变量说明

◆ _impl

std::shared_ptr<CarlaSpeedometerSensorImpl> carla::ros2::CarlaSpeedometerSensor::_impl
private

该类的文档由以下文件生成: