Skip to content

Commit

Permalink
public inheritance in handle
Browse files Browse the repository at this point in the history
  • Loading branch information
mamueluth committed Jan 11, 2023
1 parent 92874f1 commit 49347d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hardware_interface/include/hardware_interface/handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class HandleInterface
std::shared_ptr<rclcpp_lifecycle::LifecycleNode> node_;
};

class ReadOnlyHandle : public HandleInterface, ReadHandleInterface
class ReadOnlyHandle : public HandleInterface, public ReadHandleInterface
{
public:
ReadOnlyHandle(
Expand Down Expand Up @@ -273,7 +273,9 @@ class DistributedStateInterface : public DistributedReadOnlyHandle
using DistributedReadOnlyHandle::DistributedReadOnlyHandle;
};

class ReadWriteHandle : public HandleInterface, ReadHandleInterface, WriteHandleInterface
class ReadWriteHandle : public HandleInterface,
public ReadHandleInterface,
public WriteHandleInterface
{
public:
ReadWriteHandle(
Expand Down

0 comments on commit 49347d1

Please sign in to comment.