template <typename T>
class LazyInspectRecorderBase
Defined at line 185 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
Records data in an underlying TimestampedBuffer to a lazy node.
Public Methods
void LazyInspectRecorderBase<T> (LazyInspectRecorderBase<T> && other)
This class cannot be safely moved because the lazy node callback references `this`.
Defined at line 188 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
LazyInspectRecorderBase<T> & operator= (LazyInspectRecorderBase<T> && other)
Defined at line 189 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
void LazyInspectRecorderBase<T> (const LazyInspectRecorderBase<T> & other)
Defined at line 191 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
LazyInspectRecorderBase<T> & operator= (const LazyInspectRecorderBase<T> & other)
Defined at line 192 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
void ~LazyInspectRecorderBase<T> ()
Defined at line 194 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
void AddEntry (T data, int64_t timestamp_ms)
Defined at line 196 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
Protected Methods
void LazyInspectRecorderBase<T> (size_t capacity, inspect::Node & parent_node)
Defined at line 202 of file ../../sdk/lib/power/state_recorder/cpp/inspect_buffer.h
void RecordToNode (inspect::Node & node, T value)
Specifies how to record a value of type T to an Inspect node.1