Class Rectifier
Defined in File Rectifier.hpp
Class Documentation
-
class Rectifier
The Rectifier class provides an interface for telling a Participant to rectify an inconsistency in the information received by a moderator. This rectification protocol is important when the blockades are being managed over an unreliable network.
The Rectifier class can be used by a RectifierRequester to ask a participant to retransmit a range of its past status changes.
Only the Participant class is able to create a Rectifier instance. Users of rmf_traffic cannot instantiate a Rectifier.
Public Functions
-
void check(const Status &status)
Check that the given status is up to date, and retransmit if any information is out of sync.
-
void check()
Check that there should not be a status for this participant. If that is a mistake and this participant should have a status, then retransmit the necessary information.
-
void check(const Status &status)