class DispatcherFactory

Defined at line 21 of file ../../src/media/lib/codec_impl/dispatcher.h

For this class we don't need an abstract base interface since neither impl has

any data.

Public Methods

std::unique_ptr<Dispatcher> Create (const char * name, std::string_view scheduler_role)

The name is for naming the async::Loop thread or fdf::Dispatcher. For now,

name is expected to be a static string.

This can fail, in which case the returned unique_ptr

<

> will hold nullptr.

Passing {} for scheduler_role skips attempting to set a scheduler role.

Defined at line 77 of file ../../src/media/lib/codec_impl/dispatcher_via_async_loop.cc