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

#include <AsynchronousInterface.h>

Classes

class  Timing
 

Public Member Functions

 VlaData (casacore::Int maxNBuffers, async::Mutex &mutex)
 
 ~VlaData ()
 
casacore::Bool fillCanStart () const
 
void fillComplete (VlaDatum *datum)
 
VlaDatumfillStart (SubChunkPair, const ThreadTimes &fillStartTime)
 
asyncio::ChannelSelection getChannelSelection () const
 
void initialize (const AsynchronousInterface *)
 
void insertValidChunk (casacore::Int chunkNumber)
 
void insertValidSubChunk (SubChunkPair)
 
casacore::Bool isValidChunk (casacore::Int chunkNumber) const
 
casacore::Bool isValidSubChunk (SubChunkPair) const
 
void readComplete (SubChunkPair)
 
VisBufferAsyncreadStart (SubChunkPair)
 
void resetBufferData ()
 
void setNoMoreData ()
 
void storeChannelSelection (const asyncio::ChannelSelection &channelSelection)
 

Private Types

typedef std::queue< VlaDatum * > Data
 static void debugBlock (); static void debugUnblock (); static casacore::Bool logThis (casacore::Int level); More...
 
typedef std::queue< casacore::IntValidChunks
 
typedef std::queue< SubChunkPairValidSubChunks
 

Private Member Functions

casacore::Int clock (casacore::Int arg, casacore::Int base)
 
casacore::String makeReport ()
 
casacore::Bool statsEnabled () const
 
void terminateSweep ()
 
 VlaData (const VlaData &other)
 Illegal operations. More...
 
VlaDataoperator= (const VlaData &other)
 

Static Private Member Functions

*static casacore::Bool initializeLogging ()
 

Private Attributes

asyncio::ChannelSelection channelSelection_p
 
Data data_p
 
const AsynchronousInterfaceinterface_p
 
const casacore::Int MaxNBuffers_p
 
async::Mutexmutex_p
 
Timing timing_p
 
ValidChunks validChunks_p
 
ValidSubChunks validSubChunks_p
 

Static Private Attributes

static Semaphore debugBlockSemaphore_p
 

Detailed Description

Definition at line 369 of file AsynchronousInterface.h.

Member Typedef Documentation

typedef std::queue<VlaDatum *> casa::asyncio::VlaData::Data
private

static void debugBlock (); static void debugUnblock (); static casacore::Bool logThis (casacore::Int level);

static casacore::Bool loggingInitialized_p; static casacore::Int logLevel_p;

Definition at line 402 of file AsynchronousInterface.h.

Definition at line 403 of file AsynchronousInterface.h.

Definition at line 404 of file AsynchronousInterface.h.

Constructor & Destructor Documentation

casa::asyncio::VlaData::VlaData ( casacore::Int  maxNBuffers,
async::Mutex mutex 
)
casa::asyncio::VlaData::~VlaData ( )
casa::asyncio::VlaData::VlaData ( const VlaData other)
private

Illegal operations.

Member Function Documentation

casacore::Int casa::asyncio::VlaData::clock ( casacore::Int  arg,
casacore::Int  base 
)
private
casacore::Bool casa::asyncio::VlaData::fillCanStart ( ) const
void casa::asyncio::VlaData::fillComplete ( VlaDatum datum)
VlaDatum* casa::asyncio::VlaData::fillStart ( SubChunkPair  ,
const ThreadTimes fillStartTime 
)
asyncio::ChannelSelection casa::asyncio::VlaData::getChannelSelection ( ) const
void casa::asyncio::VlaData::initialize ( const AsynchronousInterface )
* static casacore::Bool casa::asyncio::VlaData::initializeLogging ( )
staticprivate
void casa::asyncio::VlaData::insertValidChunk ( casacore::Int  chunkNumber)
void casa::asyncio::VlaData::insertValidSubChunk ( SubChunkPair  )
casacore::Bool casa::asyncio::VlaData::isValidChunk ( casacore::Int  chunkNumber) const
casacore::Bool casa::asyncio::VlaData::isValidSubChunk ( SubChunkPair  ) const
casacore::String casa::asyncio::VlaData::makeReport ( )
private
VlaData& casa::asyncio::VlaData::operator= ( const VlaData other)
private
void casa::asyncio::VlaData::readComplete ( SubChunkPair  )
VisBufferAsync* casa::asyncio::VlaData::readStart ( SubChunkPair  )
void casa::asyncio::VlaData::resetBufferData ( )
void casa::asyncio::VlaData::setNoMoreData ( )
casacore::Bool casa::asyncio::VlaData::statsEnabled ( ) const
private
void casa::asyncio::VlaData::storeChannelSelection ( const asyncio::ChannelSelection channelSelection)
void casa::asyncio::VlaData::terminateSweep ( )
private

Member Data Documentation

asyncio::ChannelSelection casa::asyncio::VlaData::channelSelection_p
private

Definition at line 424 of file AsynchronousInterface.h.

Data casa::asyncio::VlaData::data_p
private

Definition at line 425 of file AsynchronousInterface.h.

Semaphore casa::asyncio::VlaData::debugBlockSemaphore_p
staticprivate

Definition at line 440 of file AsynchronousInterface.h.

const AsynchronousInterface* casa::asyncio::VlaData::interface_p
private

Definition at line 426 of file AsynchronousInterface.h.

const casacore::Int casa::asyncio::VlaData::MaxNBuffers_p
private

Definition at line 427 of file AsynchronousInterface.h.

async::Mutex& casa::asyncio::VlaData::mutex_p
private

Definition at line 428 of file AsynchronousInterface.h.

Timing casa::asyncio::VlaData::timing_p
private

Definition at line 429 of file AsynchronousInterface.h.

ValidChunks casa::asyncio::VlaData::validChunks_p
mutableprivate

Definition at line 430 of file AsynchronousInterface.h.

ValidSubChunks casa::asyncio::VlaData::validSubChunks_p
mutableprivate

Definition at line 431 of file AsynchronousInterface.h.


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