Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::cyber::io::PollHandler Class Reference

#include <poll_handler.h>

Collaboration diagram for apollo::cyber::io::PollHandler:
Collaboration graph

Public Member Functions

 PollHandler (int fd)
 
virtual ~PollHandler ()=default
 
bool Block (int timeout_ms, bool is_read)
 
bool Unblock ()
 
int fd () const
 
void set_fd (int fd)
 

Constructor & Destructor Documentation

◆ PollHandler()

apollo::cyber::io::PollHandler::PollHandler ( int  fd)
explicit

◆ ~PollHandler()

virtual apollo::cyber::io::PollHandler::~PollHandler ( )
virtualdefault

Member Function Documentation

◆ Block()

bool apollo::cyber::io::PollHandler::Block ( int  timeout_ms,
bool  is_read 
)

◆ fd()

int apollo::cyber::io::PollHandler::fd ( ) const
inline

◆ set_fd()

void apollo::cyber::io::PollHandler::set_fd ( int  fd)
inline

◆ Unblock()

bool apollo::cyber::io::PollHandler::Unblock ( )

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