template <>
class WireServer
Defined at line 825 of file fidling/gen/sdk/fidl/fuchsia.camera2.hal/fuchsia.camera2.hal/cpp/fidl/fuchsia.camera2.hal/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_camera2_hal::Controller>|
and |::fidl::ServerEnd
<
::fuchsia_camera2_hal::Controller>|).
Public Methods
void GetNextConfig (GetNextConfigCompleter::Sync & completer)
Returns the next available configuration which the camera driver supports.
Returns ZX_ERR_STOP if no new configurations are available.
void CreateStream (::fuchsia_camera2_hal::wire::ControllerCreateStreamRequest * request, CreateStreamCompleter::Sync & completer)
Set a particular configuration and create the requested stream.
`config_index` : Configuration index from the vector which needs to be applied.
`stream_index` : Stream index from the vector of streams provided within a config.
`stream` : Stream channel for the stream requested
`image_format_index` : Image format index which needs to be set up upon creation.
If there is already an active configuration which is different than the one
which is requested to be set, then the HAL will be closing all existing streams
and honor this new setup call.
If the new stream requested is already part of the existing running configuration
the HAL will just be creating this new stream while the other stream still exists as is.
void EnableStreaming (EnableStreamingCompleter::Sync & completer)
Enable/Disable Streaming
void DisableStreaming (DisableStreamingCompleter::Sync & completer)
void GetDeviceInfo (GetDeviceInfoCompleter::Sync & completer)
void WireServer ()
Defined at line 828 of file fidling/gen/sdk/fidl/fuchsia.camera2.hal/fuchsia.camera2.hal/cpp/fidl/fuchsia.camera2.hal/cpp/wire_messaging.h
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~WireServer ()
Defined at line 829 of file fidling/gen/sdk/fidl/fuchsia.camera2.hal/fuchsia.camera2.hal/cpp/fidl/fuchsia.camera2.hal/cpp/wire_messaging.h