rclUE
ROS2Subsystem.h
Go to the documentation of this file.
1 
19 #pragma once
20 
21 
22 
23 #include "ROS2Support.h"
24 
25 #include "rclcUtilities.h"
26 
27 
28 
29 #include <CoreMinimal.h>
30 
31 #include <Subsystems/GameInstanceSubsystem.h>
32 
33 #include <Tickable.h>
34 
35 
36 
37 #include "ROS2Subsystem.generated.h"
38 
39 
40 
56 class RCLUE_API UROS2Subsystem : public UGameInstanceSubsystem, public FTickableGameObject
57 
58 {
59 
60 
61 
62 public:
63 
64 
69  UROS2Support* GetSupport() const;
70 
71 
72 
87  virtual bool ShouldCreateSubsystem(UObject* Outer) const override;
88 
89 
90 
103  virtual void Initialize(FSubsystemCollectionBase& Collection) override;
104 
105 
106 
115  virtual void Deinitialize() override;
116 
117 
118 
129  virtual void Tick(float DeltaTime) override;
130 
131 
132 
147  virtual bool IsTickable() const override;
148 
149 
150 
165  virtual bool IsTickableWhenPaused() const override;
166 
167 
168 
183  virtual bool IsTickableInEditor() const override;
184 
185 
186 
199  virtual TStatId GetStatId() const override;
200 
201 
202 
203 private:
204 
205 
211 
212 };
213 
rclcUtilities.h
Header containing utilities and includes that are needed/useful in almost any class in rclUE.
UROS2Subsystem
Game Instance Subsystem class used to maintain the rcl support object.
Definition: ROS2Subsystem.h:56
UROS2Subsystem::Support
UROS2Support * Support
Definition: ROS2Subsystem.h:210
ROS2Support.h
class that tracks rclc_support_t (see rclc/types.h)
UROS2Support
class that tracks rclc_support_t (see rclc/types.h)
Definition: ROS2Support.h:46