MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / alertToString

Function alertToString

dependencies/hueplusplus-1.0.0/src/Sensor.cpp:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace hueplusplus
29{
30std::string alertToString(Alert alert)
31{
32 switch (alert)
33 {
34 case Alert::lselect:
35 return "lselect";
36 case Alert::select:
37 return "select";
38 break;
39 default:
40 return "none";
41 }
42}
43
44Alert alertFromString(const std::string& s)
45{

Callers 2

TESTFunction · 0.85
sendAlertMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68