Skip to content
Snippets Groups Projects

added feature of obtaining scalar varaible from a function w/o the default

With this feature additional approach to monitoring a single object can be used. That is, user can provide functor that is called when the value needs to be obtained. The usecase was to monitor collection size.

auto size = Monitored::Scalar("cellsSize", [&](){ return cells->size(); })

Tagging @fwinkl

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading