CARLA
Loading...
Searching...
No Matches
carla::ros2::CarlaDVSPointCloudPublisher Class Referencefinal

#include <CarlaDVSCameraPublisher.h>

Inheritance diagram for carla::ros2::CarlaDVSPointCloudPublisher:

Public Member Functions

 CarlaDVSPointCloudPublisher (std::string base_topic_name, std::string frame_id)
Public Member Functions inherited from carla::ros2::CarlaPointCloudPublisher
 CarlaPointCloudPublisher (CarlaPointCloudPublisher &&) noexcept=default
 CarlaPointCloudPublisher (const CarlaPointCloudPublisher &)=delete
 CarlaPointCloudPublisher (std::string base_topic_name, std::string frame_id, bool exact_topic=false)
CarlaPointCloudPublisher & operator= (CarlaPointCloudPublisher &&) noexcept=default
CarlaPointCloudPublisher & operator= (const CarlaPointCloudPublisher &)=delete
bool Publish () override
bool WritePointCloud (std::int32_t seconds, std::uint32_t nanoseconds, std::uint32_t height, std::uint32_t width, const std::uint8_t *data)
 ~CarlaPointCloudPublisher () override
Public Member Functions inherited from carla::ros2::BasePublisher
 BasePublisher ()=default
 BasePublisher (BasePublisher &&)=delete
 BasePublisher (const BasePublisher &)=delete
 BasePublisher (std::string base_topic_name)
 BasePublisher (std::string base_topic_name, std::string frame_id)
 BasePublisher (void *actor, std::string base_topic_name, std::string frame_id)
void * GetActor () const noexcept
const std::string & GetBaseTopicName () const noexcept
const std::string & GetFrameId () const noexcept
BasePublisher & operator= (BasePublisher &&)=delete
BasePublisher & operator= (const BasePublisher &)=delete
virtual ~BasePublisher ()=default

Private Member Functions

std::vector< std::uint8_t > ComputePointCloud (std::uint32_t height, std::uint32_t width, const std::uint8_t *data) const override
std::size_t GetFieldDescriptorCount () const override
const PointFieldDescriptor * GetFieldDescriptors () const override
std::size_t GetPointSize () const override

Additional Inherited Members

Protected Attributes inherited from carla::ros2::BasePublisher
void * _actor {nullptr}
std::string _base_topic_name
std::string _frame_id

Detailed Description

Definition at line 50 of file CarlaDVSCameraPublisher.h.

Constructor & Destructor Documentation

◆ CarlaDVSPointCloudPublisher()

carla::ros2::CarlaDVSPointCloudPublisher::CarlaDVSPointCloudPublisher ( std::string base_topic_name,
std::string frame_id )
inline

Member Function Documentation

◆ ComputePointCloud()

std::vector< std::uint8_t > carla::ros2::CarlaDVSPointCloudPublisher::ComputePointCloud ( std::uint32_t height,
std::uint32_t width,
const std::uint8_t * data ) const
nodiscardoverrideprivatevirtual

◆ GetFieldDescriptorCount()

std::size_t carla::ros2::CarlaDVSPointCloudPublisher::GetFieldDescriptorCount ( ) const
nodiscardoverrideprivatevirtual

◆ GetFieldDescriptors()

const PointFieldDescriptor * carla::ros2::CarlaDVSPointCloudPublisher::GetFieldDescriptors ( ) const
nodiscardoverrideprivatevirtual

◆ GetPointSize()

std::size_t carla::ros2::CarlaDVSPointCloudPublisher::GetPointSize ( ) const
nodiscardoverrideprivatevirtual

Implements carla::ros2::CarlaPointCloudPublisher.

Definition at line 34 of file CarlaDVSCameraPublisher.cpp.


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