Variable ska::pst::common::allowed_commands

Variable Documentation

static std::map<State, std::vector<Command>> ska::pst::common::allowed_commands{{Unknown, std::vector<Command>{Initialise}}, {Idle, std::vector<Command>{ConfigureBeam, Terminate}}, {BeamConfigured, std::vector<Command>{ConfigureScan, DeconfigureBeam}}, {ScanConfigured, std::vector<Command>{StartScan, DeconfigureScan}}, {Scanning, std::vector<Command>{StopScan}}, {RuntimeError, std::vector<Command>{Reset}},}

Mapping of the list of Commands that are valid for a specified state. If the state does not exist in this mapping, then it has no valid Command that can be applied to it.