mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-03 22:53:44 +08:00
db0642ec47
date: 2025-12-18T23:23:16 master commit: 154c2334110373950bac1c36fc6e943cb1208326
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;
|
|
}
|