class StreamCycler
Defined at line 24 of file ../../src/camera/bin/camera-gym/stream_cycler.h
This class is responsible for exercising the camera APIs to cycle between the various streams and
configurations reported by a camera.
Public Methods
void set_controller_dispatcher (async_dispatcher_t * dispatcher)
Defined at line 45 of file ../../src/camera/bin/camera-gym/stream_cycler.h
void set_auto_cycle_interval (std::optional<zx::duration> interval)
Defined at line 52 of file ../../src/camera/bin/camera-gym/stream_cycler.h
void ~StreamCycler ()
Defined at line 56 of file ../../src/camera/bin/camera-gym/stream_cycler.cc
fpromise::result<std::unique_ptr<StreamCycler>, zx_status_t> Create (fuchsia::camera3::DeviceWatcherHandlewatcher,fuchsia::sysmem2::AllocatorHandleallocator,async_dispatcher_t *dispatcher,boolmanual_mode)
Defined at line 58 of file ../../src/camera/bin/camera-gym/stream_cycler.cc
void SetHandlers (AddCollectionHandleron_add_collection,RemoveCollectionHandleron_remove_collection,ShowBufferHandleron_show_buffer,MuteStateHandleron_mute_changed)
Registers handlers that are called when the cycler adds or removes a buffer collection. The
value returned by |on_add_collection| will be subsequently passed to |on_remove_collection|.
Defined at line 81 of file ../../src/camera/bin/camera-gym/stream_cycler.cc
void ExecuteCommand (fuchsia::camera::gym::Command command, CommandStatusHandler handler)
Manual mode entry points:
Defined at line 362 of file ../../src/camera/bin/camera-gym/stream_cycler.cc
Friends
class StreamCyclerTest_CommandSuccessNotify_Test
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteSetCropCommand_Test
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteAddStreamCommand_Test
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteSetConfigCommand_DifferentConfig_Test
class StreamCyclerTest_ComplexConfiguration_ManualMode_ExecuteSetConfigCommand_SameConfig_Test
class StreamCyclerTest_ComplexConfiguration_ManualMode_WatchCurrentConfigurationCallback_Test
class StreamCyclerTest_SimpleConfiguration_ManualMode_ConnectToStream_Test
class CameraGymTest_PendingCollectionId_Test
class CameraGymStreamCyclerTest
class CameraGymTest