casa::ms::CachedPlane< T > Class Template Reference

#include <Vbi2MsRow.h>

Inheritance diagram for casa::ms::CachedPlane< T >:
casa::ms::CachedArrayBase

List of all members.

Public Types

typedef const Cube< T >
&(casa::vi::VisBufferImpl2::* 
Accessor )() const

Public Member Functions

 CachedPlane (Accessor accessor)
Matrix< T > & getCachedPlane (casa::vi::VisBufferImpl2 *vb, Int row)

Static Private Member Functions

static void referenceMatrix (Matrix< T > &cache, const Cube< T > &src, Int row)

Private Attributes

Accessor accessor_p
Matrix< T > cache_p

Detailed Description

template<typename T>
class casa::ms::CachedPlane< T >

Definition at line 50 of file Vbi2MsRow.h.


Member Typedef Documentation

template<typename T>
typedef const Cube<T>&(casa::vi::VisBufferImpl2::* casa::ms::CachedPlane< T >::Accessor)() const

Definition at line 54 of file Vbi2MsRow.h.


Constructor & Destructor Documentation

template<typename T>
casa::ms::CachedPlane< T >::CachedPlane ( Accessor  accessor  )  [inline]

Definition at line 56 of file Vbi2MsRow.h.


Member Function Documentation

template<typename T>
Matrix<T>& casa::ms::CachedPlane< T >::getCachedPlane ( casa::vi::VisBufferImpl2 vb,
Int  row 
) [inline]

cache_p.reference ((vb ->* accessor_p)().xyPlane (row)); // replace with something more efficient

Definition at line 59 of file Vbi2MsRow.h.

template<typename T>
static void casa::ms::CachedPlane< T >::referenceMatrix ( Matrix< T > &  cache,
const Cube< T > &  src,
Int  row 
) [inline, static, private]

This is a bit sleazy but it seems to be helpful to performance. Assumes contiguously stored cube.

Definition at line 74 of file Vbi2MsRow.h.

Referenced by casa::ms::CachedPlane< Complex >::getCachedPlane().


Member Data Documentation

template<typename T>
Accessor casa::ms::CachedPlane< T >::accessor_p [private]

Definition at line 87 of file Vbi2MsRow.h.

Referenced by casa::ms::CachedPlane< Complex >::getCachedPlane().

template<typename T>
Matrix<T> casa::ms::CachedPlane< T >::cache_p [private]

Definition at line 88 of file Vbi2MsRow.h.

Referenced by casa::ms::CachedPlane< Complex >::getCachedPlane().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1