10 #ifndef YARP_MPIBCASTCARRIER_H
11 #define YARP_MPIBCASTCARRIER_H
45 void close()
override;
Carrier for port communicating via MPI broadcast.
Carrier * create() const override
Factory method.
virtual ~MpiBcastCarrier()
void close() override
Close the carrier.
std::string getName() const override
Get the name of this connection type ("tcp", "mcast", "shmem", ...)
bool supportReply() const override
This flag is used by YARP to determine whether the connection can carry RPC traffic,...
void createStream(bool sender) override
bool isBroadcast() const override
Check if this carrier uses a broadcast mechanism.
bool expectReplyToHeader(yarp::os::ConnectionState &proto) override
Process reply to header, if one is expected for this carrier.
virtual bool isElect() const
void prepareDisconnect() override
Do cleanup and preparation for the coming disconnect, if necessary.
bool isActive() const override
Check if carrier is alive and error free.
Implements communication via MPI broadcast.
Abstract base carrier for managing port communication via MPI.
bool expectReplyToHeader(yarp::os::ConnectionState &proto) override
Process reply to header, if one is expected for this carrier.
The basic state of a connection - route, streams in use, etc.
Pick one of a set of peers to be "active".