class FactoryServer
Defined at line 24 of file ../../src/camera/bin/factory/factory_server.h
The server-side implementation for the factory API. It maintains connections to scenic,
camera3 and other services via other classes as needed.
More specifically, it acts as a stream client and serves as the middle layer between calls
from the factory host and several layers in the camera stack.
Public Methods
void FactoryServer ()
Defined at line 18 of file ../../src/camera/bin/factory/factory_server.cc
void ~FactoryServer ()
Defined at line 21 of file ../../src/camera/bin/factory/factory_server.cc
fpromise::result<std::unique_ptr<FactoryServer>, zx_status_t> Create (fuchsia::sysmem2::AllocatorHandle allocator, fuchsia::camera3::DeviceWatcherHandle watcher, fit::closure stop_callback)
Factory method that creates a FactoryServer and connects it to the Camera Manager and ISP
driver.
Returns:
A FactoryServer object which provides an interface to the factory API.
Defined at line 29 of file ../../src/camera/bin/factory/factory_server.cc
fidl::InterfaceRequestHandler<fuchsia::factory::camera::Controller> GetHandler ()
Returns the class request handler.
Defined at line 64 of file ../../src/camera/bin/factory/factory_server.cc
void Capture ()
Defined at line 78 of file ../../src/camera/bin/factory/factory_server.cc