21 getCaster().remove(
name,
this);
23 if (
elect ==
nullptr) {
34 if (
elect !=
nullptr) {
45 getCaster().add(
name,
this);
46 electionMember =
true;
59 int length =
other.length() +
name.length() + 3;
81 if (caster==
nullptr) {
84 if (caster==
nullptr) {
const yarp::os::LogComponent & MPI_CARRIER()
Carrier for port communicating via MPI broadcast.
virtual ~MpiBcastCarrier()
void close() override
Close the carrier.
void createStream(bool sender) override
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.
Wrapper for MPI_Comm communicator.
void disconnect(bool disconn)
A mini-server for performing network communication in the background.
static void unlock()
Call post() on a global mutual-exclusion semaphore allocated by YARP.
static void lock()
Call wait() on a global mutual-exclusion semaphore allocated by YARP.
void wait()
Decrement the counter, even if we must wait to do that.
void post()
Increment the counter.
#define yCError(component,...)
#define yCTrace(component,...)
#define yCDebug(component,...)
An interface to the operating system, including Port based communication.