class ModeFlag

Defined at line 124 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

Constants for display_config's mode_flags field

|ModeFlag| is strict, hence is guaranteed to only contain

members defined in the FIDL schema when receiving it in a message.

Sending unknown members will fail at runtime.

Public Members

static ModeFlag kVsyncPositive
static ModeFlag kHsyncPositive
static ModeFlag kInterlaced
static ModeFlag kAlternatingVblank
static ModeFlag kDoubleClocked
static ModeFlag kMask

Public Methods

void ModeFlag ()

Defined at line 126 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

void ModeFlag (uint32_t value)

Constructs an instance of |ModeFlag| from an underlying primitive value,

preserving any bit member not defined in the FIDL schema.

Defined at line 130 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 138 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

bool operator bool ()

Defined at line 139 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

bool operator== (const ModeFlag & other)

Defined at line 140 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

bool operator!= (const ModeFlag & other)

Defined at line 141 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

std::optional<ModeFlag> TryFrom (uint32_t value)

Constructs an instance of |ModeFlag| from an underlying primitive value

if the primitive does not contain any unknown members not defined in the

FIDL schema. Otherwise, returns |std::nullopt|.

Defined at line 155 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

ModeFlag TruncatingUnknown (uint32_t value)

Constructs an instance of |ModeFlag| from an underlying primitive value,

clearing any bit member not defined in the FIDL schema.

Defined at line 164 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

ModeFlag operator~ ()

Defined at line 183 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

ModeFlag operator| (const ModeFlag & other)

Defined at line 187 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

ModeFlag operator& (const ModeFlag & other)

Defined at line 192 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

ModeFlag operator^ (const ModeFlag & other)

Defined at line 197 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

ModeFlag operator- (const ModeFlag & other)

Defined at line 202 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

void operator|= (const ModeFlag & other)

Defined at line 207 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

void operator&= (const ModeFlag & other)

Defined at line 212 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

void operator^= (const ModeFlag & other)

Defined at line 217 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h

void operator-= (const ModeFlag & other)

Defined at line 222 of file fidling/gen/sdk/fidl/fuchsia.hardware.display.engine/fuchsia.hardware.display.engine/cpp/fidl/fuchsia.hardware.display.engine/cpp/common_types.h