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

#include <poll_callback.h>

Public Member Functions

void Add (int fd, std::function< absl::Status(short)> cb)
 
absl::Status Poll ()
 

Private Attributes

std::vector< pollfd > pollfds_
 
std::vector< std::function< absl::Status(short)> > callbacks_
 

Member Function Documentation

◆ Add()

void cuttlefish::process_sandboxer::PollCallback::Add ( int  fd,
std::function< absl::Status(short)>  cb 
)

◆ Poll()

absl::Status cuttlefish::process_sandboxer::PollCallback::Poll ( )

Member Data Documentation

◆ callbacks_

std::vector<std::function<absl::Status(short)> > cuttlefish::process_sandboxer::PollCallback::callbacks_
private

◆ pollfds_

std::vector<pollfd> cuttlefish::process_sandboxer::PollCallback::pollfds_
private

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