Skip to content

Commit

Permalink
add smart pointer macros definitions to action server and client base…
Browse files Browse the repository at this point in the history
… classes (#2631)

Signed-off-by: Alberto Soragna <[email protected]>
  • Loading branch information
alsora authored Sep 16, 2024
1 parent 918363d commit a78d0cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rclcpp_action/include/rclcpp_action/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class ClientBaseImpl;
class ClientBase : public rclcpp::Waitable
{
public:
RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(ClientBase)

RCLCPP_ACTION_PUBLIC
virtual ~ClientBase();

Expand Down
2 changes: 2 additions & 0 deletions rclcpp_action/include/rclcpp_action/server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ enum class CancelResponse : int8_t
class ServerBase : public rclcpp::Waitable
{
public:
RCLCPP_SMART_PTR_DEFINITIONS_NOT_COPYABLE(ServerBase)

/// Enum to identify entities belonging to the action server
enum class EntityType : std::size_t
{
Expand Down

0 comments on commit a78d0cb

Please sign in to comment.