15 MPI_Bcast(&cmd, 1, MPI_INT, 0,
comm->
comm);
33 MPI_Bcast(&length, 1, MPI_INT, 0,
comm->
comm);
34 char*
remote =
new char[length];
59 MPI_Bcast(&size, 1, MPI_INT, 0,
comm->
comm);
65 if ((
size_t)size == b.
length()) {
83 if (take>(
int)b.
length()) {
104 MPI_Bcast(&size, 1, MPI_INT, 0,
comm->
comm );
105 MPI_Bcast((
void*)b.
get(), size, MPI_BYTE, 0,
comm->
comm );
const yarp::os::LogComponent & MPI_CARRIER()
void write(const yarp::os::Bytes &b) override
Write a block of bytes to the stream.
void disconnect(bool disconn)
void reset() override
Reset the stream.
A simple abstraction for a block of bytes.
void wait()
Decrement the counter, even if we must wait to do that.
void post()
Increment the counter.
#define yCDebug(component,...)
An interface to the operating system, including Port based communication.