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

#include <commands.h>

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

Public Member Functions

 StreamControlCommand (AudioCommandType type, uint32_t stream_id)
 
uint32_t stream_id () const
 
void Reply (AudioStatus status)
 
- Public Member Functions inherited from cuttlefish::AudioCommand
virtual ~AudioCommand ()
 
AudioCommandType type () const
 
AudioStatus status () const
 

Private Attributes

const uint32_t stream_id_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ StreamControlCommand()

cuttlefish::StreamControlCommand::StreamControlCommand ( AudioCommandType  type,
uint32_t  stream_id 
)

Member Function Documentation

◆ Reply()

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

◆ stream_id()

uint32_t cuttlefish::StreamControlCommand::stream_id ( ) const
inline

Member Data Documentation

◆ stream_id_

const uint32_t cuttlefish::StreamControlCommand::stream_id_
private

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