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

Method Color

cpp/src/command_classes/Color.cpp:118–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117
118Color::Color
119(
120 uint32 const _homeId,
121 uint8 const _nodeId
122):
123CommandClass( _homeId, _nodeId ),
124m_refreshinprogress ( false ),
125m_coloridxcount ( 0 )
126{
127 m_com.EnableFlag(COMPAT_FLAG_COLOR_IDXBUG, false);
128 m_dom.EnableFlag(STATE_FLAG_COLOR_CHANNELS, 0);
129
130 for (uint8 i = 0; i < 9; i++)
131 m_colorvalues[i] = 0;
132 SetStaticRequest( StaticRequest_Values );
133}
134
135//-----------------------------------------------------------------------------
136// <Color::RequestState>

Callers

nothing calls this directly

Calls 1

EnableFlagMethod · 0.80

Tested by

no test coverage detected