STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_fire_lifecycle.cpp File Reference
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>
#include <atomic>
#include <chrono>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <mutex>
#include <set>
#include <string>
#include <thread>
#include <vector>
#include "DiabloPacketUtils.h"
#include "control/ActuatorCommander.hpp"
#include "control/HoldTimer.hpp"
#include "control/StateMachine.hpp"
Include dependency graph for test_fire_lifecycle.cpp:

Go to the source code of this file.

Classes

struct  HoldSpec
 What one hold is: how long, and who to tell. More...
class  HoldTimer
 A cancellable hold of an exact length, and nothing else. More...

Enumerations

enum class  State
 System state IDs — must match the TypeScript SystemState enum in web-gui/shared/types.ts. More...

Functions

static void check (bool ok, const std::string &what)
int main ()

Variables

static int g_failures = 0

Enumeration Type Documentation

◆ State

enum class sequencer::State : uint8_t
strong

System state IDs — must match the TypeScript SystemState enum in web-gui/shared/types.ts.

Definition at line 14 of file StateMachine.hpp.

Function Documentation

◆ check()

void check ( bool ok,
const std::string & what )
static

Definition at line 49 of file test_fire_lifecycle.cpp.

References g_failures, and ok.

Referenced by main().

◆ main()

Variable Documentation

◆ g_failures

int g_failures = 0
static

Definition at line 47 of file test_fire_lifecycle.cpp.