zx::counter
Summary
Inheritance
Inherits from:
zx::object< counter >
Public static attributes
|
TYPE = ZX_OBJ_TYPE_COUNTER
|
constexpr zx_obj_type_t
|
Public functions
|
add(int64_t value) const
|
zx_status_t
|
operator=(counter && other)
|
|
read(int64_t *value) const
|
zx_status_t
|
write(int64_t value) const
|
zx_status_t
|
Public static functions
|
create(uint32_t options, counter *result)
|
zx_status_t
|
Public static attributes
TYPE
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_COUNTER
Public functions
add
zx_status_t add(
int64_t value
) const
counter
constexpr counter()=default
counter
counter(
zx_handle_t value
)
counter
counter(
handle && h
)
counter
counter(
counter && other
)
read
zx_status_t read(
int64_t *value
) const
write
zx_status_t write(
int64_t value
) const
Public static functions
create
zx_status_t create(
uint32_t options,
counter *result
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-18 UTC."],[],[],null,[]]