Fuchsia C++ API Reference

These are the reference pages for C header files (.h and .hpp) in Fuchsia.

async

Classes

async::Context
async::Executor
async::GuestBellTrap
async::GuestBellTrapBase
async::GuestBellTrapMethod
async::Irq
async::IrqBase
async::IrqMethod
async::Loop C++ wrapper for an asynchronous dispatch loop.
async::LoopInterface
async::PagedVmo
async::PagedVmoBase
async::PagedVmoMethod
async::Receiver
async::ReceiverBase
async::ReceiverMethod
async::SubloopToken
async::Task
async::TaskBase
async::TaskClosure
async::TaskClosureMethod
async::TaskMethod
async::TestLoop
async::Wait
async::WaitBase
async::WaitMethod
async::WaitOnce

Structs

async::DispatcherStub

async_patterns

Classes

async_patterns::Callback< ReturnType(Args...)>
async_patterns::DispatcherBound
async_patterns::Function< ReturnType(Args...)>
async_patterns::PendingCall
async_patterns::TaskScope
async_patterns::TestDispatcherBound

component

Classes

component::OutgoingDirectory

Structs

component::IsStructuredConfig
component::IsStructuredConfig< T, std::void_t< decltype(T::kIsStructuredConfig)> >

component_testing

Classes

component_testing::ConfigValue
component_testing::DirectoryContents
component_testing::LocalComponent
component_testing::LocalComponentHandles
component_testing::LocalComponentImpl
component_testing::Realm
component_testing::RealmBuilder
component_testing::RealmRoot
component_testing::ScopedChild

Structs

component_testing::BinaryContents
component_testing::ChildOptions
component_testing::ChildRef
component_testing::CollectionRef
component_testing::Config
component_testing::ConfigCapability
component_testing::Directory
component_testing::FrameworkRef
component_testing::ParentRef
component_testing::Protocol
component_testing::Route
component_testing::SelfRef
component_testing::Service
component_testing::Storage
component_testing::VoidRef

condition_impl_internal

Structs

condition_impl_internal::MutexOps
condition_impl_internal::Waiter

cpp17

Classes

cpp17::bad_optional_access
cpp17::bad_variant_access
cpp17::basic_string_view
cpp17::optional

Structs

cpp17::conjunction
cpp17::conjunction< First, Rest...>
cpp17::conjunction< T >
cpp17::disjunction
cpp17::disjunction< First, Rest...>
cpp17::disjunction< T >
cpp17::in_place_index_t
cpp17::in_place_t
cpp17::in_place_type_t
cpp17::invoke_result
cpp17::is_aggregate
cpp17::is_invocable
cpp17::is_invocable_r
cpp17::is_nothrow_invocable
cpp17::is_nothrow_invocable_r
cpp17::monostate
cpp17::negation
cpp17::nullopt_t
cpp17::variant_alternative
cpp17::variant_alternative< Index, variant< Ts...> >
cpp17::variant_size
cpp17::variant_size< const T >
cpp17::variant_size< const volatile T >
cpp17::variant_size< variant< Ts...> >
cpp17::variant_size< volatile T >

cpp20

Classes

cpp20::atomic_ref
cpp20::source_location

Structs

cpp20::remove_cvref
cpp20::type_identity

cpp20::atomic_internal

Classes

cpp20::atomic_internal::arithmetic_ops
cpp20::atomic_internal::arithmetic_ops< Derived, T, std::enable_if_t< cpp17::is_floating_point_v< T > > >
cpp20::atomic_internal::arithmetic_ops< Derived, T, std::enable_if_t< cpp17::is_integral_v< T >||(cpp17::is_pointer_v< T > &&!cpp17::is_volatile_v< T >)> >
cpp20::atomic_internal::atomic_ops
cpp20::atomic_internal::bitwise_ops
cpp20::atomic_internal::bitwise_ops< Derived, T, std::enable_if_t< cpp17::is_integral_v< T > > >

Structs

cpp20::atomic_internal::alignment
cpp20::atomic_internal::alignment< T, std::enable_if_t< cpp17::is_integral_v< T > > >
cpp20::atomic_internal::alignment< T, std::enable_if_t< cpp17::is_pointer_v< T >||cpp17::is_floating_point_v< T > > >
cpp20::atomic_internal::arithmetic_ops_helper
cpp20::atomic_internal::arithmetic_ops_helper< T * >

cpp23

Structs

cpp23::is_scoped_enum
cpp23::is_scoped_enum< T, std::enable_if_t< cpp17::is_enum_v< T > > >

driver_devfs

Classes

driver_devfs::Connector

fdf

Classes

fdf::Arena
fdf::Channel
fdf::Channel::ReadReturn
fdf::ChannelPair
fdf::ChannelRead
fdf::ChannelReadBase
fdf::Client
fdf::Dispatcher
fdf::Logger
fdf::Namespace
fdf::OutgoingDirectory
fdf::Protocol
fdf::ServerBinding
fdf::ServerBindingGroup
fdf::ServerBindingRef
fdf::SharedClient
fdf::SynchronizedDispatcher
fdf::SynchronizedDispatcher::Options
fdf::Unowned
fdf::UnsynchronizedDispatcher
fdf::UnsynchronizedDispatcher::Options
fdf::WireClient
fdf::WireSharedClient
fdf::WireSyncClient

Structs

fdf::Endpoints

fdf_env

Classes

fdf_env::DispatcherBuilder
fdf_env::DriverShutdown

fdf_internal

Classes

fdf_internal::DefaultDispatcherSetting
fdf_internal::TestDispatcherBuilder
fdf_internal::TestSynchronizedDispatcher

Structs

fdf_internal::EncoderState
fdf_internal::KeyValue
fdf_internal::LogValue
fdf_internal::Tuplet

fdf_testing

Classes

fdf_testing::DriverRuntime
fdf_testing::DriverRuntime::AsyncTask
fdf_testing::TestEnvironment

fidl

Classes

fidl::AnyArena
fidl::AnyTeardownObserver
fidl::Arena
fidl::ArenaBase
fidl::BaseWireResult< FidlMethod, std::enable_if_t< FidlMethod::kHasServerToClient &&!FidlMethod::kHasServerToClientBody, void > >
fidl::BaseWireResult< FidlMethod, std::enable_if_t< FidlMethod::kHasServerToClient &&FidlMethod::kHasServerToClientBody &&!MethodHasUnwrapAccessors< FidlMethod >(), void > >
fidl::BaseWireResult< FidlMethod, std::enable_if_t< FidlMethod::kHasServerToClient &&MethodHasUnwrapAccessors< FidlMethod >(), void > >
fidl::BaseWireResult< FidlMethod, std::enable_if_t >
fidl::Binding
fidl::BindingSet
fidl::BodyEncoder
fidl::Box
fidl::Client
fidl::CompleterBase
fidl::DecodedValue
fidl::Decoder
fidl::Decoder::EnvelopeUnknownDataInfoResult
fidl::EncodedMessage
fidl::Encoder
fidl::Envelope
fidl::ErrorsIn
fidl::EventSender
fidl::HLCPPIncomingBody
fidl::HLCPPIncomingMessage
fidl::HLCPPOutgoingBody
fidl::HLCPPOutgoingMessage
fidl::IncomingHeaderAndMessage
fidl::IncomingMessageBuffer
fidl::InterfaceHandle
fidl::InterfacePtr
fidl::InterfacePtr::Impl
fidl::InterfacePtrSet
fidl::InterfaceRequest
fidl::MemberConnector
fidl::MemoryResource
fidl::MessageEncoder
fidl::MessagePart
fidl::ObjectView
fidl::OneWayStatus
fidl::OutgoingMessage
fidl::OutgoingMessage::CopiedBytes
fidl::OutgoingMessage::InternalIovecConstructorArgs
fidl::OutgoingMessageBuffer
fidl::OutgoingToEncodedMessage
fidl::OwnedEncodeResult
fidl::ServerBinding
fidl::ServerBindingGroup
fidl::ServerBindingRef
fidl::ServiceConnector
fidl::ServiceHandlerBase
fidl::SharedClient
fidl::Status
fidl::StringPtr
fidl::StringView
fidl::SyncClient
fidl::Transaction
fidl::UnbindInfo
fidl::UnknownEventHandler
fidl::UnknownMethodHandler
fidl::VectorPtr
fidl::WireClient
fidl::WireFormatMetadata
fidl::WireResponseContext
fidl::WireSharedClient
fidl::WireSyncClient

Structs

fidl::Array
fidl::BufferSpan
fidl::CallOptions
fidl::ChannelMessageStorageView
fidl::CodingTraits
fidl::CodingTraits< bool >
fidl::CodingTraits< InterfaceHandle< T > >
fidl::CodingTraits< InterfaceRequest< T > >
fidl::CodingTraits< std::unique_ptr< T >, typename std::enable_if::value >::type >
fidl::CodingTraits< StringPtr >
fidl::CodingTraits< T, typename std::enable_if< IsPrimitive< T >::value >::type >
fidl::CodingTraits< VectorPtr< T > >
fidl::CodingTraits<::std::array< T, N > >
fidl::CodingTraits<::std::string >
fidl::CodingTraits<::std::vector< T > >
fidl::Completer
fidl::Completer::Async
fidl::Completer::Sync
fidl::ContainsHandle
fidl::ContainsHandle::type
fidl::ContainsHandle< Array< T, N > >
fidl::ContainsHandle< bool >
fidl::ContainsHandle< ClientEnd< Protocol > >
fidl::ContainsHandle< double >
fidl::ContainsHandle< float >
fidl::ContainsHandle< int16_t >
fidl::ContainsHandle< int32_t >
fidl::ContainsHandle< int64_t >
fidl::ContainsHandle< int8_t >
fidl::ContainsHandle< ServerEnd< Protocol > >
fidl::ContainsHandle< T, typename std::enable_if< IsFidlType< T >::value &&TypeTraits< T >::kMaxNumHandles==0 >::type >
fidl::ContainsHandle< uint16_t >
fidl::ContainsHandle< uint32_t >
fidl::ContainsHandle< uint64_t >
fidl::ContainsHandle< uint8_t >
fidl::ContainsHandle<::fdf::Channel >
fidl::ContainsHandle<::fdf::ClientEnd< T > >
fidl::ContainsHandle<::fdf::ServerEnd< T > >
fidl::DeprecatedCTypeTraits
fidl::EncodableCodingTraits
fidl::Endpoints
fidl::Equality
fidl::Equality< InterfaceHandle< T > >
fidl::Equality< InterfaceRequest< T > >
fidl::Equality< std::array< T, N > >
fidl::Equality< std::map< uint64_t, std::vector< uint8_t > > >
fidl::Equality< std::string >
fidl::Equality< std::unique_ptr< T > >
fidl::Equality< std::vector< T > >
fidl::Equality< StringPtr >
fidl::Equality< T, typename std::enable_if_t< std::is_floating_point< T >::value > >
fidl::Equality< T, typename std::enable_if_t< std::is_integral< T >::value > >
fidl::Equality< UnknownBytes >
fidl::Equality< VectorPtr< T > >
fidl::HandleInformation
fidl::HasPadding
fidl::IsFidlObject
fidl::IsFidlObject< T, typename std::enable_if< IsTable< T >::value||IsUnion< T >::value||IsStruct< T >::value >::type >
fidl::IsFidlTransactionalMessage
fidl::IsFidlType
fidl::IsFidlType< bool >
fidl::IsFidlType< const T >
fidl::IsFidlType< double >
fidl::IsFidlType< float >
fidl::IsFidlType< int16_t >
fidl::IsFidlType< int32_t >
fidl::IsFidlType< int64_t >
fidl::IsFidlType< int8_t >
fidl::IsFidlType< StringView >
fidl::IsFidlType< uint16_t >
fidl::IsFidlType< uint32_t >
fidl::IsFidlType< uint64_t >
fidl::IsFidlType< uint8_t >
fidl::IsFidlType< VectorView< E > >
fidl::IsFidlType< WireOptional< T > >
fidl::IsFidlUnion
fidl::IsFidlXUnion
fidl::IsMemcpyCompatible
fidl::IsMemcpyCompatible< int16_t >
fidl::IsMemcpyCompatible< int32_t >
fidl::IsMemcpyCompatible< int64_t >
fidl::IsMemcpyCompatible< int8_t >
fidl::IsMemcpyCompatible< std::array< T, N > >
fidl::IsMemcpyCompatible< uint16_t >
fidl::IsMemcpyCompatible< uint32_t >
fidl::IsMemcpyCompatible< uint64_t >
fidl::IsMemcpyCompatible< uint8_t >
fidl::IsPrimitive
fidl::IsPrimitive< bool >
fidl::IsPrimitive< double >
fidl::IsPrimitive< float >
fidl::IsPrimitive< int16_t >
fidl::IsPrimitive< int32_t >
fidl::IsPrimitive< int64_t >
fidl::IsPrimitive< int8_t >
fidl::IsPrimitive< uint16_t >
fidl::IsPrimitive< uint32_t >
fidl::IsPrimitive< uint64_t >
fidl::IsPrimitive< uint8_t >
fidl::IsProtocol
fidl::IsResource
fidl::IsResource< Array< T, N > >
fidl::IsResource< ClientEnd< Protocol > >
fidl::IsResource< ServerEnd< Protocol > >
fidl::IsResource< VectorView< E > >
fidl::IsResource< WireOptional< T > >
fidl::IsService
fidl::IsService< T, std::void_t< decltype(T::kIsService)> >
fidl::IsServiceMember
fidl::IsServiceMember< T, std::void_t< decltype(T::kIsServiceMember)> >
fidl::IsStdArray
fidl::IsStdArray< std::array< T, N > >
fidl::IsStdString
fidl::IsStdString< std::string >
fidl::IsStdVector
fidl::IsStdVector< std::vector< V, A > >
fidl::IsStringView
fidl::IsStringView< fidl::StringView, void >
fidl::IsStringView< T, typename std::enable_if< IsStringView< typename std::remove_const< T >::type >::value >::type >
fidl::IsStruct
fidl::IsStruct< MaybeConstStruct, typename std::enable_if< std::is_const< MaybeConstStruct >::value &&IsStruct< typename std::remove_const< MaybeConstStruct >::type >::value >::type >
fidl::IsTable
fidl::IsTable< MaybeConstTable, typename std::enable_if< std::is_const< MaybeConstTable >::value &&IsTable< typename std::remove_const< MaybeConstTable >::type >::value >::type >
fidl::IsUnion
fidl::IsUnion< MaybeConstUnion, typename std::enable_if< std::is_const< MaybeConstUnion >::value &&IsUnion< typename std::remove_const< MaybeConstUnion >::type >::value >::type >
fidl::IsUnion< WireOptional< T > >
fidl::IsVectorView
fidl::IsVectorView< T, typename std::enable_if< IsVectorView< typename std::remove_const< T >::type >::value >::type >
fidl::IsVectorView< VectorView< T >, void >
fidl::IsWire
fidl::MessageDynamicFlags
fidl::MutatingVisitorTrait
fidl::NonMutatingVisitorTrait
fidl::ReadOptions
fidl::TypeConverter
fidl::TypeConverter< fuchsia::media::TimelineFunction, media::TimelineFunction >
fidl::TypeConverter< media::TimelineFunction, fuchsia::media::TimelineFunction >
fidl::TypeTraits
fidl::TypeTraits< const T >
fidl::TypeTraits< WireOptional< T > >
fidl::UnknownBytes
fidl::UnknownEventMetadata
fidl::UnknownMethodMetadata
fidl::WireOptional
fidl::WireResponse
fidl::WireTableFrame
fidl::WriteOptions

fidl::internal_wavl

Structs

fidl::internal_wavl::ContainableBaseClasses
fidl::internal_wavl::DefaultKeyedObjectTraits
fidl::internal_wavl::DefaultObjectTag
fidl::internal_wavl::DefaultWAVLTreeTraits
fidl::internal_wavl::WAVLTreeContainable
fidl::internal_wavl::WAVLTreeNodeState
fidl::internal_wavl::WAVLTreeNodeState< PtrType, Options, int32_t >
fidl::internal_wavl::WAVLTreeNodeState< PtrType_, Options, DefaultWAVLTreeRankType >
fidl::internal_wavl::WAVLTreeNodeStateBase

fidl::internal_wavl::internal

Classes

fidl::internal_wavl::internal::SizeTracker< SizeOrder::Constant >
fidl::internal_wavl::internal::SizeTracker< SizeOrder::N >

Structs

fidl::internal_wavl::internal::CommonNodeStateBase
fidl::internal_wavl::internal::ContainableBaseClassEnumerator
fidl::internal_wavl::internal::ContainableBaseClassEnumerator< Containable< PtrType, Options, TagType >, Rest...>
fidl::internal_wavl::internal::ContainableBaseClassEnumerator<>
fidl::internal_wavl::internal::ContainerPtrTraits
fidl::internal_wavl::internal::ContainerPtrTraits< T * >
fidl::internal_wavl::internal::ContainerPtrTraits<::std::unique_ptr< T, Deleter > >
fidl::internal_wavl::internal::DirectEraseUtils
fidl::internal_wavl::internal::DirectEraseUtils< ContainerType, std::enable_if_t< ContainerType::SupportsConstantOrderErase==false, void > >
fidl::internal_wavl::internal::DirectEraseUtils< ContainerType, std::enable_if_t< ContainerType::SupportsConstantOrderErase==true, void > >
fidl::internal_wavl::internal::KeyEraseUtils
fidl::internal_wavl::internal::KeyEraseUtils< ContainerType, KeyTraits, std::enable_if_t< ContainerType::IsAssociative==false, void > >
fidl::internal_wavl::internal::KeyEraseUtils< ContainerType, KeyTraits, std::enable_if_t< ContainerType::IsAssociative==true, void > >

fidl::internal_wavl::tests::intrusive_containers

Structs

fidl::internal_wavl::tests::intrusive_containers::DefaultWAVLTreeObserver

fidl::ostream

Structs

fidl::ostream::Formatted
fidl::ostream::Formatter
fidl::ostream::Formatter< bool >
fidl::ostream::Formatter< fdf::Channel >
fidl::ostream::Formatter< fidl::Box< T > >
fidl::ostream::Formatter< int8_t >
fidl::ostream::Formatter< std::array< T, N > >
fidl::ostream::Formatter< std::optional< std::string > >
fidl::ostream::Formatter< std::optional< std::vector< T > > >
fidl::ostream::Formatter< std::optional< T > >
fidl::ostream::Formatter< std::string >
fidl::ostream::Formatter< std::vector< T > >
fidl::ostream::Formatter< T, std::enable_if_t< std::is_integral_v< T >||std::is_floating_point_v< T > > >
fidl::ostream::Formatter< uint8_t >

fidl::testing

fit

Classes

fit::callback_impl
fit::callback_impl< inline_target_size, require_inline, Result(Args...), Allocator >
fit::deferred_action
fit::function_impl
fit::function_impl< inline_target_size, require_inline, Result(Args...), Allocator >
fit::inline_any
fit::nullable
fit::nullable< T, true >
fit::pinned_inline_any
fit::result< E >
fit::result< E, T >
fit::success< T >
fit::success<>

Structs

fit::callable_traits
fit::callable_traits< ReturnType(*)(ArgTypes...)>
fit::callable_traits< ReturnType(ArgTypes...)>
fit::callable_traits< ReturnType(FunctorType::*)(ArgTypes...) const >
fit::callable_traits< ReturnType(FunctorType::*)(ArgTypes...)>
fit::failed
fit::is_callable
fit::is_callable< ReturnType(*)(ArgTypes...)>
fit::is_callable< ReturnType(FunctorType::*)(ArgTypes...)>
fit::is_callable< T, cpp17::void_t< decltype(&T::operator())> >
fit::is_comparable_with_null
fit::is_comparable_with_null< T, decltype(std::declval< const T & >()==nullptr)>
fit::is_nullable
fit::is_nullable< void >
fit::nonesuch
fit::parameter_pack

fpromise

Classes

fpromise::barrier
fpromise::bridge
fpromise::completer
fpromise::consumer
fpromise::context
fpromise::executor
fpromise::future_impl
fpromise::pending_task
fpromise::promise_impl
fpromise::result
fpromise::scope
fpromise::sequencer
fpromise::single_threaded_executor
fpromise::suspended_task
fpromise::suspended_task::resolver

Structs

fpromise::error_result
fpromise::error_result< void >
fpromise::ok_result
fpromise::ok_result< void >
fpromise::pending_result

fpromise::subtle

Classes

fpromise::subtle::scheduler

fuchsia_syslog

Classes

fuchsia_syslog::LogBuffer

input_report_reader

Classes

input_report_reader::InputReportReaderManager
input_report_reader::InputReportReaderManager::InputReportReader

inspect

Classes

inspect::BackingBuffer
inspect::ComponentInspector ComponentInspector is an instance of an Inspector that serves its Inspect data via the fuchsia.inspect.Tree protocol.
inspect::Hierarchy
inspect::Inspector
inspect::LazyNode
inspect::Link
inspect::LinkValue
inspect::Node
inspect::NodeHealth
inspect::NodeValue
inspect::Snapshot
inspect::Snapshot::Options
inspect::StringReference
inspect::TreeServer TreeServer is an implementation of the fuchsia.inspect.Tree protocol.
inspect::TreeServerSendPreference TreeServerSendPreference describes how the Inspect VMO should be served.
inspect::ValueList

Structs

inspect::InspectSettings
inspect::InspectStats
inspect::MissingValue
inspect::TreeHandlerSettings

libsync

Classes

libsync::Completion C++ wrapper for a completion object, |sync_completion_t|.

loop_fixture

Classes

loop_fixture::RealLoop

media

Classes

media::TimelineFunction
media::TimelineRate

scenic

Classes

scenic::FakeFlatland
scenic::FakeFlatland::BufferCollectionBinding
scenic::FakeFlatland::ChildViewWatcher
scenic::FakeFlatland::GraphBindings
scenic::FakeFlatland::ParentViewportWatcher
scenic::FakeFocuser
scenic::FakeMouseSource
scenic::FakeTouchSource
scenic::FakeViewRefFocused

Structs

scenic::FakeGraph
scenic::FakeImage
scenic::FakeTransform
scenic::FakeView
scenic::FakeViewport
scenic::ViewCreationTokenPair
scenic::ViewRefPair
scenic::ViewTokenPair

std

Structs

std::hash< cpp17::basic_string_view< CharT, std::char_traits< CharT > > >

sys

Classes

sys::ComponentContext
sys::ComponentInspector
sys::OutgoingDirectory
sys::ServiceAggregateBase
sys::ServiceDirectory
sys::ServiceHandler
sys::ServiceWatcher

Structs

sys::ServiceAggregate

sys::testing

Classes

sys::testing::ComponentContextProvider
sys::testing::ServiceDirectoryProvider

vfs

Classes

vfs::ComposedServiceDir
vfs::LazyDir
vfs::LazyDir::LazyEntry
vfs::PseudoDir
vfs::PseudoFile
vfs::RemoteDir
vfs::Service
vfs::VmoFile

zx

Classes

zx::basic_time
zx::bti
zx::channel
zx::clock
zx::clock::update_args
zx::debuglog
zx::duration
zx::event
zx::eventpair
zx::exception
zx::fifo
zx::guest
zx::interrupt
zx::iob
zx::iommu
zx::job
zx::msi
zx::object
zx::object_base
zx::pager
zx::pmt
zx::port
zx::process
zx::profile
zx::resource
zx::result< T >
zx::result<>
zx::socket
zx::stream
zx::suspend_token
zx::task
zx::thread
zx::ticks
zx::timer
zx::vcpu
zx::vmar
zx::vmo

Structs

zx::object_traits
zx::object_traits< channel >
zx::object_traits< eventpair >
zx::object_traits< exception >
zx::object_traits< fifo >
zx::object_traits< guest >
zx::object_traits< interrupt >
zx::object_traits< job >
zx::object_traits< log >
zx::object_traits< msi >
zx::object_traits< pmt >
zx::object_traits< port >
zx::object_traits< process >
zx::object_traits< resource >
zx::object_traits< socket >
zx::object_traits< thread >
zx::object_traits< vmar >