ROS2 Subscriber class.
More...
#include <ROS2Subscriber.h>
◆ CreateSubscriber() [1/2]
| static UROS2Subscriber* UROS2Subscriber::CreateSubscriber |
( |
UObject * |
InOwner, |
|
|
const FString & |
InTopicName, |
|
|
const TSubclassOf< UROS2GenericMsg > & |
InMsgClass, |
|
|
const FSubscriptionCallback & |
InCallback, |
|
|
const rmw_qos_profile_t & |
InCustomQoS |
|
) |
| |
|
static |
Create a new UROS2Subscriber with custom QoS profile.
- Parameters
-
| InOwner | Owner object |
| InTopicName | Topic name |
| InMsgClass | Custom message type class |
| InCallback | Callback function |
| InCustomQoS | Custom QoS profile |
◆ CreateSubscriber() [2/2]
| static UROS2Subscriber* UROS2Subscriber::CreateSubscriber |
( |
UObject * |
InOwner, |
|
|
const FString & |
InTopicName, |
|
|
const TSubclassOf< UROS2GenericMsg > & |
InMsgClass, |
|
|
const FSubscriptionCallback & |
InCallback, |
|
|
const UROS2QoS |
InQoS = UROS2QoS::Default |
|
) |
| |
|
static |
Create a new UROS2Subscriber of custom type.
- Parameters
-
| InTopicName | Topic name |
| InMsgClass | Custom message type class |
| InCallback | Callback function |
◆ Destroy()
| virtual void UROS2Subscriber::Destroy |
( |
| ) |
|
|
overridevirtual |
Destroy subscriber with rcl_subscriber_fini.
Reimplemented from UROS2Topic.
◆ InitializeTopicComponent()
| virtual void UROS2Subscriber::InitializeTopicComponent |
( |
| ) |
|
|
protectedvirtual |
Initialize ROS2 Subscriber.
Reimplemented from UROS2Topic.
◆ ProcessReady()
| virtual void UROS2Subscriber::ProcessReady |
( |
| ) |
|
|
virtual |
Determine the relevant subscriber functions to call.
◆ SetDelegates()
| void UROS2Subscriber::SetDelegates |
( |
const FSubscriptionCallback & |
InCallback | ) |
|
◆ Callback
| FSubscriptionCallback UROS2Subscriber::Callback |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rclue/checkouts/latest/Source/rclUE/Public/ROS2Subscriber.h