Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
gfxstream::anonymous_namespace{subprocess.cpp}::ScopedCloser Class Reference

Public Member Functions

 ScopedCloser (std::function< void()> func)
 
 ~ScopedCloser ()
 
void Disable ()
 

Private Attributes

std::function< void()> mFunc
 
bool mEnabled = false
 

Constructor & Destructor Documentation

◆ ScopedCloser()

gfxstream::anonymous_namespace{subprocess.cpp}::ScopedCloser::ScopedCloser ( std::function< void()>  func)
inline

◆ ~ScopedCloser()

gfxstream::anonymous_namespace{subprocess.cpp}::ScopedCloser::~ScopedCloser ( )
inline

Member Function Documentation

◆ Disable()

void gfxstream::anonymous_namespace{subprocess.cpp}::ScopedCloser::Disable ( )
inline

Member Data Documentation

◆ mEnabled

bool gfxstream::anonymous_namespace{subprocess.cpp}::ScopedCloser::mEnabled = false
private

◆ mFunc

std::function<void()> gfxstream::anonymous_namespace{subprocess.cpp}::ScopedCloser::mFunc
private

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