What can I help you with?
NVIDIA Morpheus (25.02.01)

Template Class MonitorController

template<typename MessageT>
class MonitorController

A controller class that manages the display of progress bars that used by MonitorStage.

Public Functions

MonitorController(const std::string &description, std::string unit = "messages", indicators::Color text_color = indicators::Color::cyan, indicators::FontStyle font_style = indicators::FontStyle::bold, std::optional<std::function<size_t(MessageT)>> determine_count_fn = std::nullopt)

Construct a new Monitor Controller object.

Parameters
  • description – : A text label displayed on the left side of the progress bars

  • unit – : the unit of message count

  • determine_count_fn – : A function that computes the count for each incoming message

auto auto_count_fn() -> std::optional<std::function<size_t(MessageT)>>
MessageT progress_sink(MessageT msg)
void sink_on_completed()

Previous Class MessageMeta
Next Template Class MonitorStage
© Copyright 2024, NVIDIA. Last updated on Mar 3, 2025.