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

#include <CarlaLidarPublisher.h>

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

Public 成员函数

 CarlaLidarPublisher (CarlaLidarPublisher &&)
 
 CarlaLidarPublisher (const CarlaLidarPublisher &)
 
 CarlaLidarPublisher (const char *ros_name="", const char *parent="")
 
bool Init ()
 
CarlaLidarPublisheroperator= (CarlaLidarPublisher &&)
 
CarlaLidarPublisheroperator= (const CarlaLidarPublisher &)
 
bool Publish ()
 
void SetData (int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, float *data)
 
const char * type () const override
 
 ~CarlaLidarPublisher ()
 
- 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 成员函数

void SetData (int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, std::vector< uint8_t > &&data)
 

Private 属性

std::shared_ptr< CarlaLidarPublisherImpl_impl
 

额外继承的成员函数

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

详细描述

在文件 CarlaLidarPublisher.h18 行定义.

构造及析构函数说明

◆ CarlaLidarPublisher() [1/3]

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

在文件 CarlaLidarPublisher.cpp207 行定义.

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

+ 函数调用图:

◆ ~CarlaLidarPublisher()

carla::ros2::CarlaLidarPublisher::~CarlaLidarPublisher ( )

在文件 CarlaLidarPublisher.cpp213 行定义.

引用了 _impl.

◆ CarlaLidarPublisher() [2/3]

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

◆ CarlaLidarPublisher() [3/3]

carla::ros2::CarlaLidarPublisher::CarlaLidarPublisher ( CarlaLidarPublisher && other)

成员函数说明

◆ Init()

bool carla::ros2::CarlaLidarPublisher::Init ( )

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Publish()

bool carla::ros2::CarlaLidarPublisher::Publish ( )

在文件 CarlaLidarPublisher.cpp89 行定义.

引用了 _impl.

◆ SetData() [1/2]

void carla::ros2::CarlaLidarPublisher::SetData ( int32_t seconds,
uint32_t nanoseconds,
size_t height,
size_t width,
float * data )

在文件 CarlaLidarPublisher.cpp152 行定义.

引用了 SetData().

被这些函数引用 SetData().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ SetData() [2/2]

void carla::ros2::CarlaLidarPublisher::SetData ( int32_t seconds,
uint32_t nanoseconds,
size_t height,
size_t width,
std::vector< uint8_t > && data )
private

◆ type()

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

实现了 carla::ros2::CarlaPublisher.

在文件 CarlaLidarPublisher.h30 行定义.

类成员变量说明

◆ _impl

std::shared_ptr<CarlaLidarPublisherImpl> carla::ros2::CarlaLidarPublisher::_impl
private

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