|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Collects UDP actuator packets, folding the 3x retransmit of one batch into a single burst. More...
#include <BoardListener.hpp>
Public Member Functions | |
| BoardListener (uint16_t port) | |
| ~BoardListener () | |
| bool | start () |
| void | stop () |
| std::vector< Burst > | bursts () const |
Private Member Functions | |
| void | run () |
Private Attributes | |
| uint16_t | port_ |
| int | sock_ = -1 |
| std::atomic< bool > | running_ {false} |
| std::thread | thread_ |
| std::mutex | mutex_ |
| std::vector< Burst > | bursts_ |
| Clock::time_point | t0_ |
Collects UDP actuator packets, folding the 3x retransmit of one batch into a single burst.
Definition at line 43 of file BoardListener.hpp.
|
inlineexplicit |
Definition at line 45 of file BoardListener.hpp.
|
inline |
Definition at line 47 of file BoardListener.hpp.
References stop().
|
inline |
Definition at line 87 of file BoardListener.hpp.
References bursts_, lk, and mutex_.
Referenced by attemptEntry(), and main().
|
inlineprivate |
|
inline |
Definition at line 51 of file BoardListener.hpp.
References port_, run(), running_, sock_, t0_, and thread_.
Referenced by attemptEntry(), and main().
|
inline |
Definition at line 76 of file BoardListener.hpp.
References running_, sock_, and thread_.
Referenced by attemptEntry(), main(), and ~BoardListener().
|
private |
Definition at line 128 of file BoardListener.hpp.
|
mutableprivate |
Definition at line 127 of file BoardListener.hpp.
|
private |
Definition at line 123 of file BoardListener.hpp.
Referenced by BoardListener(), and start().
|
private |
Definition at line 125 of file BoardListener.hpp.
|
private |
Definition at line 124 of file BoardListener.hpp.
|
private |
Definition at line 129 of file BoardListener.hpp.
|
private |
Definition at line 126 of file BoardListener.hpp.