ark::pipeline::SingleShotProducerStage

Defined in header “ark/pipeline/testing/single_shot_producer_stage.hh”.


A stage that publishes the given object a single time, on startup, using the single shot strategy.

Methods

  • SingleShotProducerStage(ObjectType object, std::string channel_name, std::string name)
    Constructor. Initialize with the object you wish to produce.

  • void initialize(pipeline::StageInterface & interface)
    Called from the executor when we are initialized.