casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
casa::vi::PointingDirectionCache Class Reference

#include <PointingDirectionCache.h>

Public Member Functions

 PointingDirectionCache (int nAntennas, const PointingSource &pointingSource)
 
 ~PointingDirectionCache ()
 
std::pair< bool,
casacore::MDirection
getPointingDirection (int antennaId, double time, const casacore::MDirection &phaseCenter) const
 

Protected Member Functions

void fillCache (int antenna, double time, bool flushAndRewind) const
 
const PointingSourcegetPointingSource () const
 
bool noDataForAntenna (int antenna, double time) const
 

Private Attributes

pd_cache::AntennaLevelCache antennaLevelCache_p
 
std::vector< double > antennaEarliestTime_p
 
int lastRowRead_p
 
int nFallbacks_p
 
int nHits_p
 
bool pointingEofReached_p
 
const PointingSourcepointingSource_p
 

Static Private Attributes

static const int MaxTimeEntries
 These constants control the cache sizing. More...
 
static const int MinTimeEntries
 

Friends

class pd_cache::AntennaLevelCache
 

Detailed Description

Definition at line 186 of file PointingDirectionCache.h.

Constructor & Destructor Documentation

casa::vi::PointingDirectionCache::PointingDirectionCache ( int  nAntennas,
const PointingSource pointingSource 
)
casa::vi::PointingDirectionCache::~PointingDirectionCache ( )

Member Function Documentation

void casa::vi::PointingDirectionCache::fillCache ( int  antenna,
double  time,
bool  flushAndRewind 
) const
protected
std::pair<bool, casacore::MDirection> casa::vi::PointingDirectionCache::getPointingDirection ( int  antennaId,
double  time,
const casacore::MDirection phaseCenter 
) const
const PointingSource* casa::vi::PointingDirectionCache::getPointingSource ( ) const
protected
bool casa::vi::PointingDirectionCache::noDataForAntenna ( int  antenna,
double  time 
) const
protected

Friends And Related Function Documentation

friend class pd_cache::AntennaLevelCache
friend

Definition at line 198 of file PointingDirectionCache.h.

Member Data Documentation

std::vector<double> casa::vi::PointingDirectionCache::antennaEarliestTime_p
mutableprivate

Definition at line 207 of file PointingDirectionCache.h.

pd_cache::AntennaLevelCache casa::vi::PointingDirectionCache::antennaLevelCache_p
mutableprivate

Definition at line 206 of file PointingDirectionCache.h.

int casa::vi::PointingDirectionCache::lastRowRead_p
mutableprivate

Definition at line 208 of file PointingDirectionCache.h.

const int casa::vi::PointingDirectionCache::MaxTimeEntries
staticprivate

These constants control the cache sizing.

The max value specifies how many entries can be cached. The min entry controls how many are kept when the cache size exceeds the max value.

Definition at line 218 of file PointingDirectionCache.h.

const int casa::vi::PointingDirectionCache::MinTimeEntries
staticprivate

Definition at line 219 of file PointingDirectionCache.h.

int casa::vi::PointingDirectionCache::nFallbacks_p
mutableprivate

Definition at line 209 of file PointingDirectionCache.h.

int casa::vi::PointingDirectionCache::nHits_p
mutableprivate

Definition at line 210 of file PointingDirectionCache.h.

bool casa::vi::PointingDirectionCache::pointingEofReached_p
mutableprivate

Definition at line 211 of file PointingDirectionCache.h.

const PointingSource& casa::vi::PointingDirectionCache::pointingSource_p
private

Definition at line 212 of file PointingDirectionCache.h.


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