class AttributionUpdate
Defined at line 1018 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_types.h
Describes a change affecting attribution of resources to a single principal.
Public Methods
void AttributionUpdate ()
void ~AttributionUpdate ()
void AttributionUpdate (AttributionUpdate && other)
bool IsUnknown ()
Defined at line 1032 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_types.h
AttributionUpdate & operator= (AttributionUpdate && other)
bool has_invalid_tag ()
bool is_add ()
AttributionUpdate WithAdd (::fidl::ObjectView< ::fuchsia_memory_attribution::wire::NewPrincipal> val)
Reports a new principal managed by the reporter.
Declaring a Principal means that the declarer/reporter is providing the
resources for the Principal to run. Typically, Component Framework
Runners will declare the components they run as Principals.
template <typename... Args>
AttributionUpdate WithAdd (::fidl::AnyArena & allocator, Args &&... args)
Reports a new principal managed by the reporter.
Declaring a Principal means that the declarer/reporter is providing the
resources for the Principal to run. Typically, Component Framework
Runners will declare the components they run as Principals.
Defined at line 1053 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_types.h
::fuchsia_memory_attribution::wire::NewPrincipal & add ()
Reports a new principal managed by the reporter.
Declaring a Principal means that the declarer/reporter is providing the
resources for the Principal to run. Typically, Component Framework
Runners will declare the components they run as Principals.
const ::fuchsia_memory_attribution::wire::NewPrincipal & add ()
Reports a new principal managed by the reporter.
Declaring a Principal means that the declarer/reporter is providing the
resources for the Principal to run. Typically, Component Framework
Runners will declare the components they run as Principals.
bool is_update ()
AttributionUpdate WithUpdate (::fidl::ObjectView< ::fuchsia_memory_attribution::wire::UpdatedPrincipal> val)
Replaces the attribution information for a Principal.
When this is received, the client is should discard any attribution
information received by this channel for the Principal, and replace it
with this information.
template <typename... Args>
AttributionUpdate WithUpdate (::fidl::AnyArena & allocator, Args &&... args)
Replaces the attribution information for a Principal.
When this is received, the client is should discard any attribution
information received by this channel for the Principal, and replace it
with this information.
Defined at line 1087 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_types.h
::fuchsia_memory_attribution::wire::UpdatedPrincipal & update ()
Replaces the attribution information for a Principal.
When this is received, the client is should discard any attribution
information received by this channel for the Principal, and replace it
with this information.
const ::fuchsia_memory_attribution::wire::UpdatedPrincipal & update ()
Replaces the attribution information for a Principal.
When this is received, the client is should discard any attribution
information received by this channel for the Principal, and replace it
with this information.
bool is_remove ()
AttributionUpdate WithRemove (::fidl::ObjectView<uint64_t> val)
Removes a Principal.
Declares that a Principal is no longer active on the system. All
attribution information for this Principal can be removed after this
message. Any remaining resources will still be attributed according to
the default attribution rules.
template <typename... Args>
AttributionUpdate WithRemove (::fidl::AnyArena & allocator, Args &&... args)
Removes a Principal.
Declares that a Principal is no longer active on the system. All
attribution information for this Principal can be removed after this
message. Any remaining resources will still be attributed according to
the default attribution rules.
Defined at line 1123 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_types.h
uint64_t & remove ()
Removes a Principal.
Declares that a Principal is no longer active on the system. All
attribution information for this Principal can be removed after this
message. Any remaining resources will still be attributed according to
the default attribution rules.
const uint64_t & remove ()
Removes a Principal.
Declares that a Principal is no longer active on the system. All
attribution information for this Principal can be removed after this
message. Any remaining resources will still be attributed according to
the default attribution rules.
::fuchsia_memory_attribution::wire::AttributionUpdate::Tag Which ()
void _CloseHandles ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kAdd | 1 |
| kUpdate | 2 |
| kRemove | 3 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1026 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_types.h