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

Method CreateVars

cpp/src/command_classes/Language.cpp:153–163  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Create the values managed by this command class -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

151// Create the values managed by this command class
152//-----------------------------------------------------------------------------
153void Language::CreateVars
154(
155 uint8 const _instance
156)
157{
158 if( Node* node = GetNodeUnsafe() )
159 {
160 node->CreateValueString( ValueID::ValueGenre_System, GetCommandClassId(), _instance, (uint8)LanguageIndex_Language, "Language", "", false, false, "", 0 );
161 node->CreateValueString( ValueID::ValueGenre_System, GetCommandClassId(), _instance, (uint8)LanguageIndex_Country, "Country", "", false, false, "", 0 );
162 }
163}
164

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueStringMethod · 0.80

Tested by

no test coverage detected