rclUE
ROS2GenericSrv.h
Go to the documentation of this file.
1 
19 #pragma once
20 
21 
22 
23 #include "rclcUtilities.h"
24 
25 
26 
27 #include <CoreMinimal.h>
28 
29 
30 
31 #include "ROS2GenericSrv.generated.h"
32 
33 
34 
50 class RCLUE_API UROS2GenericSrv : public UObject
51 
52 {
53 
54 
55 
56  // Add interface functions to this class. This is the class that will be inherited to implement this interface.
57 
58 public:
59 
60  virtual void Init();
61 
62  virtual void Fini();
63 
64 
65 
66  virtual void* GetRequest();
67 
68  virtual void* GetResponse();
69 
70 
71 
72  virtual const rosidl_service_type_support_t* GetTypeSupport() const;
73 
74 
75 
76 
81  virtual FString SrvRequestToString() const;
82 
83 
84 
85 
90  virtual FString SrvResponseToString() const;
91 
92 };
93 
rclcUtilities.h
Header containing utilities and includes that are needed/useful in almost any class in rclUE.
UROS2GenericSrv
This should be refactored with other generic ROS2 types (Msgs, Sensors, Actions).
Definition: ROS2GenericSrv.h:50