Public Types | Public Member Functions | Private Attributes | List of all members
rosmon::FDWatcher Class Reference

#include <fd_watcher.h>

Public Types

typedef boost::shared_ptr< FDWatcherPtr
 

Public Member Functions

 FDWatcher ()
 
void registerFD (int fd, const boost::function< void(int)> &cb)
 
void removeFD (int fd)
 
void wait (const ros::WallDuration &duration)
 

Private Attributes

std::map< int, boost::function< void(int)> > m_fds
 

Detailed Description

Definition at line 16 of file fd_watcher.h.

Member Typedef Documentation

Definition at line 19 of file fd_watcher.h.

Constructor & Destructor Documentation

rosmon::FDWatcher::FDWatcher ( )

Definition at line 23 of file fd_watcher.cpp.

Member Function Documentation

void rosmon::FDWatcher::registerFD ( int  fd,
const boost::function< void(int)> &  cb 
)

Definition at line 27 of file fd_watcher.cpp.

void rosmon::FDWatcher::removeFD ( int  fd)

Definition at line 32 of file fd_watcher.cpp.

void rosmon::FDWatcher::wait ( const ros::WallDuration duration)

Definition at line 37 of file fd_watcher.cpp.

Member Data Documentation

std::map<int, boost::function<void(int)> > rosmon::FDWatcher::m_fds
private

Definition at line 28 of file fd_watcher.h.


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


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12