class AddressSpaceChildDriverPingMessage
Defined at line 218 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
Child driver protocol
By default, creating connection to the driver does not associate any child
driver with the connection.
The client opens a child driver via OpenChildDriver, giving the type of the
driver as an argument along with a request for the connection. The type of
the driver is a number and the number/drivertype mapping is
determined/maintained in:
https://android.googlesource.com/platform/external/qemu/+/refs/heads/emu-master-dev/android/android-emu/android/emulation/AddressSpaceService.h
In Fuchsia, we currently only support the DEFAULT type, which is used for
graphics.
After opening the child driver, the client and hardware communicate via a
child driver-specific protocol, with notifications driven by `Ping()`, each
of which writes and reads messages to the hardware that follow this
`AddressSpaceChildDriverPingMessage` struct.
Each child driver type will have its own semantics for each field.
It's common for child drivers to refer to offset/size plus a metadata field.
We also provide extra data fields for other use cases in particular child
drivers.
Public Methods
void AddressSpaceChildDriverPingMessage (uint64_t offset, uint64_t size, uint64_t metadata, uint64_t data0, uint64_t data1, uint32_t data2, uint32_t data3)
void AddressSpaceChildDriverPingMessage ()
Default constructs a |AddressSpaceChildDriverPingMessage| only if all of its members are default constructible.
Defined at line 228 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
void AddressSpaceChildDriverPingMessage (AddressSpaceChildDriverPingMessage && )
Defined at line 231 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
void AddressSpaceChildDriverPingMessage (Storage_ storage)
void AddressSpaceChildDriverPingMessage (const AddressSpaceChildDriverPingMessage & other)
AddressSpaceChildDriverPingMessage & operator= (const AddressSpaceChildDriverPingMessage & other)
bool operator== (const AddressSpaceChildDriverPingMessage & other)
bool operator!= (const AddressSpaceChildDriverPingMessage & other)
uint64_t offset ()
uint64_t & offset ()
AddressSpaceChildDriverPingMessage & offset (uint64_t value)
Setter for offset.
uint64_t size ()
uint64_t & size ()
AddressSpaceChildDriverPingMessage & size (uint64_t value)
Setter for size.
uint64_t metadata ()
uint64_t & metadata ()
AddressSpaceChildDriverPingMessage & metadata (uint64_t value)
Setter for metadata.
uint64_t data0 ()
uint64_t & data0 ()
AddressSpaceChildDriverPingMessage & data0 (uint64_t value)
Setter for data0.
uint64_t data1 ()
uint64_t & data1 ()
AddressSpaceChildDriverPingMessage & data1 (uint64_t value)
Setter for data1.
uint32_t data2 ()
uint32_t & data2 ()
AddressSpaceChildDriverPingMessage & data2 (uint32_t value)
Setter for data2.
uint32_t data3 ()
uint32_t & data3 ()
AddressSpaceChildDriverPingMessage & data3 (uint32_t value)
Setter for data3.
void AddressSpaceChildDriverPingMessage (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
AddressSpaceChildDriverPingMessage & operator= (AddressSpaceChildDriverPingMessage && )
Defined at line 232 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_types.h
Friends
class MemberVisitor
class NaturalStructCodingTraits