MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / getActivityLabel

Function getActivityLabel

src/gui2/summaryview.cc:29–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27static OperationState currentOperationState = OperationState::Running;
28
29static std::string getActivityLabel(DiskActivityType type)
30{
31 switch (type)
32 {
33 case DiskActivityType::None:
34 return "";
35 case DiskActivityType::Read:
36 return "R";
37 case DiskActivityType::Write:
38 return "W";
39 }
40 throw std::invalid_argument("bad argument");
41}
42
43SummaryView::SummaryView():
44 View::Window("fluxengine.view.summary.name", ICON_VS_COMPASS)

Callers 2

drawPhysicalMapFunction · 0.85
drawLogicalMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected