MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / GetAlarmType

Method GetAlarmType

cpp/src/NotificationCCTypes.cpp:286–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286string NotificationCCTypes::GetAlarmType
287(
288 uint32 type
289)
290{
291 if (Notifications.find(type) != Notifications.end()) {
292 return Notifications.at(type)->name;
293 }
294 Log::Write( LogLevel_Warning, "NotificationCCTypes::GetAlarmType - Unknown AlarmType %d", type);
295 return "Unknown";
296}
297
298string NotificationCCTypes::GetEventForAlarmType
299(

Callers 1

HandleMsgMethod · 0.80

Calls 3

WriteFunction · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected