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

Method SetInstance

cpp/src/command_classes/CommandClass.cpp:194–207  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Instances as set by the MultiChannel (i.e. MultiInstance V2) command class -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

192// Instances as set by the MultiChannel (i.e. MultiInstance V2) command class
193//-----------------------------------------------------------------------------
194void CommandClass::SetInstance
195(
196 uint8 const _endPoint
197)
198{
199 if( !m_instances.IsSet( _endPoint ) )
200 {
201 m_instances.Set( _endPoint );
202 if( m_com.GetFlagBool(COMPAT_FLAG_CREATEVARS) )
203 {
204 CreateVars( _endPoint );
205 }
206 }
207}
208
209//-----------------------------------------------------------------------------
210// <CommandClass::SetInstanceLabel>

Callers 15

RequestValueMethod · 0.45
SetValueMethod · 0.45
RequestValueMethod · 0.45
HandleMsgMethod · 0.45
SetValueMethod · 0.45
RequestValueMethod · 0.45
SetStateMethod · 0.45
RequestValueMethod · 0.45
SetValueMethod · 0.45
RequestStateMethod · 0.45
RequestValueMethod · 0.45
SetValueMethod · 0.45

Calls 3

GetFlagBoolMethod · 0.80
IsSetMethod · 0.45
SetMethod · 0.45

Tested by 2

TestMethod · 0.36
RequestStateMethod · 0.36