(Latest Version)

Class PayloadDataLoader

class PayloadDataLoader : public morpheus::Loader

Very simple raw data loader that takes payload data on the control message and returns it.

Public Functions

~PayloadDataLoader() = default

PayloadDataLoader() = default

PayloadDataLoader(nlohmann::json config)

virtual std::shared_ptr<ControlMessage> load(std::shared_ptr<ControlMessage> control_message, nlohmann::json task) final

Virtual method for loading a control message.

Parameters
  • message – A shared pointer to the control message to be loaded.

  • task – A json object describing the loading task.

Returns

A shared pointer to the loaded control message.

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.