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

#include <shared_select.h>

Public Types

typedef std::set< SharedFD >::iterator iterator
 
typedef std::set< SharedFD >::const_iterator const_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void swap (SharedFDSet *rhs)
 
void Clr (const SharedFD &in)
 
bool IsSet (const SharedFD &in) const
 
void Set (const SharedFD &in)
 
void Zero ()
 

Private Attributes

std::set< SharedFDvalue_
 

Detailed Description

The SharedFD version of fdset for the Select call.

There are two types of methods. STL inspired methods and types use all_lowercase_underscore notation.

Methods that are inspired by POSIX Use UpperCamelCase.

Assume that any mutation invalidates all iterators.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Member Function Documentation

◆ begin() [1/2]

iterator cuttlefish::SharedFDSet::begin ( )
inline

◆ begin() [2/2]

const_iterator cuttlefish::SharedFDSet::begin ( ) const
inline

◆ Clr()

void cuttlefish::SharedFDSet::Clr ( const SharedFD in)
inline

◆ end() [1/2]

iterator cuttlefish::SharedFDSet::end ( )
inline

◆ end() [2/2]

const_iterator cuttlefish::SharedFDSet::end ( ) const
inline

◆ IsSet()

bool cuttlefish::SharedFDSet::IsSet ( const SharedFD in) const
inline

◆ Set()

void cuttlefish::SharedFDSet::Set ( const SharedFD in)
inline

◆ swap()

void cuttlefish::SharedFDSet::swap ( SharedFDSet rhs)
inline

◆ Zero()

void cuttlefish::SharedFDSet::Zero ( )
inline

Member Data Documentation

◆ value_

std::set<SharedFD> cuttlefish::SharedFDSet::value_
private

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