class DeviceState

Defined at line 3016 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

Combined State for LoWPAN Devices

Contains the various properties of a LoWPAN device

that define its current operational state.

You will get a snapshot of the current state upon the first

invocation of `WatchDeviceState()`, after which future

invocations of that method will return deltas.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::lowpan::device::ConnectivityState & connectivity_state ()

LoWPAN Connectivity State

This field describes the current level of connectivity being

provided by this device.

Defined at line 3026 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

bool has_connectivity_state ()

Defined at line 3030 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

::fuchsia::lowpan::device::ConnectivityState * mutable_connectivity_state ()

LoWPAN Connectivity State

This field describes the current level of connectivity being

provided by this device.

Defined at line 3038 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

void clear_connectivity_state ()

Defined at line 3046 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

const ::fuchsia::lowpan::device::Role & role ()

LoWPAN Role

This field describes the current role this device is taking

on the current network.

Defined at line 3058 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

bool has_role ()

Defined at line 3062 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

::fuchsia::lowpan::device::Role * mutable_role ()

LoWPAN Role

This field describes the current role this device is taking

on the current network.

Defined at line 3070 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

void clear_role ()

Defined at line 3078 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

DeviceState & set_connectivity_state (::fuchsia::lowpan::device::ConnectivityState _value)
DeviceState & set_role (::fuchsia::lowpan::device::Role _value)
void DeviceState ()
void DeviceState (DeviceState && other)
void ~DeviceState ()
DeviceState & operator= (DeviceState && other)
::std::unique_ptr<DeviceState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DeviceState * _value, size_t _offset)
zx_status_t Clone (DeviceState * _result)