struct CircularEventBuffer
Defined at line 47 of file gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/LoggingManagement.h
Internal event buffer, built around the nl::Weave::TLV::WeaveCircularTLVBuffer
Public Members
WeaveCircularTLVBuffer mBuffer
CircularEventBuffer * mPrev
CircularEventBuffer * mNext
ImportanceType mImportance
event_id_t mFirstEventID
event_id_t mLastEventID
timestamp_t mFirstEventTimestamp
timestamp_t mLastEventTimestamp
utc_timestamp_t mFirstEventUTCTimestamp
utc_timestamp_t mLastEventUTCTimestamp
bool mUTCInitialized
nl::Weave::MonotonicallyIncreasingCounter * mEventIdCounter
MonotonicallyIncreasingCounter mNonPersistedCounter
Public Methods
void CircularEventBuffer (uint8_t *inBuffer,size_tinBufferLength,CircularEventBuffer *inPrev,CircularEventBuffer *inNext)
for doxygen, see the CPP file
bool IsFinalDestinationForImportance (ImportanceType inImportance)
for doxygen, see the CPP file
event_id_t VendEventID ()
void RemoveEvent (size_t aNumEvents)
void AddEvent (timestamp_t inEventTimestamp)
for doxygen, see the CPP file
WEAVE_ERROR SerializeEvents (TLVWriter & writer)
Serializes the events in WeaveCircularTLVBuffer and the associated states
WEAVE_ERROR LoadEvents (TLVReader & reader)
Load from serialized events
void AddEventUTC (utc_timestamp_t inEventTimestamp)
for doxygen, see the CPP file
WEAVE_ERROR GetNextBufferFunct (nl::Weave::TLV::TLVReader &ioReader,uintptr_t &inBufHandle,const uint8_t *&outBufStart,uint32_t &outBufLen)