nl::Weave::Profiles::DataManagement_Current::CircularEventReader

#include <src/lib/profiles/data-management/Current/LoggingManagement.h>

A TLVReader backed by CircularEventBuffer.

Summary

Inheritance

Inherits from: nl::Weave::TLV::TLVReader

Public functions

Init(CircularEventBuffer *inBuf)
void
Initializes a TLVReader object backed by CircularEventBuffer.

Public functions

Init

void Init(
  CircularEventBuffer *inBuf
)

Initializes a TLVReader object backed by CircularEventBuffer.

Reading begins in the CircularTLVBuffer belonging to this CircularEventBuffer. When the reader runs out of data, it begins to read from the previous CircularEventBuffer.

Details
Parameters
[in] inBuf
A pointer to a fully initialized CircularEventBuffer