39 #ifndef PCL_COMMON_TIME_TRIGGER_H_
40 #define PCL_COMMON_TIME_TRIGGER_H_
42 #include <pcl/pcl_macros.h>
43 #include <boost/function.hpp>
44 #include <boost/thread.hpp>
45 #include <boost/signals2.hpp>
75 boost::signals2::connection registerCallback (
const callback_type& callback);
81 setInterval (
double interval_seconds);
93 boost::signals2::signal <void() > callbacks_;
100 boost::thread timer_thread_;
101 boost::condition_variable condition_;
102 boost::mutex condition_mutex_;