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

#include <ResamplerWorklet.h>

Inheritance diagram for casa::ResamplerWorklet:
casa::async::Thread

Public Types

enum  PGridderMode {
  DataToGrid,
  GridToData
}
 
- Public Types inherited from casa::async::Thread
typedef void *(* ThreadFunction )(void *)
 

Public Member Functions

 ResamplerWorklet ()
 
virtual ~ResamplerWorklet ()
 
ResamplerWorkletoperator= (const ResamplerWorklet &other)
 
void setID (const casacore::Int &id)
 
void initThread (casacore::Int &id, casacore::CountedPtr< ThreadCoordinator< casacore::Int > > &threadClerk, VisibilityResamplerBase *resampler)
 
void initToVis (VBStore *vbs, const casacore::Array< casacore::Complex > *skyFTGrid)
 
void initToSky (VBStore *vbs, casacore::Array< casacore::DComplex > *griddedData, casacore::Matrix< casacore::Double > *sumwt)
 
void initToSky (VBStore *vbs, casacore::Array< casacore::Complex > *griddedData, casacore::Matrix< casacore::Double > *sumwt)
 
void init (casacore::Int &id, casacore::CountedPtr< ThreadCoordinator< casacore::Int > > &threadClerk, VisibilityResamplerBase *resampler, VBStore *vbs, casacore::Array< casacore::DComplex > *griddedData, casacore::Matrix< casacore::Double > *sumwt, casacore::Array< casacore::Complex > *skyFTGrid=NULL)
 
void init (casacore::Int &id, casacore::CountedPtr< ThreadCoordinator< casacore::Int > > &threadClerk, VisibilityResamplerBase *resampler, VBStore *vbs, casacore::Array< casacore::Complex > *griddedData, casacore::Matrix< casacore::Double > *sumwt, casacore::Array< casacore::Complex > *skyFTGrid=NULL)
 
void * run ()
 
void setPID ()
 
pid_t getPID ()
 
pid_t getTID ()
 
casacore::Int getID ()
 
- Public Member Functions inherited from casa::async::Thread
 Thread ()
 
virtual ~Thread ()
 
pthread_t getId () const
 
pid_t gettid () const
 
bool isTerminationRequested () const
 
void * join ()
 
void startThread ()
 
virtual void terminate ()
 

Private Member Functions

pid_t gettid_p ()
 

Private Attributes

casacore::Int myID_p
 

-------------------------—Private parts----------------------------------—

More...
 
casacore::CountedPtr
< ThreadCoordinator
< casacore::Int > > 
myThreadClerk_p
 
VisibilityResamplerBasemyResampler_p
 
VBStoremyVBStore_p
 
casacore::Array
< casacore::DComplex > * 
myGriddedDataDouble_p
 
casacore::Array
< casacore::Complex > * 
myGriddedDataSingle_p
 
casacore::Matrix
< casacore::Double > * 
mySumWt_p
 
pid_t myPID_p
 
pid_t myTID_p
 
const casacore::Array
< casacore::Complex > * 
mySkyFTGrid_p
 

Additional Inherited Members

- Protected Member Functions inherited from casa::async::Thread
bool isStarted () const
 
- Static Protected Member Functions inherited from casa::async::Thread
static void * threadFunction (void *)
 

Detailed Description

Definition at line 48 of file ResamplerWorklet.h.

Member Enumeration Documentation

Enumerator
DataToGrid 
GridToData 

Definition at line 51 of file ResamplerWorklet.h.

Constructor & Destructor Documentation

casa::ResamplerWorklet::ResamplerWorklet ( )
inline

Definition at line 52 of file ResamplerWorklet.h.

virtual casa::ResamplerWorklet::~ResamplerWorklet ( )
inlinevirtual

Definition at line 53 of file ResamplerWorklet.h.

Member Function Documentation

casacore::Int casa::ResamplerWorklet::getID ( )
inline

Definition at line 77 of file ResamplerWorklet.h.

pid_t casa::ResamplerWorklet::getPID ( )
inline

Definition at line 75 of file ResamplerWorklet.h.

pid_t casa::ResamplerWorklet::getTID ( )
inline

Definition at line 76 of file ResamplerWorklet.h.

pid_t casa::ResamplerWorklet::gettid_p ( )
inlineprivate

Definition at line 94 of file ResamplerWorklet.h.

void casa::ResamplerWorklet::init ( casacore::Int id,
casacore::CountedPtr< ThreadCoordinator< casacore::Int > > &  threadClerk,
VisibilityResamplerBase resampler,
VBStore vbs,
casacore::Array< casacore::DComplex > *  griddedData,
casacore::Matrix< casacore::Double > *  sumwt,
casacore::Array< casacore::Complex > *  skyFTGrid = NULL 
)
void casa::ResamplerWorklet::init ( casacore::Int id,
casacore::CountedPtr< ThreadCoordinator< casacore::Int > > &  threadClerk,
VisibilityResamplerBase resampler,
VBStore vbs,
casacore::Array< casacore::Complex > *  griddedData,
casacore::Matrix< casacore::Double > *  sumwt,
casacore::Array< casacore::Complex > *  skyFTGrid = NULL 
)
void casa::ResamplerWorklet::initThread ( casacore::Int id,
casacore::CountedPtr< ThreadCoordinator< casacore::Int > > &  threadClerk,
VisibilityResamplerBase resampler 
)
void casa::ResamplerWorklet::initToSky ( VBStore vbs,
casacore::Array< casacore::DComplex > *  griddedData,
casacore::Matrix< casacore::Double > *  sumwt 
)
void casa::ResamplerWorklet::initToSky ( VBStore vbs,
casacore::Array< casacore::Complex > *  griddedData,
casacore::Matrix< casacore::Double > *  sumwt 
)
void casa::ResamplerWorklet::initToVis ( VBStore vbs,
const casacore::Array< casacore::Complex > *  skyFTGrid 
)
ResamplerWorklet& casa::ResamplerWorklet::operator= ( const ResamplerWorklet other)
void* casa::ResamplerWorklet::run ( )
virtual

Implements casa::async::Thread.

void casa::ResamplerWorklet::setID ( const casacore::Int id)
inline

Definition at line 56 of file ResamplerWorklet.h.

void casa::ResamplerWorklet::setPID ( )

Member Data Documentation

casacore::Array<casacore::DComplex>* casa::ResamplerWorklet::myGriddedDataDouble_p
private

Definition at line 89 of file ResamplerWorklet.h.

casacore::Array<casacore::Complex>* casa::ResamplerWorklet::myGriddedDataSingle_p
private

Definition at line 90 of file ResamplerWorklet.h.

casacore::Int casa::ResamplerWorklet::myID_p
private


-------------------------—Private parts----------------------------------—

Definition at line 85 of file ResamplerWorklet.h.

pid_t casa::ResamplerWorklet::myPID_p
private

Definition at line 92 of file ResamplerWorklet.h.

VisibilityResamplerBase* casa::ResamplerWorklet::myResampler_p
private

Definition at line 87 of file ResamplerWorklet.h.

const casacore::Array<casacore::Complex>* casa::ResamplerWorklet::mySkyFTGrid_p
private

Definition at line 93 of file ResamplerWorklet.h.

casacore::Matrix<casacore::Double>* casa::ResamplerWorklet::mySumWt_p
private

Definition at line 91 of file ResamplerWorklet.h.

casacore::CountedPtr<ThreadCoordinator<casacore::Int> > casa::ResamplerWorklet::myThreadClerk_p
private

Definition at line 86 of file ResamplerWorklet.h.

pid_t casa::ResamplerWorklet::myTID_p
private

Definition at line 92 of file ResamplerWorklet.h.

VBStore* casa::ResamplerWorklet::myVBStore_p
private

Definition at line 88 of file ResamplerWorklet.h.


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