#include <scheduler.hh>
Public Member Functions | |
| PollData (int fd, short events) | |
| bool | active () const |
| bool | operator< (const PollData &rhs) const |
Static Public Member Functions | |
| template<class C, class A> | |
| static void | poll (std::multiset< IOEvent *, C, A > &s, int timeout=-1) |
Public Attributes | |
| ::pollfd | pfd |
Static Private Member Functions | |
| static int | priority (const ::pollfd &ufd) |
| olsr::sch::internal::PollData::PollData | ( | int | fd, | |
| short | events | |||
| ) | [inline] |
References pfd.
| bool olsr::sch::internal::PollData::active | ( | ) | const [inline] |
| bool olsr::sch::internal::PollData::operator< | ( | const PollData & | rhs | ) | const [inline] |
References active(), pfd, and priority().
| void olsr::sch::internal::PollData::poll | ( | std::multiset< IOEvent *, C, A > & | s, | |
| int | timeout = -1 | |||
| ) | [inline, static] |
References olsr::error, olsr::sch::PollEvent_< P >::p(), and pfd.
| static int olsr::sch::internal::PollData::priority | ( | const ::pollfd & | ufd | ) | [inline, static, private] |
Referenced by operator<().
| ::pollfd olsr::sch::internal::PollData::pfd |
Referenced by active(), operator<(), poll(), and PollData().
1.5.6