#include <gtest/gtest.h>#include "ros/poll_set.h"#include <sys/socket.h>#include <fcntl.h>#include <boost/bind.hpp>#include <boost/thread.hpp>
Go to the source code of this file.
Classes | |
| class | Poller |
| class | SocketHelper |
Functions | |
| void | addDelManyTimesThread (PollSet *ps, SocketHelper *sh1, SocketHelper *sh2, boost::barrier *barrier, int count, volatile bool *done) |
| void | addThread (PollSet *ps, SocketHelper *sh, boost::barrier *barrier) |
| void | delThread (PollSet *ps, SocketHelper *sh, boost::barrier *barrier) |
| int | main (int argc, char **argv) |
| TEST_F (Poller, signal) | |
| TEST_F (Poller, updateWhileAddDel) | |
| TEST_F (Poller, addDelMultiThread) | |
| TEST_F (Poller, multiAddDel) | |
| TEST_F (Poller, readAndWrite) | |
| TEST_F (Poller, write) | |
| TEST_F (Poller, read) | |
| void addDelManyTimesThread | ( | PollSet * | ps, | |
| SocketHelper * | sh1, | |||
| SocketHelper * | sh2, | |||
| boost::barrier * | barrier, | |||
| int | count, | |||
| volatile bool * | done | |||
| ) |
Definition at line 321 of file test_poll_set.cpp.
| void addThread | ( | PollSet * | ps, | |
| SocketHelper * | sh, | |||
| boost::barrier * | barrier | |||
| ) |
Definition at line 241 of file test_poll_set.cpp.
| void delThread | ( | PollSet * | ps, | |
| SocketHelper * | sh, | |||
| boost::barrier * | barrier | |||
| ) |
Definition at line 250 of file test_poll_set.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 385 of file test_poll_set.cpp.
| TEST_F | ( | Poller | , | |
| signal | ||||
| ) |
Definition at line 375 of file test_poll_set.cpp.
| TEST_F | ( | Poller | , | |
| updateWhileAddDel | ||||
| ) |
Definition at line 351 of file test_poll_set.cpp.
| TEST_F | ( | Poller | , | |
| addDelMultiThread | ||||
| ) |
Definition at line 259 of file test_poll_set.cpp.
| TEST_F | ( | Poller | , | |
| multiAddDel | ||||
| ) |
Definition at line 225 of file test_poll_set.cpp.
| TEST_F | ( | Poller | , | |
| readAndWrite | ||||
| ) |
Definition at line 187 of file test_poll_set.cpp.
| TEST_F | ( | Poller | , | |
| write | ||||
| ) |
Definition at line 170 of file test_poll_set.cpp.
| TEST_F | ( | Poller | , | |
| read | ||||
| ) |
Definition at line 136 of file test_poll_set.cpp.