Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::ControlCommand Class Reference

#include <commands.h>

Inheritance diagram for cuttlefish::ControlCommand:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::ControlCommand:
Collaboration graph
[legend]

Public Member Functions

 ControlCommand (AudioCommandType type, uint32_t control_id, virtio_snd_ctl_value *value)
 
uint32_t control_id () const
 
virtio_snd_ctl_valuevalue ()
 
void Reply (AudioStatus status)
 
- Public Member Functions inherited from cuttlefish::AudioCommand
virtual ~AudioCommand ()
 
AudioCommandType type () const
 
AudioStatus status () const
 

Private Attributes

const uint32_t control_id_
 
virtio_snd_ctl_valuevalue_
 

Additional Inherited Members

- Protected Member Functions inherited from cuttlefish::AudioCommand
 AudioCommand (AudioCommandType type)
 
void MarkReplied (AudioStatus status)
 

Constructor & Destructor Documentation

◆ ControlCommand()

cuttlefish::ControlCommand::ControlCommand ( AudioCommandType  type,
uint32_t  control_id,
virtio_snd_ctl_value value 
)

Member Function Documentation

◆ control_id()

uint32_t cuttlefish::ControlCommand::control_id ( ) const
inline

◆ Reply()

void cuttlefish::ControlCommand::Reply ( AudioStatus  status)

◆ value()

virtio_snd_ctl_value * cuttlefish::ControlCommand::value ( )
inline

Member Data Documentation

◆ control_id_

const uint32_t cuttlefish::ControlCommand::control_id_
private

◆ value_

virtio_snd_ctl_value* cuttlefish::ControlCommand::value_
private

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