My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::antenna::control::Scan Class Reference

Public Member Functions

 Scan ()
 
 Scan (Scan &scan)
 
 Scan (const Scan &scan)
 
virtual ~Scan ()
 
void setupForHalt ()
 
void resetName ()
 
void reset ()
 
void initialize (std::string name, unsigned ibody, unsigned iend, unsigned nreps, unsigned seq, unsigned msPerStep=1000, unsigned msPerSample=1000, bool add=false)
 
void extend (unsigned npt, unsigned *index, unsigned *flag, int *azoff, int *eloff)
 
void extend (unsigned npt, unsigned *index, int *azoff, int *eloff, int *dkoff)
 
unsigned rep ()
 
unsigned nextRep ()
 
ScanCacheOffsetnextOffset (gcp::util::TimeVal &mjd)
 
ScanCacheOffsetnextOffsetTimeJump (gcp::util::TimeVal &mjd)
 
bool justFinished ()
 
unsigned & lastReq ()
 
ScanMode & currentState ()
 
ScanMode & nextState ()
 
bool add ()
 
unsigned flag ()
 
unsigned index ()
 
unsigned char * name ()
 
void pack (signed *s_elements)
 
void operator= (Scan &scan)
 
void operator= (const Scan &scan)
 

Public Attributes

bool checkLastMjd_
 
gcp::util::TimeVal mjdLast_
 
gcp::util::TimeVal mjdDiff_
 
bool initialized_
 
unsigned char name_ [SCAN_LEN]
 
ScanCache offsets_
 
ScanCacheOffset current_
 
unsigned lastReq_
 
unsigned lastAck_
 
bool justFinished_
 
bool add_
 

Friends

std::ostream & operator<< (std::ostream &os, Scan &scan)
 

Constructor & Destructor Documentation

Scan::Scan ( )

Constructors

....................................................................... Constructor.

Scan::Scan ( const Scan scan)

....................................................................... Constructor.

Scan::~Scan ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

void Scan::extend ( unsigned  npt,
unsigned *  index,
unsigned *  flag,
int *  azoff,
int *  eloff 
)

....................................................................... Extend the ephemeris for a scan

void Scan::extend ( unsigned  npt,
unsigned *  index,
int *  azoff,
int *  eloff,
int *  dkoff 
)

....................................................................... Extend the ephemeris for a scan

void Scan::initialize ( std::string  name,
unsigned  ibody,
unsigned  iend,
unsigned  nreps,
unsigned  seq,
unsigned  msPerStep = 1000,
unsigned  msPerSample = 1000,
bool  add = false 
)

....................................................................... Reinitialize the scan cache

bool gcp::antenna::control::Scan::justFinished ( )
inline

Return true if the scan finished on the last call to nextOffset()

ScanCacheOffset & Scan::nextOffset ( gcp::util::TimeVal mjd)

....................................................................... Get the next set of offsets from the scan cache

ScanCacheOffset & Scan::nextOffsetTimeJump ( gcp::util::TimeVal mjd)

....................................................................... Get the next set of offsets from the scan cache

void Scan::reset ( )

....................................................................... Re/initialize the scan container

void Scan::setupForHalt ( )

....................................................................... Setup for halt


The documentation for this class was generated from the following files: