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

#include <secure_input.h>

Inheritance diagram for cuttlefish::confui::ConfUiSecureUserSelectionMessage:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::confui::ConfUiSecureUserSelectionMessage:
Collaboration graph
[legend]

Public Member Functions

 ConfUiSecureUserSelectionMessage (std::unique_ptr< ConfUiUserSelectionMessage > &&msg, const bool secure)
 
 ConfUiSecureUserSelectionMessage ()=delete
 
virtual ~ConfUiSecureUserSelectionMessage ()=default
 
std::string ToString () const override
 
ConfUiCmd GetType () const override
 
auto GetResponse () const
 
bool SendOver (SharedFD fd) override
 
bool IsSecure () const
 
- Public Member Functions inherited from cuttlefish::confui::ConfUiMessage
 ConfUiMessage (const std::string &session_id)
 
virtual ~ConfUiMessage ()=default
 
virtual std::string ToString () const =0
 
void SetSessionId (const std::string session_id)
 
std::string GetSessionId () const
 
virtual ConfUiCmd GetType () const =0
 
virtual bool SendOver (SharedFD fd)=0
 
bool IsUserInput () const
 

Private Attributes

std::unique_ptr< ConfUiUserSelectionMessagemsg_
 
bool is_secure_
 

Additional Inherited Members

- Static Protected Member Functions inherited from cuttlefish::confui::ConfUiMessage
template<typename... Args>
static std::string CreateString (Args &&... args)
 
template<typename... Args>
static bool Send_ (SharedFD fd, const ConfUiCmd cmd, const std::string &session_id, Args &&... args)
 
- Protected Attributes inherited from cuttlefish::confui::ConfUiMessage
std::string session_id_
 

Constructor & Destructor Documentation

◆ ConfUiSecureUserSelectionMessage() [1/2]

cuttlefish::confui::ConfUiSecureUserSelectionMessage::ConfUiSecureUserSelectionMessage ( std::unique_ptr< ConfUiUserSelectionMessage > &&  msg,
const bool  secure 
)

◆ ConfUiSecureUserSelectionMessage() [2/2]

cuttlefish::confui::ConfUiSecureUserSelectionMessage::ConfUiSecureUserSelectionMessage ( )
delete

◆ ~ConfUiSecureUserSelectionMessage()

virtual cuttlefish::confui::ConfUiSecureUserSelectionMessage::~ConfUiSecureUserSelectionMessage ( )
virtualdefault

Member Function Documentation

◆ GetResponse()

auto cuttlefish::confui::ConfUiSecureUserSelectionMessage::GetResponse ( ) const
inline

◆ GetType()

ConfUiCmd cuttlefish::confui::ConfUiSecureUserSelectionMessage::GetType ( ) const
inlineoverridevirtual

◆ IsSecure()

bool cuttlefish::confui::ConfUiSecureUserSelectionMessage::IsSecure ( ) const
inline

◆ SendOver()

bool cuttlefish::confui::ConfUiSecureUserSelectionMessage::SendOver ( SharedFD  fd)
inlineoverridevirtual

◆ ToString()

std::string cuttlefish::confui::ConfUiSecureUserSelectionMessage::ToString ( ) const
inlineoverridevirtual

Member Data Documentation

◆ is_secure_

bool cuttlefish::confui::ConfUiSecureUserSelectionMessage::is_secure_
private

◆ msg_

std::unique_ptr<ConfUiUserSelectionMessage> cuttlefish::confui::ConfUiSecureUserSelectionMessage::msg_
private

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