#include <CarlaEgoVehicleControlSubscriber.h>
Private Member Functions | |
void | SetData (int32_t seconds, uint32_t nanoseconds, uint32_t actor_id, std::vector< float > &&data) |
Private Attributes | |
std::shared_ptr< CarlaEgoVehicleControlSubscriberImpl > | _impl |
Additional Inherited Members | |
Protected Attributes inherited from carla::ros2::CarlaSubscriber | |
std::string | _frame_id = "" |
std::string | _name = "" |
std::string | _parent = "" |
Definition at line 19 of file CarlaEgoVehicleControlSubscriber.h.
carla::ros2::CarlaEgoVehicleControlSubscriber::CarlaEgoVehicleControlSubscriber | ( | void * | vehicle, |
const char * | ros_name = "" , |
||
const char * | parent = "" |
||
) |
Definition at line 182 of file CarlaEgoVehicleControlSubscriber.cpp.
References _impl, carla::ros2::CarlaSubscriber::_name, carla::ros2::CarlaSubscriber::_parent, and carla::ros2::CarlaSubscriber::parent().
carla::ros2::CarlaEgoVehicleControlSubscriber::~CarlaEgoVehicleControlSubscriber | ( | ) |
Definition at line 190 of file CarlaEgoVehicleControlSubscriber.cpp.
References _impl.
carla::ros2::CarlaEgoVehicleControlSubscriber::CarlaEgoVehicleControlSubscriber | ( | const CarlaEgoVehicleControlSubscriber & | other | ) |
Definition at line 207 of file CarlaEgoVehicleControlSubscriber.cpp.
References carla::ros2::CarlaSubscriber::_frame_id, _impl, carla::ros2::CarlaSubscriber::_name, and carla::ros2::CarlaSubscriber::_parent.
carla::ros2::CarlaEgoVehicleControlSubscriber::CarlaEgoVehicleControlSubscriber | ( | CarlaEgoVehicleControlSubscriber && | other | ) |
Definition at line 225 of file CarlaEgoVehicleControlSubscriber.cpp.
References carla::ros2::CarlaSubscriber::_frame_id, _impl, carla::ros2::CarlaSubscriber::_name, and carla::ros2::CarlaSubscriber::_parent.
void carla::ros2::CarlaEgoVehicleControlSubscriber::DestroySubscriber | ( | ) |
Definition at line 161 of file CarlaEgoVehicleControlSubscriber.cpp.
Referenced by carla::ros2::CarlaSubscriberListenerImpl::on_subscription_matched(), and type().
void carla::ros2::CarlaEgoVehicleControlSubscriber::ForwardMessage | ( | VehicleControl | control | ) |
Definition at line 156 of file CarlaEgoVehicleControlSubscriber.cpp.
Referenced by carla::ros2::CarlaSubscriberListenerImpl::on_data_available(), and type().
VehicleControl carla::ros2::CarlaEgoVehicleControlSubscriber::GetMessage | ( | ) |
Definition at line 165 of file CarlaEgoVehicleControlSubscriber.cpp.
void * carla::ros2::CarlaEgoVehicleControlSubscriber::GetVehicle | ( | ) |
Definition at line 178 of file CarlaEgoVehicleControlSubscriber.cpp.
bool carla::ros2::CarlaEgoVehicleControlSubscriber::HasNewMessage | ( | ) |
Definition at line 174 of file CarlaEgoVehicleControlSubscriber.cpp.
bool carla::ros2::CarlaEgoVehicleControlSubscriber::Init | ( | ) |
Definition at line 47 of file CarlaEgoVehicleControlSubscriber.cpp.
bool carla::ros2::CarlaEgoVehicleControlSubscriber::IsAlive | ( | ) |
Definition at line 170 of file CarlaEgoVehicleControlSubscriber.cpp.
CarlaEgoVehicleControlSubscriber & carla::ros2::CarlaEgoVehicleControlSubscriber::operator= | ( | const CarlaEgoVehicleControlSubscriber & | other | ) |
Definition at line 215 of file CarlaEgoVehicleControlSubscriber.cpp.
References carla::ros2::CarlaSubscriber::_frame_id, _impl, carla::ros2::CarlaSubscriber::_name, and carla::ros2::CarlaSubscriber::_parent.
CarlaEgoVehicleControlSubscriber & carla::ros2::CarlaEgoVehicleControlSubscriber::operator= | ( | CarlaEgoVehicleControlSubscriber && | other | ) |
Definition at line 233 of file CarlaEgoVehicleControlSubscriber.cpp.
References carla::ros2::CarlaSubscriber::_frame_id, _impl, carla::ros2::CarlaSubscriber::_name, and carla::ros2::CarlaSubscriber::_parent.
bool carla::ros2::CarlaEgoVehicleControlSubscriber::Read | ( | ) |
Definition at line 94 of file CarlaEgoVehicleControlSubscriber.cpp.
|
private |
|
inlineoverridevirtual |
Implements carla::ros2::CarlaSubscriber.
Definition at line 35 of file CarlaEgoVehicleControlSubscriber.h.
References DestroySubscriber(), ForwardMessage(), and SetData().
|
private |
Definition at line 44 of file CarlaEgoVehicleControlSubscriber.h.
Referenced by CarlaEgoVehicleControlSubscriber(), operator=(), and ~CarlaEgoVehicleControlSubscriber().