Android-cuttlefish cvd tool
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer Class Reference
Inheritance diagram for cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer:
Collaboration graph
[legend]

Public Member Functions

 INJECT (WebRtcServer(const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance, StreamerSockets &sockets, KernelLogPipeProvider &log_pipe_provider, const CustomActionConfigProvider &custom_action_config, WebRtcController &webrtc_controller, AutoSensorsSocketPair::Type &sensors_socket_pair))
 
std::vector< std::string > Diagnostics () const override
 
Result< std::vector< MonitorCommand > > Commands () override
 
bool Enabled () const override
 
- Public Member Functions inherited from cuttlefish::CommandSource
virtual ~CommandSource ()=default
 
virtual Result< std::vector< MonitorCommand > > Commands ()=0
 
- Public Member Functions inherited from cuttlefish::SetupFeature
virtual ~SetupFeature ()
 
virtual bool Enabled () const
 
- Public Member Functions inherited from cuttlefish::Feature< SetupFeature >
virtual ~Feature ()=default
 
virtual std::string Name () const=0
 
- Public Member Functions inherited from cuttlefish::DiagnosticInformation
virtual ~DiagnosticInformation ()
 
virtual std::vector< std::string > Diagnostics () const =0
 

Private Member Functions

std::string Name () const override
 
std::unordered_set< SetupFeature * > Dependencies () const override
 
Result< void > ResultSetup () override
 

Private Attributes

const CuttlefishConfigconfig_
 
const CuttlefishConfig::InstanceSpecificinstance_
 
StreamerSocketssockets_
 
KernelLogPipeProviderlog_pipe_provider_
 
const CustomActionConfigProvidercustom_action_config_
 
WebRtcControllerwebrtc_controller_
 
SharedFD kernel_log_events_pipe_
 
SharedFD switches_server_
 
AutoSensorsSocketPair::Type & sensors_socket_pair_
 

Additional Inherited Members

- Static Public Member Functions inherited from cuttlefish::SetupFeature
static Result< void > RunSetup (const std::vector< SetupFeature * > &features)
 
- Static Public Member Functions inherited from cuttlefish::Feature< SetupFeature >
static Result< void > TopologicalVisit (const std::unordered_set< SetupFeature * > &features, const std::function< Result< void >(SetupFeature *)> &callback)
 
- Static Public Member Functions inherited from cuttlefish::DiagnosticInformation
static void PrintAll (const std::vector< DiagnosticInformation * > &)
 

Member Function Documentation

◆ Commands()

Result< std::vector< MonitorCommand > > cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::Commands ( )
inlineoverridevirtual

◆ Dependencies()

std::unordered_set< SetupFeature * > cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::Dependencies ( ) const
inlineoverrideprivatevirtual

◆ Diagnostics()

std::vector< std::string > cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::Diagnostics ( ) const
inlineoverridevirtual

◆ Enabled()

bool cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::Enabled ( ) const
inlineoverridevirtual

Reimplemented from cuttlefish::SetupFeature.

◆ INJECT()

cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::INJECT ( WebRtcServer(const CuttlefishConfig &config, const CuttlefishConfig::InstanceSpecific &instance, StreamerSockets &sockets, KernelLogPipeProvider &log_pipe_provider, const CustomActionConfigProvider &custom_action_config, WebRtcController &webrtc_controller, AutoSensorsSocketPair::Type &sensors_socket_pair)  )
inline

◆ Name()

std::string cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::Name ( ) const
inlineoverrideprivatevirtual

◆ ResultSetup()

Result< void > cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::ResultSetup ( )
inlineoverrideprivatevirtual

Member Data Documentation

◆ config_

const CuttlefishConfig& cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::config_
private

◆ custom_action_config_

const CustomActionConfigProvider& cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::custom_action_config_
private

◆ instance_

const CuttlefishConfig::InstanceSpecific& cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::instance_
private

◆ kernel_log_events_pipe_

SharedFD cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::kernel_log_events_pipe_
private

◆ log_pipe_provider_

KernelLogPipeProvider& cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::log_pipe_provider_
private

◆ sensors_socket_pair_

AutoSensorsSocketPair::Type& cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::sensors_socket_pair_
private

◆ sockets_

StreamerSockets& cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::sockets_
private

◆ switches_server_

SharedFD cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::switches_server_
private

◆ webrtc_controller_

WebRtcController& cuttlefish::anonymous_namespace{streamer.cpp}::WebRtcServer::webrtc_controller_
private

The documentation for this class was generated from the following file: