rclUE
|
ROS2 topic class. Parent class of UROS2Publisher and UROS2Subscriber. More...
#include <ROS2Topic.h>
Public Member Functions | |
virtual bool | InitializeWithROS2 (UROS2NodeComponent *InROS2Node) |
Initialize Topic with ROS2Node. More... | |
virtual bool | Init () |
Initialize topic, InitializeMessage and InitializeTopicComponent. More... | |
virtual bool | InitializeMessage () |
Create TopicMessage instance and initialize it. More... | |
virtual void | Destroy () |
Destroy topic and TopicMessage. More... | |
Public Attributes | |
FString | TopicName |
this information is redundant with Topic, but it's needed to initialize it More... | |
TSubclassOf< UROS2GenericMsg > | MsgClass |
this information is redundant with Topic, but it's needed to initialize it More... | |
UROS2NodeComponent * | OwnerNode = nullptr |
ROS2Node which own this topic. More... | |
TEnumAsByte< UROS2State > | State = UROS2State::Created |
State. More... | |
UROS2QoS | QoS = UROS2QoS::Default |
Quality of service. More... | |
UROS2GenericMsg * | TopicMessage |
Message Instance. More... | |
Protected Member Functions | |
virtual void | InitializeTopicComponent () |
Initialize ROS2 Topic. Should be implemented in UROS2Publisher and UROS2Subscriber. More... | |
ROS2 topic class. Parent class of UROS2Publisher and UROS2Subscriber.
UCLASS(ClassGroup = (Custom), Blueprintable, meta = (BlueprintSpawnableComponent))
|
virtual |
|
virtual |
Initialize topic, InitializeMessage and InitializeTopicComponent.
|
virtual |
Create TopicMessage instance and initialize it.
|
protectedvirtual |
Initialize ROS2 Topic. Should be implemented in UROS2Publisher and UROS2Subscriber.
Reimplemented in UROS2Publisher, and UROS2Subscriber.
|
virtual |
Initialize Topic with ROS2Node.
InROS2Node | ROS2Node which this publisher/subscriber belongs to |
TSubclassOf<UROS2GenericMsg> UROS2Topic::MsgClass |
this information is redundant with Topic, but it's needed to initialize it
UROS2NodeComponent* UROS2Topic::OwnerNode = nullptr |
ROS2Node which own this topic.
UROS2QoS UROS2Topic::QoS = UROS2QoS::Default |
TEnumAsByte<UROS2State> UROS2Topic::State = UROS2State::Created |
UROS2GenericMsg* UROS2Topic::TopicMessage |
Message Instance.
FString UROS2Topic::TopicName |
this information is redundant with Topic, but it's needed to initialize it