39 #include <boost/function.hpp> 40 #include <boost/thread/mutex.hpp> 41 #include "calibration_msgs/Interval.h" 42 #include "calibration_msgs/IntervalStatus.h" 62 IntervalIntersector(boost::function<
void (
const calibration_msgs::Interval&)> output_callback);
65 boost::function<void (const calibration_msgs::IntervalConstPtr&)> getNewInputStream();
67 calibration_msgs::IntervalStatus get_status();
76 void inputCallback(
const calibration_msgs::IntervalConstPtr& interval_ptr,
size_t i);
77 void process_queues();
84 vector<deque<calibration_msgs::IntervalConstPtr> >
queues;
86 vector<boost::shared_ptr<boost::mutex> >
mutexes;
vector< boost::shared_ptr< queue_stat > > queue_stats
vector< deque< calibration_msgs::IntervalConstPtr > > queues
boost::mutex processing_mutex
vector< boost::shared_ptr< boost::mutex > > mutexes
boost::function< void(const calibration_msgs::Interval &)> output_callback_