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