fastcom  1.0
Communication between applications made easy
Public Member Functions | List of all members
fastcom::Publisher< DataType_ > Class Template Reference

Class that broadcast information. More...

#include <Publisher.h>

Public Member Functions

 Publisher (int _port)
 
void publish (DataType_ &_data)
 

Detailed Description

template<typename DataType_>
class fastcom::Publisher< DataType_ >

Class that broadcast information.

Constructor & Destructor Documentation

template<typename DataType_ >
fastcom::Publisher< DataType_ >::Publisher ( int  _port)

Basic constructor. It binds to an specific port and sends information to subscriber

Parameters
_portports to be binded.

Member Function Documentation

template<typename DataType_>
void fastcom::Publisher< DataType_ >::publish ( DataType_ &  _data)

Publish information to the subscribers

Parameters
_datadata to be published.

The documentation for this class was generated from the following files: