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

#include <host_renderer.h>

Public Member Functions

 TeeUiFrameWrapper (const int w, const int h, const teeui::Color color)
 
 TeeUiFrameWrapper ()=delete
 
auto data ()
 
int Width () const
 
int Height () const
 
bool IsEmpty () const
 
auto Size () const
 
auto & operator[] (const int idx)
 
std::uint32_t ScreenStrideBytes () const
 

Static Private Member Functions

static std::uint32_t ScreenSizeInBytes (const int w, const int h)
 

Private Attributes

int w_
 
int h_
 
TeeUiFrame teeui_frame_
 

Constructor & Destructor Documentation

◆ TeeUiFrameWrapper() [1/2]

cuttlefish::confui::TeeUiFrameWrapper::TeeUiFrameWrapper ( const int  w,
const int  h,
const teeui::Color  color 
)
inline

◆ TeeUiFrameWrapper() [2/2]

cuttlefish::confui::TeeUiFrameWrapper::TeeUiFrameWrapper ( )
delete

Member Function Documentation

◆ data()

auto cuttlefish::confui::TeeUiFrameWrapper::data ( )
inline

◆ Height()

int cuttlefish::confui::TeeUiFrameWrapper::Height ( ) const
inline

◆ IsEmpty()

bool cuttlefish::confui::TeeUiFrameWrapper::IsEmpty ( ) const
inline

◆ operator[]()

auto & cuttlefish::confui::TeeUiFrameWrapper::operator[] ( const int  idx)
inline

◆ ScreenSizeInBytes()

static std::uint32_t cuttlefish::confui::TeeUiFrameWrapper::ScreenSizeInBytes ( const int  w,
const int  h 
)
inlinestaticprivate

◆ ScreenStrideBytes()

std::uint32_t cuttlefish::confui::TeeUiFrameWrapper::ScreenStrideBytes ( ) const
inline

◆ Size()

auto cuttlefish::confui::TeeUiFrameWrapper::Size ( ) const
inline

◆ Width()

int cuttlefish::confui::TeeUiFrameWrapper::Width ( ) const
inline

Member Data Documentation

◆ h_

int cuttlefish::confui::TeeUiFrameWrapper::h_
private

◆ teeui_frame_

TeeUiFrame cuttlefish::confui::TeeUiFrameWrapper::teeui_frame_
private

◆ w_

int cuttlefish::confui::TeeUiFrameWrapper::w_
private

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