CARLA
Public Member Functions | Protected Attributes | List of all members
carla::ros2::CarlaSubscriber Class Referenceabstract

#include <CarlaSubscriber.h>

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

Public Member Functions

 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 const char * type () const =0
 
virtual ~CarlaSubscriber ()=default
 

Protected Attributes

std::string _frame_id = ""
 
std::string _name = ""
 
std::string _parent = ""
 

Detailed Description

Definition at line 13 of file CarlaSubscriber.h.

Constructor & Destructor Documentation

◆ CarlaSubscriber()

carla::ros2::CarlaSubscriber::CarlaSubscriber ( )
default

Referenced by parent().

+ Here is the caller graph for this function:

◆ ~CarlaSubscriber()

virtual carla::ros2::CarlaSubscriber::~CarlaSubscriber ( )
virtualdefault

Referenced by parent().

+ Here is the caller graph for this function:

Member Function Documentation

◆ frame_id() [1/2]

const std::string& carla::ros2::CarlaSubscriber::frame_id ( ) const
inline

Definition at line 15 of file CarlaSubscriber.h.

References _frame_id.

Referenced by frame_id().

+ Here is the caller graph for this function:

◆ frame_id() [2/2]

void carla::ros2::CarlaSubscriber::frame_id ( std::string &&  frame_id)
inline

Definition at line 19 of file CarlaSubscriber.h.

References _frame_id, and frame_id().

+ Here is the call graph for this function:

◆ name() [1/2]

const std::string& carla::ros2::CarlaSubscriber::name ( ) const
inline

Definition at line 16 of file CarlaSubscriber.h.

References _name.

Referenced by name().

+ Here is the caller graph for this function:

◆ name() [2/2]

void carla::ros2::CarlaSubscriber::name ( std::string &&  name)
inline

Definition at line 20 of file CarlaSubscriber.h.

References _name, and name().

+ Here is the call graph for this function:

◆ parent() [1/2]

const std::string& carla::ros2::CarlaSubscriber::parent ( ) const
inline

Definition at line 17 of file CarlaSubscriber.h.

References _parent.

Referenced by carla::ros2::CarlaEgoVehicleControlSubscriber::CarlaEgoVehicleControlSubscriber(), and parent().

+ Here is the caller graph for this function:

◆ parent() [2/2]

void carla::ros2::CarlaSubscriber::parent ( std::string &&  parent)
inline

Definition at line 21 of file CarlaSubscriber.h.

References _parent, CarlaSubscriber(), parent(), type(), and ~CarlaSubscriber().

+ Here is the call graph for this function:

◆ type()

virtual const char* carla::ros2::CarlaSubscriber::type ( ) const
pure virtual

Implemented in carla::ros2::CarlaEgoVehicleControlSubscriber.

Referenced by parent().

+ Here is the caller graph for this function:

Member Data Documentation

◆ _frame_id

std::string carla::ros2::CarlaSubscriber::_frame_id = ""
protected

◆ _name

std::string carla::ros2::CarlaSubscriber::_name = ""
protected

◆ _parent

std::string carla::ros2::CarlaSubscriber::_parent = ""
protected

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