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

Method OnGroupChanged

cpp/src/Group.cpp:322–338  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Change the group contents and notify the watchers -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

320// Change the group contents and notify the watchers
321//-----------------------------------------------------------------------------
322void Group::OnGroupChanged
323(
324 vector<uint8> const& _associations
325)
326{
327 vector<InstanceAssociation> instanceAssociations;
328 uint8 i;
329 for( i=0; i<_associations.size(); ++i )
330 {
331 InstanceAssociation association;
332 association.m_nodeId = _associations[i];
333 association.m_instance = 0x00;
334 instanceAssociations.push_back( association );
335 }
336 OnGroupChanged(instanceAssociations);
337 instanceAssociations.clear();
338}
339
340//-----------------------------------------------------------------------------
341// <Group::OnGroupChanged>

Callers 2

HandleMsgMethod · 0.80
HandleMsgMethod · 0.80

Calls 12

clearMethod · 0.80
GetCommandClassMethod · 0.80
RequestCommandsMethod · 0.80
QueueNotificationMethod · 0.80
GetOptionAsBoolMethod · 0.80
UpdateNodeRoutesMethod · 0.80
GetFunction · 0.70
sizeMethod · 0.45
GetDriverMethod · 0.45
GetNodeUnsafeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected