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

#include <CarlaEgoVehicleControlSubscriber.h>

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

Public 成员函数

 CarlaEgoVehicleControlSubscriber (CarlaEgoVehicleControlSubscriber &&)
 
 CarlaEgoVehicleControlSubscriber (const CarlaEgoVehicleControlSubscriber &)
 
 CarlaEgoVehicleControlSubscriber (void *vehicle, const char *ros_name="", const char *parent="")
 
void DestroySubscriber ()
 
void ForwardMessage (VehicleControl control)
 
VehicleControl GetMessage ()
 
void * GetVehicle ()
 
bool HasNewMessage ()
 
bool Init ()
 
bool IsAlive ()
 
CarlaEgoVehicleControlSubscriberoperator= (CarlaEgoVehicleControlSubscriber &&)
 
CarlaEgoVehicleControlSubscriberoperator= (const CarlaEgoVehicleControlSubscriber &)
 
bool Read ()
 
const char * type () const override
 
 ~CarlaEgoVehicleControlSubscriber ()
 
- Public 成员函数 继承自 carla::ros2::CarlaSubscriber
 CarlaSubscriber ()=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 ~CarlaSubscriber ()=default
 

Private 成员函数

void SetData (int32_t seconds, uint32_t nanoseconds, uint32_t actor_id, std::vector< float > &&data)
 

Private 属性

std::shared_ptr< CarlaEgoVehicleControlSubscriberImpl_impl
 

额外继承的成员函数

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

详细描述

在文件 CarlaEgoVehicleControlSubscriber.h19 行定义.

构造及析构函数说明

◆ CarlaEgoVehicleControlSubscriber() [1/3]

carla::ros2::CarlaEgoVehicleControlSubscriber::CarlaEgoVehicleControlSubscriber ( void * vehicle,
const char * ros_name = "",
const char * parent = "" )

在文件 CarlaEgoVehicleControlSubscriber.cpp182 行定义.

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

+ 函数调用图:

◆ ~CarlaEgoVehicleControlSubscriber()

carla::ros2::CarlaEgoVehicleControlSubscriber::~CarlaEgoVehicleControlSubscriber ( )

在文件 CarlaEgoVehicleControlSubscriber.cpp190 行定义.

引用了 _impl.

◆ CarlaEgoVehicleControlSubscriber() [2/3]

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

◆ CarlaEgoVehicleControlSubscriber() [3/3]

carla::ros2::CarlaEgoVehicleControlSubscriber::CarlaEgoVehicleControlSubscriber ( CarlaEgoVehicleControlSubscriber && other)

成员函数说明

◆ DestroySubscriber()

void carla::ros2::CarlaEgoVehicleControlSubscriber::DestroySubscriber ( )

在文件 CarlaEgoVehicleControlSubscriber.cpp161 行定义.

引用了 _impl.

被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_subscription_matched().

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

◆ ForwardMessage()

void carla::ros2::CarlaEgoVehicleControlSubscriber::ForwardMessage ( VehicleControl control)

在文件 CarlaEgoVehicleControlSubscriber.cpp156 行定义.

引用了 _impl.

被这些函数引用 carla::ros2::CarlaSubscriberListenerImpl::on_data_available().

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

◆ GetMessage()

VehicleControl carla::ros2::CarlaEgoVehicleControlSubscriber::GetMessage ( )

在文件 CarlaEgoVehicleControlSubscriber.cpp165 行定义.

引用了 _impl.

◆ GetVehicle()

void * carla::ros2::CarlaEgoVehicleControlSubscriber::GetVehicle ( )

在文件 CarlaEgoVehicleControlSubscriber.cpp178 行定义.

引用了 _impl.

◆ HasNewMessage()

bool carla::ros2::CarlaEgoVehicleControlSubscriber::HasNewMessage ( )

在文件 CarlaEgoVehicleControlSubscriber.cpp174 行定义.

引用了 _impl.

◆ Init()

bool carla::ros2::CarlaEgoVehicleControlSubscriber::Init ( )

◆ IsAlive()

bool carla::ros2::CarlaEgoVehicleControlSubscriber::IsAlive ( )

在文件 CarlaEgoVehicleControlSubscriber.cpp170 行定义.

引用了 _impl.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Read()

bool carla::ros2::CarlaEgoVehicleControlSubscriber::Read ( )

在文件 CarlaEgoVehicleControlSubscriber.cpp94 行定义.

引用了 _impl.

◆ SetData()

void carla::ros2::CarlaEgoVehicleControlSubscriber::SetData ( int32_t seconds,
uint32_t nanoseconds,
uint32_t actor_id,
std::vector< float > && data )
private

◆ type()

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

类成员变量说明

◆ _impl

std::shared_ptr<CarlaEgoVehicleControlSubscriberImpl> carla::ros2::CarlaEgoVehicleControlSubscriber::_impl
private

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