19 #ifndef DDS_ROS_BRIDGE_ROS_ACCESS_CONTROL_H_
20 #define DDS_ROS_BRIDGE_ROS_ACCESS_CONTROL_H_
26 #include "dds_ros_bridge/ros_sub_rapid_pub.h"
27 #include "dds_ros_bridge/util.h"
29 #include "ff_msgs/AccessControlStateStamped.h"
31 #include "knDds/DdsTypedSupplier.h"
33 #include "rapidUtil/RapidHelper.h"
35 #include "AccessControlStateSupport.h"
36 #include "RapidConstants.h"
43 const std::string& pub_topic,
44 const ros::NodeHandle &nh,
45 const unsigned int queue_size = 10);
47 void Callback(ff_msgs::AccessControlStateStamped::ConstPtr
const& status);
50 using StateSupplier = kn::DdsTypedSupplier<rapid::AccessControlState>;
51 using StateSupplierPtr = std::unique_ptr<StateSupplier>;
53 StateSupplierPtr state_supplier_;
58 #endif // DDS_ROS_BRIDGE_ROS_ACCESS_CONTROL_H_