Class RectificationRequesterFactory

Inheritance Relationships

Derived Type

Class Documentation

class rmf_traffic::blockade::RectificationRequesterFactory

The RectificationRequesterFactory is a pure abstract interface class which should be implemented for any middlewares that intend to act as transport layers for the blockade system.

Subclassed by rmf_traffic::blockade::ModeratorRectificationRequesterFactory

Public Functions

virtual std::unique_ptr<RectificationRequester> make(Rectifier rectifier, ParticipantId participant_id) = 0

Create a RectificationRequester to be held by a Participant

Parameters
  • [in] rectifier: This rectifier can be used by the RectificationRequester to ask the participant to check its status.

  • [in] participant_id: The ID of the participant that will hold onto this RectificationRequester. This is the same participant that the rectifier will request for checks.

virtual ~RectificationRequesterFactory() = default