17 #ifndef __MASTER_DETECTOR_STANDALONE_HPP__ 18 #define __MASTER_DETECTOR_STANDALONE_HPP__ 35 class StandaloneMasterDetectorProcess;
63 StandaloneMasterDetectorProcess*
process;
70 #endif // __MASTER_DETECTOR_STANDALONE_HPP__
~StandaloneMasterDetector() override
Definition: master.hpp:27
process::Future< Option< MasterInfo > > detect(const Option< MasterInfo > &previous=None()) override
Returns MasterInfo after an election has occurred and the elected master is different than that speci...
StandaloneMasterDetector()
An "untyped" PID, used to encapsulate the process ID for lower-layer abstractions (eg...
Definition: pid.hpp:39
Definition: executor.hpp:48
An abstraction of a Master detector which can be used to detect the leading master from a group...
Definition: detector.hpp:38
void appoint(const Option< MasterInfo > &leader)
Definition: standalone.hpp:40
Definition: future.hpp:58