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

#include <sysdeps.h>

Public Member Functions

constexpr Process (pid_t pid)
 
constexpr Process (Process &&other)
 
constexpr operator bool () const
 
void wait ()
 
void kill ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (Process)
 

Private Attributes

pid_t pid_
 

Constructor & Destructor Documentation

◆ Process() [1/2]

constexpr Process::Process ( pid_t  pid)
inlineexplicitconstexpr

◆ Process() [2/2]

constexpr Process::Process ( Process &&  other)
inlineconstexpr

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

Process::DISALLOW_COPY_AND_ASSIGN ( Process  )
private

◆ kill()

void Process::kill ( )
inline

◆ operator bool()

constexpr Process::operator bool ( ) const
inlineexplicitconstexpr

◆ wait()

void Process::wait ( )
inline

Member Data Documentation

◆ pid_

pid_t Process::pid_
private

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