inspect::Node

Summary

Constructors and Destructors

Node()
Node(const Node & other)
Node(Node && other)
~Node()

Public functions

AtomicUpdate(AtomicUpdateCallbackFn callback)
void
CreateBool(BorrowedStringValue name, bool value) __WARN_UNUSED_RESULT
BoolProperty
CreateBool(BorrowedStringValue name, bool value, T *list)
void
CreateByteVector(BorrowedStringValue name, cpp20::span< const uint8_t > value) __WARN_UNUSED_RESULT
ByteVectorProperty
CreateByteVector(BorrowedStringValue name, cpp20::span< const uint8_t > value, T *list)
void
CreateChild(BorrowedStringValue name) __WARN_UNUSED_RESULT
CreateChild(BorrowedStringValue name, T *list)
void
CreateDouble(BorrowedStringValue name, double value) __WARN_UNUSED_RESULT
DoubleProperty
CreateDouble(BorrowedStringValue name, double value, T *list)
void
CreateDoubleArray(BorrowedStringValue name, size_t slots) __WARN_UNUSED_RESULT
DoubleArray
CreateExponentialDoubleHistogram(BorrowedStringValue name, double floor, double initial_step, double step_multiplier, size_t buckets) __WARN_UNUSED_RESULT
ExponentialDoubleHistogram
CreateExponentialIntHistogram(BorrowedStringValue name, int64_t floor, int64_t initial_step, int64_t step_multiplier, size_t buckets) __WARN_UNUSED_RESULT
ExponentialIntHistogram
CreateExponentialUintHistogram(BorrowedStringValue name, uint64_t floor, uint64_t initial_step, uint64_t step_multiplier, size_t buckets) __WARN_UNUSED_RESULT
ExponentialUintHistogram
CreateInt(BorrowedStringValue name, int64_t value) __WARN_UNUSED_RESULT
IntProperty
CreateInt(BorrowedStringValue name, int64_t value, T *list)
void
CreateIntArray(BorrowedStringValue name, size_t slots) __WARN_UNUSED_RESULT
IntArray
CreateLazyNode(BorrowedStringValue name, LazyNodeCallbackFn callback) __WARN_UNUSED_RESULT
CreateLazyNode(BorrowedStringValue name, F callback, T *list)
void
CreateLazyValues(BorrowedStringValue name, LazyNodeCallbackFn callback) __WARN_UNUSED_RESULT
CreateLazyValues(BorrowedStringValue name, F callback, T *list)
void
CreateLinearDoubleHistogram(BorrowedStringValue name, double floor, double step_size, size_t buckets) __WARN_UNUSED_RESULT
LinearDoubleHistogram
CreateLinearIntHistogram(BorrowedStringValue name, int64_t floor, int64_t step_size, size_t buckets) __WARN_UNUSED_RESULT
LinearIntHistogram
CreateLinearUintHistogram(BorrowedStringValue name, uint64_t floor, uint64_t step_size, size_t buckets) __WARN_UNUSED_RESULT
LinearUintHistogram
CreateString(BorrowedStringValue name, const std::string & value) __WARN_UNUSED_RESULT
StringProperty
CreateString(BorrowedStringValue name, const std::string & value, T *list)
void
CreateStringArray(BorrowedStringValue name, size_t slots) __WARN_UNUSED_RESULT
StringArray
CreateUint(BorrowedStringValue name, uint64_t value) __WARN_UNUSED_RESULT
UintProperty
CreateUint(BorrowedStringValue name, uint64_t value, T *list)
void
CreateUintArray(BorrowedStringValue name, size_t slots) __WARN_UNUSED_RESULT
UintArray
Record(T value)
void
Associates the lifetime of the given value with the node lifetime.
RecordBool(BorrowedStringValue name, bool value)
void
RecordByteVector(BorrowedStringValue name, cpp20::span< const uint8_t > value)
void
RecordChild(BorrowedStringValue name, RecordChildCallbackFn callback)
void
RecordDouble(BorrowedStringValue name, double value)
void
RecordInt(BorrowedStringValue name, int64_t value)
void
RecordLazyNode(BorrowedStringValue name, LazyNodeCallbackFn callback)
void
RecordLazyValues(BorrowedStringValue name, LazyNodeCallbackFn callback)
void
RecordString(BorrowedStringValue name, const std::string & value)
void
RecordUint(BorrowedStringValue name, uint64_t value)
void
UniqueName(const std::string & prefix)
std::string
operator bool() const
operator=(const Node & other)=delete
Node &
operator=(Node && other) noexcept
Node &

Public functions

AtomicUpdate

void AtomicUpdate(
  AtomicUpdateCallbackFn callback
)

CreateBool

BoolProperty CreateBool(
  BorrowedStringValue name,
  bool value
) __WARN_UNUSED_RESULT

CreateBool

void CreateBool(
  BorrowedStringValue name,
  bool value,
  T *list
)

CreateByteVector

ByteVectorProperty CreateByteVector(
  BorrowedStringValue name,
  cpp20::span< const uint8_t > value
) __WARN_UNUSED_RESULT

CreateByteVector

void CreateByteVector(
  BorrowedStringValue name,
  cpp20::span< const uint8_t > value,
  T *list
)

CreateChild

Node CreateChild(
  BorrowedStringValue name
) __WARN_UNUSED_RESULT

CreateChild

void CreateChild(
  BorrowedStringValue name,
  T *list
)

CreateDouble

DoubleProperty CreateDouble(
  BorrowedStringValue name,
  double value
) __WARN_UNUSED_RESULT

CreateDouble

void CreateDouble(
  BorrowedStringValue name,
  double value,
  T *list
)

CreateDoubleArray

DoubleArray CreateDoubleArray(
  BorrowedStringValue name,
  size_t slots
) __WARN_UNUSED_RESULT

CreateExponentialDoubleHistogram

ExponentialDoubleHistogram CreateExponentialDoubleHistogram(
  BorrowedStringValue name,
  double floor,
  double initial_step,
  double step_multiplier,
  size_t buckets
) __WARN_UNUSED_RESULT

CreateExponentialIntHistogram

ExponentialIntHistogram CreateExponentialIntHistogram(
  BorrowedStringValue name,
  int64_t floor,
  int64_t initial_step,
  int64_t step_multiplier,
  size_t buckets
) __WARN_UNUSED_RESULT

CreateExponentialUintHistogram

ExponentialUintHistogram CreateExponentialUintHistogram(
  BorrowedStringValue name,
  uint64_t floor,
  uint64_t initial_step,
  uint64_t step_multiplier,
  size_t buckets
) __WARN_UNUSED_RESULT

CreateInt

IntProperty CreateInt(
  BorrowedStringValue name,
  int64_t value
) __WARN_UNUSED_RESULT

CreateInt

void CreateInt(
  BorrowedStringValue name,
  int64_t value,
  T *list
)

CreateIntArray

IntArray CreateIntArray(
  BorrowedStringValue name,
  size_t slots
) __WARN_UNUSED_RESULT

CreateLazyNode

LazyNode CreateLazyNode(
  BorrowedStringValue name,
  LazyNodeCallbackFn callback
) __WARN_UNUSED_RESULT

CreateLazyNode

void CreateLazyNode(
  BorrowedStringValue name,
  F callback,
  T *list
)

CreateLazyValues

LazyNode CreateLazyValues(
  BorrowedStringValue name,
  LazyNodeCallbackFn callback
) __WARN_UNUSED_RESULT

CreateLazyValues

void CreateLazyValues(
  BorrowedStringValue name,
  F callback,
  T *list
)

CreateLinearDoubleHistogram

LinearDoubleHistogram CreateLinearDoubleHistogram(
  BorrowedStringValue name,
  double floor,
  double step_size,
  size_t buckets
) __WARN_UNUSED_RESULT

CreateLinearIntHistogram

LinearIntHistogram CreateLinearIntHistogram(
  BorrowedStringValue name,
  int64_t floor,
  int64_t step_size,
  size_t buckets
) __WARN_UNUSED_RESULT

CreateLinearUintHistogram

LinearUintHistogram CreateLinearUintHistogram(
  BorrowedStringValue name,
  uint64_t floor,
  uint64_t step_size,
  size_t buckets
) __WARN_UNUSED_RESULT

CreateString

StringProperty CreateString(
  BorrowedStringValue name,
  const std::string & value
) __WARN_UNUSED_RESULT

CreateString

void CreateString(
  BorrowedStringValue name,
  const std::string & value,
  T *list
)

CreateStringArray

StringArray CreateStringArray(
  BorrowedStringValue name,
  size_t slots
) __WARN_UNUSED_RESULT

CreateUint

UintProperty CreateUint(
  BorrowedStringValue name,
  uint64_t value
) __WARN_UNUSED_RESULT

CreateUint

void CreateUint(
  BorrowedStringValue name,
  uint64_t value,
  T *list
)

CreateUintArray

UintArray CreateUintArray(
  BorrowedStringValue name,
  size_t slots
) __WARN_UNUSED_RESULT

Node

 Node()=default

Node

 Node(
  const Node & other
)=delete

Node

 Node(
  Node && other
)=default

Record

void Record(
  T value
)

Associates the lifetime of the given value with the node lifetime.

RecordBool

void RecordBool(
  BorrowedStringValue name,
  bool value
)

RecordByteVector

void RecordByteVector(
  BorrowedStringValue name,
  cpp20::span< const uint8_t > value
)

RecordChild

void RecordChild(
  BorrowedStringValue name,
  RecordChildCallbackFn callback
)

RecordDouble

void RecordDouble(
  BorrowedStringValue name,
  double value
)

RecordInt

void RecordInt(
  BorrowedStringValue name,
  int64_t value
)

RecordLazyNode

void RecordLazyNode(
  BorrowedStringValue name,
  LazyNodeCallbackFn callback
)

RecordLazyValues

void RecordLazyValues(
  BorrowedStringValue name,
  LazyNodeCallbackFn callback
)

RecordString

void RecordString(
  BorrowedStringValue name,
  const std::string & value
)

RecordUint

void RecordUint(
  BorrowedStringValue name,
  uint64_t value
)

UniqueName

std::string UniqueName(
  const std::string & prefix
)

operator bool

 operator bool() const 

operator=

Node & operator=(
  const Node & other
)=delete

operator=

Node & operator=(
  Node && other
) noexcept

~Node

 ~Node()