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

Method GetMetaData

cpp/src/Driver.cpp:7586–7599  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Retrieve MetaData about a Node. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

7584// Retrieve MetaData about a Node.
7585//-----------------------------------------------------------------------------
7586string const Driver::GetMetaData
7587(
7588 uint8 const _nodeId,
7589 Node::MetaDataFields _metadata
7590)
7591{
7592 LockGuard LG(m_nodeMutex);
7593 Node* node = GetNode( _nodeId );
7594 if( node != NULL )
7595 {
7596 return node->GetMetaData( _metadata );
7597 }
7598 return "";
7599}
7600
7601//-----------------------------------------------------------------------------
7602// <Manager::GetMetaData>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected