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

#include <secure_input.h>

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

Public Member Functions

 ConfUiSecureUserTouchMessage (std::unique_ptr< ConfUiUserTouchMessage > &&msg, const bool secure)
 
virtual ~ConfUiSecureUserTouchMessage ()=default
 
std::string ToString () const override
 
ConfUiCmd GetType () const override
 
auto GetResponse () const
 
bool SendOver (SharedFD fd) override
 
std::pair< int, int > GetLocation () const
 
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< ConfUiUserTouchMessagemsg_
 
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

◆ ConfUiSecureUserTouchMessage()

cuttlefish::confui::ConfUiSecureUserTouchMessage::ConfUiSecureUserTouchMessage ( std::unique_ptr< ConfUiUserTouchMessage > &&  msg,
const bool  secure 
)

◆ ~ConfUiSecureUserTouchMessage()

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

Member Function Documentation

◆ GetLocation()

std::pair< int, int > cuttlefish::confui::ConfUiSecureUserTouchMessage::GetLocation ( ) const
inline

◆ GetResponse()

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

◆ GetType()

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

◆ IsSecure()

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

◆ SendOver()

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

◆ ToString()

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

Member Data Documentation

◆ is_secure_

bool cuttlefish::confui::ConfUiSecureUserTouchMessage::is_secure_
private

◆ msg_

std::unique_ptr<ConfUiUserTouchMessage> cuttlefish::confui::ConfUiSecureUserTouchMessage::msg_
private

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