Class LambdaLoader

(Latest Version)
class LambdaLoader : public morpheus::Loader

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

Public Functions

~LambdaLoader() = default

LambdaLoader() = delete

LambdaLoader(std::function<std::shared_ptr<ControlMessage>(std::shared_ptr<ControlMessage>, nlohmann::json)> lambda_load, nlohmann::json config = {})

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

Virtual method for loading a control message.

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

  • task – A json object describing the loading task.


A shared pointer to the loaded control message.

Previous Class KafkaSourceStageUnsubscribedException
Next Class Listener
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.