class Counter

Defined at line 39 of file gen/third_party/openweave-core/src/include/Weave/Support/WeaveCounter.h

An interface for managing a counter as an integer value.

Public Methods

WEAVE_ERROR Advance ()

Advance the value of the counter.

Returns

A Weave error code if anything failed, WEAVE_NO_ERROR otherwise.

void Counter ()

Defined at line 42 of file gen/third_party/openweave-core/src/include/Weave/Support/WeaveCounter.h

uint32_t GetValue ()

Get the current value of the counter.

Returns

The current value of the counter.

void ~Counter ()

Defined at line 43 of file gen/third_party/openweave-core/src/include/Weave/Support/WeaveCounter.h