fastcom
1.0
Communication between applications made easy
|
Class that broadcast information. More...
#include <Publisher.h>
Public Member Functions | |
Publisher (int _port) | |
void | publish (DataType_ &_data) |
Class that broadcast information.
fastcom::Publisher< DataType_ >::Publisher | ( | int | _port | ) |
Basic constructor. It binds to an specific port and sends information to subscriber
_port | ports to be binded. |
void fastcom::Publisher< DataType_ >::publish | ( | DataType_ & | _data | ) |
Publish information to the subscribers
_data | data to be published. |