template <>

class Server

Defined at line 297 of file fidling/gen/sdk/fidl/fuchsia.hardware.sensors/fuchsia.hardware.sensors/cpp/fidl/fuchsia.hardware.sensors/cpp/natural_messaging.h

Public Methods

void GetSensorsList (GetSensorsListCompleter::Sync & completer)

Retrieve the details of all the sensors managed by this driver.

void ActivateSensor (ActivateSensorRequest & request, ActivateSensorCompleter::Sync & completer)

Activate the specified sensor.

void DeactivateSensor (DeactivateSensorRequest & request, DeactivateSensorCompleter::Sync & completer)

Deactivate the specified sensor.

void ConfigureSensorRate (ConfigureSensorRateRequest & request, ConfigureSensorRateCompleter::Sync & completer)

Set the output rate for the specified sensor.

void Server ()

Defined at line 300 of file fidling/gen/sdk/fidl/fuchsia.hardware.sensors/fuchsia.hardware.sensors/cpp/fidl/fuchsia.hardware.sensors/cpp/natural_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 ~Server ()

Defined at line 301 of file fidling/gen/sdk/fidl/fuchsia.hardware.sensors/fuchsia.hardware.sensors/cpp/fidl/fuchsia.hardware.sensors/cpp/natural_messaging.h