class AdvisoryLockRequest
Defined at line 846 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Public Methods
void AdvisoryLockRequest ()
Defined at line 850 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
void AdvisoryLockRequest (const AdvisoryLockRequest & other)
Defined at line 851 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
void AdvisoryLockRequest (AdvisoryLockRequest && other)
Defined at line 853 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_io::wire::AdvisoryLockRequest> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_io::wire::AdvisoryLockRequest> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::AdvisoryLockRequest>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fuchsia_io::wire::AdvisoryLockType & type ()
The type of lock to be acquired.
If this field is absent, the [`AdvisoryLock`] method will fail
with ZX_ERR_INVALID_ARGS.
bool has_type ()
::fuchsia_io::wire::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.
bool has_range ()
AdvisoryLockRequest & operator= (const AdvisoryLockRequest & other)
Defined at line 852 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
AdvisoryLockRequest & operator= (AdvisoryLockRequest && other)
Defined at line 854 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
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.
bool has_wait ()
AdvisoryLockRequest & set_type (::fuchsia_io::wire::AdvisoryLockType elem)
AdvisoryLockRequest & clear_type ()
AdvisoryLockRequest & set_range (::fidl::ObjectView< ::fuchsia_io::wire::AdvisoryLockRange> elem)
AdvisoryLockRequest & set_range (std::nullptr_t )
AdvisoryLockRequest & clear_range ()
AdvisoryLockRequest & set_wait (bool elem)
AdvisoryLockRequest & clear_wait ()
void AdvisoryLockRequest (::fidl::AnyArena & allocator)
void AdvisoryLockRequest (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::AdvisoryLockRequest>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::AdvisoryLockRequest>> && frame_ptr)
void ~AdvisoryLockRequest ()
Defined at line 856 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder