mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 12:02:09 +08:00
33d5cfc393
date: 2025-12-18T23:23:16 master commit: 3cdee7b54718ee14bd85befd6c5bad3d699c5479
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;
|
|
}
|