mirror of
https://github.com/ajouatom/openpilot.git
synced 2026-06-08 11:04:57 +08:00
11 lines
220 B
C++
11 lines
220 B
C++
#include <vector>
|
|
#include "msgq/impl_fake.h"
|
|
|
|
void FakePoller::registerSocket(SubSocket *socket) {
|
|
this->sockets.push_back(socket);
|
|
}
|
|
|
|
std::vector<SubSocket*> FakePoller::poll(int timeout) {
|
|
return this->sockets;
|
|
}
|