1 #ifndef PHASE_INTERFACE_H
2 #define PHASE_INTERFACE_H
34 virtual bool Peek(
bool =
false) = 0;
35 typedef std::vector<unsigned> DbIds;
Abstract interface to RF cavity phasing.
Definition: phaseInterface.h:16
virtual void PostProgress(unsigned, const std::string &)=0
Post progress of an activity to clients.
virtual std::vector< std::string > GetCavityNames(void)=0
Get the names of eligible RF cavities.
virtual void SkipCavity(Session &)=0
Skip the current cavity in the RF phasing job.
virtual void ResumeJob(Session &)=0
Resume execution of the RF phasing job.
virtual void ApplyCorrections(Session &, const DbIds *)=0
Request phase corrections be applied.
virtual bool Peek(bool=false)=0
Peek for client commands during phasing.
virtual void GetState(Session &)=0
Get the current state of the server.
virtual void StopJob(Session &)=0
Destroy any existing RF phasing job.
virtual void PauseJob(Session &)=0
Pause execution of the RF phasing job.
virtual void SetJob(Session &, PhaseJob *)=0
Set a new RF phasing job.
A job for processing RF cavities.
Definition: phaseJob.h:17
Manage one connection session with a client.
Definition: session.h:23