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