class Protocol

Defined at line 6894 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h

Declares a protocol capability backed by this component.

To learn more about protocols, see:

https://fuchsia.dev/fuchsia-src/glossary#protocol

Public Methods

void Protocol (Storage_ storage)
void Protocol ()

Defined at line 6899 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h

void Protocol (Protocol && )

Defined at line 6900 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h

void Protocol (const Protocol & other)
Protocol & operator= (Protocol && )

Defined at line 6901 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h

Protocol & operator= (const Protocol & other)
bool operator== (const Protocol & other)
bool operator!= (const Protocol & other)
bool IsEmpty ()
const std::optional< ::std::string> & name ()

(Required) The name of this protocol.

::std::optional< ::std::string> & name ()

(Required) The name of this protocol.

Protocol & name (std::optional< ::std::string> value)

(Required) The name of this protocol.

const std::optional< ::std::string> & source_path ()

(Optional) The path to the protocol in the component's outgoing

directory.

Not set for built-in capabilities.

::std::optional< ::std::string> & source_path ()

(Optional) The path to the protocol in the component's outgoing

directory.

Not set for built-in capabilities.

Protocol & source_path (std::optional< ::std::string> value)

(Optional) The path to the protocol in the component's outgoing

directory.

Not set for built-in capabilities.

const std::optional< ::fuchsia_component_decl::DeliveryType> & delivery ()

(Optional, defaults to `EAGER`) specifies when the framework will open

the protocol from this component's outgoing directory when someone

requests the capability. See details on `DeliveryType`.

::std::optional< ::fuchsia_component_decl::DeliveryType> & delivery ()

(Optional, defaults to `EAGER`) specifies when the framework will open

the protocol from this component's outgoing directory when someone

requests the capability. See details on `DeliveryType`.

Protocol & delivery (std::optional< ::fuchsia_component_decl::DeliveryType> value)

(Optional, defaults to `EAGER`) specifies when the framework will open

the protocol from this component's outgoing directory when someone

requests the capability. See details on `DeliveryType`.

void Protocol (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits