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

Method RefreshValuesOnWakeup

cpp/src/Node.cpp:2334–2346  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Request an update of all known dynamic values from the device -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2332// Request an update of all known dynamic values from the device
2333//-----------------------------------------------------------------------------
2334void Node::RefreshValuesOnWakeup
2335(
2336)
2337{
2338 for( map<uint8,CommandClass*>::const_iterator it = m_commandClassMap.begin(); it != m_commandClassMap.end(); ++it )
2339 {
2340 if( !it->second->IsAfterMark() )
2341 {
2342 it->second->refreshValuesOnWakeup();
2343 }
2344 }
2345
2346}
2347//-----------------------------------------------------------------------------
2348// <Node::SetLevel>
2349// Helper method to set a device's basic level

Callers 1

SetAwakeMethod · 0.80

Calls 3

refreshValuesOnWakeupMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected