nl:: Weave:: TLV:: Debug
Questo spazio dei nomi include tipi e interfacce per il debug e il logging di Weave TLV.
Riepilogo
Typedef |
|
|---|---|
DumpWriter)(const char *aFormat,...)
|
typedefvoid(*
|
Funzioni |
|
|---|---|
DecodeTagControl(const TLVTagControl aTagControl)
|
const char *
Decodifica un controllo tag TLV con una stringa descrittiva.
|
DecodeType(const TLVType aType)
|
const char *
Decodifica un tipo TLV con una stringa descrittiva.
|
Dump(const TLVReader & aReader, DumpWriter aWriter)
|
Esegui il dump dei dati TLV all'interno del lettore specificato in formato leggibile con l'autore specificato.
|
DumpHandler(DumpWriter aWriter, const char *aIndent, const TLVReader & aReader, size_t aDepth)
|
void
Esegui il dump dell'elemento TLV a cui fa riferimento aReader in formato leggibile utilizzando aWriter.
|
DumpHandler(const TLVReader & aReader, size_t aDepth, void *aContext)
|
Registra i dati TLV all'interno del lettore specificato in formato leggibile.
|
DumpIterator(DumpWriter aWriter, const TLVReader & aReader)
|
Registra i dati TLV all'interno del lettore specificato in formato leggibile per l'autore specificato.
|
Structs |
|
|---|---|
|
nl:: |
|
Typedef
DumpWriter
void(* DumpWriter)(const char *aFormat,...)
Funzioni
DecodeTagControl
const char * DecodeTagControl( const TLVTagControl aTagControl )
Decodifica un controllo tag TLV con una stringa descrittiva.
| Dettagli | |||
|---|---|---|---|
| Parametri |
|
||
| Restituisce |
Un puntatore a una stringa con terminazione NULL che descrive il controllo tag specificato in caso di esito positivo; altrimenti NULL.
|
||
DecodeType
const char * DecodeType( const TLVType aType )
Dump
WEAVE_ERROR Dump( const TLVReader & aReader, DumpWriter aWriter )
Esegui il dump dei dati TLV all'interno del lettore specificato in formato leggibile con l'autore specificato.
| Dettagli | |||||
|---|---|---|---|---|---|
| Parametri |
|
||||
| Valori restituiti |
|
||||
DumpHandler
void DumpHandler( DumpWriter aWriter, const char *aIndent, const TLVReader & aReader, size_t aDepth )
Esegui il dump dell'elemento TLV a cui fa riferimento aReader in formato leggibile utilizzando aWriter.
| Dettagli | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Parametri |
|
||||||||
DumpHandler
WEAVE_ERROR DumpHandler( const TLVReader & aReader, size_t aDepth, void *aContext )
Registra i dati TLV all'interno del lettore specificato in formato leggibile.
| Dettagli | |||||||
|---|---|---|---|---|---|---|---|
| Parametri |
|
||||||
| Valori restituiti |
|
||||||
DumpIterator
WEAVE_ERROR DumpIterator( DumpWriter aWriter, const TLVReader & aReader )