10 #ifndef YARP_MPIBCASTSTREAM_H
11 #define YARP_MPIBCASTSTREAM_H
18 #define CMD_DISCONNECT -2
const yarp::os::LogComponent & MPI_CARRIER()
Implements communication via MPI broadcast.
void close() override
Terminate the stream.
ssize_t read(yarp::os::Bytes &b) override=0
Read and return a single byte.
void write(const yarp::os::Bytes &b) override=0
MpiBcastStream(std::string name, MpiComm *comm)
Wrapper for MPI_Comm communicator.
Abstract base class for port communication via MPI.
void write(const yarp::os::Bytes &b) override=0
Write a block of bytes to the stream.
A simple abstraction for a block of bytes.
void post()
Increment the counter.
#define yCTrace(component,...)
#define yCDebug(component,...)