Template Class MonitorController#
- Defined in File monitor_controller.hpp 
Class Documentation#
- 
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 = "Progress",
- const 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 
 
 
 
 - 
void sink_on_completed()#