STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
BoardListener.hpp File Reference
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>
#include <atomic>
#include <chrono>
#include <map>
#include <mutex>
#include <set>
#include <thread>
#include <vector>
#include "DiabloPacketUtils.h"
Include dependency graph for BoardListener.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  daqtest::Burst
 One received command burst: when it arrived (ms since the listener started) and what it said. More...
class  daqtest::BoardListener
 Collects UDP actuator packets, folding the 3x retransmit of one batch into a single burst. More...

Namespaces

namespace  daqtest
 A fake actuator board: binds the actuator command UDP port on loopback and records what was actually sent, and when.

Typedefs

using daqtest::Clock = std::chrono::steady_clock

Functions

long long daqtest::firstCommand (const std::vector< Burst > &bursts, uint8_t ch, uint8_t hw, long long after_ms=-1)
 When ch was first commanded to hw at or after after_ms.