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

#include <CarlaTransformPublisher.h>

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

Public Member Functions

 CarlaTransformPublisher (const char *ros_name="", const char *parent="")
 
 CarlaTransformPublisher (const CarlaTransformPublisher &)
 
 CarlaTransformPublisher (CarlaTransformPublisher &&)
 
bool Init ()
 
CarlaTransformPublisheroperator= (const CarlaTransformPublisher &)
 
CarlaTransformPublisheroperator= (CarlaTransformPublisher &&)
 
bool Publish ()
 
void SetData (int32_t seconds, uint32_t nanoseconds, const float *translation, const float *rotation)
 
const char * type () const override
 
 ~CarlaTransformPublisher ()
 
- 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< CarlaTransformPublisherImpl_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 18 of file CarlaTransformPublisher.h.

Constructor & Destructor Documentation

◆ CarlaTransformPublisher() [1/3]

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

Definition at line 204 of file CarlaTransformPublisher.cpp.

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

+ Here is the call graph for this function:

◆ ~CarlaTransformPublisher()

carla::ros2::CarlaTransformPublisher::~CarlaTransformPublisher ( )

Definition at line 210 of file CarlaTransformPublisher.cpp.

References _impl.

◆ CarlaTransformPublisher() [2/3]

carla::ros2::CarlaTransformPublisher::CarlaTransformPublisher ( const CarlaTransformPublisher other)

◆ CarlaTransformPublisher() [3/3]

carla::ros2::CarlaTransformPublisher::CarlaTransformPublisher ( CarlaTransformPublisher &&  other)

Member Function Documentation

◆ Init()

bool carla::ros2::CarlaTransformPublisher::Init ( )

Definition at line 47 of file CarlaTransformPublisher.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Publish()

bool carla::ros2::CarlaTransformPublisher::Publish ( )

Definition at line 90 of file CarlaTransformPublisher.cpp.

◆ SetData()

void carla::ros2::CarlaTransformPublisher::SetData ( int32_t  seconds,
uint32_t  nanoseconds,
const float *  translation,
const float *  rotation 
)

◆ type()

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

Implements carla::ros2::CarlaPublisher.

Definition at line 30 of file CarlaTransformPublisher.h.

Member Data Documentation

◆ _impl

std::shared_ptr<CarlaTransformPublisherImpl> carla::ros2::CarlaTransformPublisher::_impl
private

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