File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
hardware_interface/include/hardware_interface Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ class Actuator final
45
45
46
46
~Actuator () = default ;
47
47
48
+ Actuator (const Actuator & other) = delete ;
49
+
50
+ Actuator & operator =(const Actuator & other) = delete ;
51
+
52
+ Actuator & operator =(Actuator && other) = delete ;
53
+
48
54
[[deprecated(
49
55
" Replaced by const rclcpp_lifecycle::State & initialize(const "
50
56
" hardware_interface::HardwareComponentParams & params)." )]]
Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ class Sensor final
45
45
46
46
~Sensor () = default ;
47
47
48
+ Sensor (const Sensor & other) = delete ;
49
+
50
+ Sensor & operator =(const Sensor & other) = delete ;
51
+
52
+ Sensor & operator =(Sensor && other) = delete ;
53
+
48
54
[[deprecated(
49
55
" Replaced by const rclcpp_lifecycle::State & initialize(const "
50
56
" hardware_interface::HardwareComponentParams & params)." )]]
Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ class System final
45
45
46
46
~System () = default ;
47
47
48
+ System (const System & other) = delete ;
49
+
50
+ System & operator =(const System & other) = delete ;
51
+
52
+ System & operator =(System && other) = delete ;
53
+
48
54
[[deprecated(
49
55
" Replaced by const rclcpp_lifecycle::State & initialize(const "
50
56
" hardware_interface::HardwareComponentParams & params)." )]]
You can’t perform that action at this time.
0 commit comments