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

Method UserCode

cpp/src/command_classes/UserCode.cpp:319–334  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Constructor -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

317// Constructor
318//-----------------------------------------------------------------------------
319UserCode::UserCode
320(
321 uint32 const _homeId,
322 uint8 const _nodeId
323):
324 CommandClass( _homeId, _nodeId ),
325 m_queryAll( false ),
326 m_currentCode( 0 ),
327 m_refreshUserCodes(false)
328{
329 m_com.EnableFlag(COMPAT_FLAG_UC_EXPOSERAWVALUE, false);
330 m_dom.EnableFlag(STATE_FLAG_USERCODE_COUNT, 0);
331 SetStaticRequest( StaticRequest_Values );
332 Options::Get()->GetOptionAsBool("RefreshAllUserCodes", &m_refreshUserCodes );
333
334}
335
336//-----------------------------------------------------------------------------
337// <UserCode::RequestState>

Callers

nothing calls this directly

Calls 3

EnableFlagMethod · 0.80
GetOptionAsBoolMethod · 0.80
GetFunction · 0.50

Tested by

no test coverage detected