Function ska::pst::common::PacketGeneratorFactory

Function Documentation

auto ska::pst::common::PacketGeneratorFactory(const std::string &name, const std::shared_ptr<PacketLayout> &layout) -> std::shared_ptr<PacketGenerator>

Construct a PacketGenerator from the name.

Parameters
  • name – string representation of the PacketGenerator

  • layout – data layout that describes the data, weights and scale sizes

Returns

PacketGenerator* new PacketGenerator object