class AdvisoryLockRequest

Defined at line 4286 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void AdvisoryLockRequest ()
void AdvisoryLockRequest (AdvisoryLockRequest && other)
const ::fuchsia::io::AdvisoryLockType & type ()

The type of lock to be acquired.

If this field is absent, the [`AdvisoryLock`] method will fail

with ZX_ERR_INVALID_ARGS.

Defined at line 4296 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_type ()

Defined at line 4300 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::AdvisoryLockType * mutable_type ()

The type of lock to be acquired.

If this field is absent, the [`AdvisoryLock`] method will fail

with ZX_ERR_INVALID_ARGS.

Defined at line 4308 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_type ()

Defined at line 4316 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::fuchsia::io::AdvisoryLockRange & range ()

The byte range within the file to be locked.

The range can extend beyond the end of the file but cannot extend beyond

the beginning of the file.

If this field is absent, the range defaults to the entire file.

Defined at line 4330 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_range ()

Defined at line 4334 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::AdvisoryLockRange * mutable_range ()

The byte range within the file to be locked.

The range can extend beyond the end of the file but cannot extend beyond

the beginning of the file.

If this field is absent, the range defaults to the entire file.

Defined at line 4344 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_range ()

Defined at line 4352 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_wait ()

Defined at line 4368 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool * mutable_wait ()

Whether the file should wait reply to the [`AdvisoryLock`]

method until the requested lock can be acquired.

If this field is absent, the file will not wait.

Defined at line 4376 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_wait ()

Defined at line 4384 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

AdvisoryLockRequest & set_type (::fuchsia::io::AdvisoryLockType _value)
AdvisoryLockRequest & set_range (::fuchsia::io::AdvisoryLockRange _value)
AdvisoryLockRequest & set_wait (bool _value)
const bool & wait ()

Whether the file should wait reply to the [`AdvisoryLock`]

method until the requested lock can be acquired.

If this field is absent, the file will not wait.

Defined at line 4364 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void ~AdvisoryLockRequest ()
AdvisoryLockRequest & operator= (AdvisoryLockRequest && other)
::std::unique_ptr<AdvisoryLockRequest> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, AdvisoryLockRequest * _value, size_t _offset)
zx_status_t Clone (AdvisoryLockRequest * _result)