47 #ifndef _MIRA_MULTICASTSENDER_H_ 48 #define _MIRA_MULTICASTSENDER_H_ 51 #include <boost/thread.hpp> 52 #include <boost/utility.hpp> 89 boost::asio::io_service& service);
96 void start(
const Duration& interval,
const std::string& message);
101 void send(
const std::string& message);
104 void handleTimeout(
const boost::system::error_code& error);
108 boost::asio::ip::udp::endpoint mEndpoint;
109 boost::asio::ip::udp::socket mSocket;
110 boost::asio::deadline_timer mTimer;
112 std::string mMessage;
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Time and Duration wrapper class.
Core class of the logging library.
Use this class to represent time durations.
Definition: Time.h:106
Wrapper class for boost::asio::io_service.
Definition: IOService.h:75
boost::shared_ptr< MulticastSender > MulticastSenderPtr
A shared pointer wrapper for class MulticastSender.
Definition: MulticastSender.h:116
This class acts as a sender for multicast messages.
Definition: MulticastSender.h:71
Wrapper for boost::asio::io_service.