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

Method GetAlarmNotificationTypes

cpp/src/NotificationCCTypes.cpp:313–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311
312
313const NotificationCCTypes::NotificationTypes* NotificationCCTypes::GetAlarmNotificationTypes
314(
315 uint32 type
316)
317{
318 if (Notifications.find(type) != Notifications.end()) {
319 return Notifications.at(type);
320 }
321 else
322 {
323 Log::Write( LogLevel_Warning, "NotificationCCTypes::GetAlarmNotificationTypes - Unknown Alarm Type %d", type);
324 }
325 return NULL;
326}
327
328const NotificationCCTypes::NotificationEvents* NotificationCCTypes::GetAlarmNotificationEvents
329(

Callers 1

HandleMsgMethod · 0.80

Calls 3

WriteFunction · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected