Improve comments

This commit is contained in:
Robert Haschke 2021-11-29 15:04:40 +01:00
parent b2056745a8
commit 442d39ad3e

View File

@ -243,22 +243,22 @@ PIMPL_FUNCTIONS(ParallelContainerBase)
/* The Fallbacks container needs to implement different behaviour based on its interface.
* Thus, we implement 3 different classes: for Generator, Propagator, and Connect-like interfaces.
* FallbacksPrivate is the common base class for all of them, defining the common API to be used
* by the Fallbacks container.
* FallbacksPrivate is the common base class for all of them, defining the common API
* to be used by the Fallbacks container.
* The actual interface-specific class is instantiated in initializeExternalInterfaces()
* resp. Fallbacks::replaceImpl() when the actual interface is known.
* The key difference between the 3 variants is how the advance to the next job. */
* The key difference between the 3 variants is how they advance to the next job. */
class FallbacksPrivate : public ParallelContainerBasePrivate
{
public:
FallbacksPrivate(Fallbacks* me, const std::string& name);
FallbacksPrivate(FallbacksPrivate&& other);
// method overrides common to 3 variants
// methods common to all variants
void initializeExternalInterfaces() final;
void onNewFailure(const Stage& child, const InterfaceState* from, const InterfaceState* to) override;
// virtual method specific to each variant
// virtual methods specific to each variant
/// Advance to the next job, assuming that the current child is exhausted on the current job.
virtual bool nextJob() { return false; }
/// Reset data structures