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

Method SetQueryStage

cpp/src/Node.cpp:820–840  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Set the query stage (but only to an earlier stage) -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

818// Set the query stage (but only to an earlier stage)
819//-----------------------------------------------------------------------------
820void Node::SetQueryStage
821(
822 QueryStage const _stage,
823 bool const _advance // = true
824)
825{
826 if( (int)_stage < (int)m_queryStage )
827 {
828 m_queryStage = _stage;
829 m_queryPending = false;
830
831 if( QueryStage_Configuration == _stage )
832 {
833 m_queryConfiguration = true;
834 }
835 }
836 if( _advance )
837 {
838 AdvanceQueries();
839 }
840}
841
842//-----------------------------------------------------------------------------
843// <Node::GetQueryStageName>

Callers 6

RequestNodeStateMethod · 0.80
RequestNodeDynamicMethod · 0.80
InitNodeMethod · 0.80
SetAwakeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected