|
fastcom
1.0
Communication between applications made easy
|
Subscriber specialized for image transmission. More...
#include <ImageSubscriber.h>
Public Member Functions | |
| ImageSubscriber (std::string _ip, int _port) | |
| ImageSubscriber (int _port) | |
| void | attachCallback (std::function< void(cv::Mat &)> &_callback) |
| Attach a callback to a subscription. Each time an image arrives the attached callback are called. | |
Subscriber specialized for image transmission.
| fastcom::ImageSubscriber::ImageSubscriber | ( | std::string | _ip, |
| int | _port | ||
| ) |
Constructor to subscribe to ImagePublishers in different computers.
| _ip | IP where the ImagePublisher is located |
| _port | Specific port in the IP to bind |
| fastcom::ImageSubscriber::ImageSubscriber | ( | int | _port | ) |
Constructor to subscribe to ImagePublishers. It assumes that the publisher is in the same computer
| _port | Specific port in the IP to bind |
1.8.11