3 #ifndef GCP_ANTENNA_CONTROL_SCAN_H
4 #define GCP_ANTENNA_CONTROL_SCAN_H
15 #include "gcp/control/code/unix/libunix_src/common/scancache.h"
41 void initialize(std::string name,
unsigned ibody,
42 unsigned iend,
unsigned nreps,
unsigned seq,
43 unsigned msPerStep=1000,
unsigned msPerSample=1000,
46 void extend(
unsigned npt,
unsigned* index,
unsigned* flag,
47 int* azoff,
int* eloff);
49 void extend(
unsigned npt,
unsigned* index,
50 int* azoff,
int* eloff,
int* dkoff);
75 ScanMode& currentState() {
76 return current_.currentState;
79 ScanMode& nextState() {
80 return current_.nextState;
92 return current_.index;
95 unsigned char* name() {
99 void pack(
signed* s_elements);
101 void operator=(
Scan& scan);
102 void operator=(
const Scan& scan);
104 friend std::ostream& operator<<(std::ostream& os,
Scan& scan);
117 unsigned char name_[SCAN_LEN];
135 std::ostream& operator<<(std::ostream& os, Scan& scan);
143 #endif // End #ifndef GCP_ANTENNA_CONTROL_SCAN_H
virtual ~Scan()
Definition: Scan.cc:39
ScanCacheOffset & nextOffset(gcp::util::TimeVal &mjd)
Definition: Scan.cc:185
Definition: scancache.h:22
void reset()
Definition: Scan.cc:67
ScanCacheOffset & nextOffsetTimeJump(gcp::util::TimeVal &mjd)
Definition: Scan.cc:141
void initialize(std::string name, unsigned ibody, unsigned iend, unsigned nreps, unsigned seq, unsigned msPerStep=1000, unsigned msPerSample=1000, bool add=false)
Definition: Scan.cc:119
bool justFinished()
Definition: Scan.h:67
Definition: scancache.h:62
Scan()
Definition: Scan.cc:13
void setupForHalt()
Definition: Scan.cc:47
void extend(unsigned npt, unsigned *index, unsigned *flag, int *azoff, int *eloff)
Definition: Scan.cc:102