CARLA
Public Member Functions | Private Attributes | List of all members
carla::ros2::CarlaMapSensorPublisher Class Reference

#include <CarlaMapSensorPublisher.h>

+ Inheritance diagram for carla::ros2::CarlaMapSensorPublisher:
+ Collaboration diagram for carla::ros2::CarlaMapSensorPublisher:

Public Member Functions

 CarlaMapSensorPublisher (const char *ros_name="", const char *parent="")
 
 CarlaMapSensorPublisher (const CarlaMapSensorPublisher &)
 
 CarlaMapSensorPublisher (CarlaMapSensorPublisher &&)
 
bool Init ()
 
CarlaMapSensorPublisheroperator= (const CarlaMapSensorPublisher &)
 
CarlaMapSensorPublisheroperator= (CarlaMapSensorPublisher &&)
 
bool Publish ()
 
void SetData (const char *data)
 
const char * type () const override
 
 ~CarlaMapSensorPublisher ()
 
- Public Member Functions inherited from 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 Attributes

std::shared_ptr< CarlaMapSensorPublisherImpl_impl
 

Additional Inherited Members

- Protected Attributes inherited from carla::ros2::CarlaPublisher
std::string _frame_id = ""
 
std::string _name = ""
 
std::string _parent = ""
 

Detailed Description

Definition at line 17 of file CarlaMapSensorPublisher.h.

Constructor & Destructor Documentation

◆ CarlaMapSensorPublisher() [1/3]

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

Definition at line 155 of file CarlaMapSensorPublisher.cpp.

References carla::ros2::CarlaPublisher::_name, carla::ros2::CarlaPublisher::_parent, and carla::ros2::CarlaPublisher::parent().

+ Here is the call graph for this function:

◆ ~CarlaMapSensorPublisher()

carla::ros2::CarlaMapSensorPublisher::~CarlaMapSensorPublisher ( )

Definition at line 161 of file CarlaMapSensorPublisher.cpp.

References _impl.

◆ CarlaMapSensorPublisher() [2/3]

carla::ros2::CarlaMapSensorPublisher::CarlaMapSensorPublisher ( const CarlaMapSensorPublisher other)

◆ CarlaMapSensorPublisher() [3/3]

carla::ros2::CarlaMapSensorPublisher::CarlaMapSensorPublisher ( CarlaMapSensorPublisher &&  other)

Member Function Documentation

◆ Init()

bool carla::ros2::CarlaMapSensorPublisher::Init ( )

Definition at line 42 of file CarlaMapSensorPublisher.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Publish()

bool carla::ros2::CarlaMapSensorPublisher::Publish ( )

Definition at line 89 of file CarlaMapSensorPublisher.cpp.

◆ SetData()

void carla::ros2::CarlaMapSensorPublisher::SetData ( const char *  data)

Definition at line 151 of file CarlaMapSensorPublisher.cpp.

◆ type()

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

Implements carla::ros2::CarlaPublisher.

Definition at line 29 of file CarlaMapSensorPublisher.h.

Member Data Documentation

◆ _impl

std::shared_ptr<CarlaMapSensorPublisherImpl> carla::ros2::CarlaMapSensorPublisher::_impl
private

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