STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
SequencerService.cpp File Reference
#include "control/SequencerService.hpp"
#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <poll.h>
#include <sys/socket.h>
#include <unistd.h>
#include <array>
#include <cerrno>
#include <chrono>
#include <cstring>
#include <fstream>
#include <iostream>
#include <sstream>
#include <thread>
#include "comms/CommsMessage.hpp"
#include "config/Config.hpp"
#include "config/LoadActiveBoards.hpp"
#include "elodin/DatabaseConfig.hpp"
#include "net/DaqInterface.hpp"
Include dependency graph for SequencerService.cpp:

Go to the source code of this file.

Namespaces

namespace  sequencer

Typedefs

using sequencer::SequencerStateMsg
using sequencer::StateTransitionMsg = comms::CommsMessage<uint64_t, uint8_t, uint8_t, uint8_t>

Functions

static uint64_t sequencer::now_ns ()
static std::string sequencer::readFile (const std::string &path)
static std::string sequencer::resolveDataPath (const std::string &rel)

Variables

static constexpr uint16_t sequencer::VTABLE_SEQUENCER_STATE = 0x5000
static constexpr uint16_t sequencer::VTABLE_STATE_TRANSITION = 0x4300
static constexpr int sequencer::kControllerConnectTimeoutMs = 300