casa
5.7.0-16
|
This class reads VLA archive records from the online computers. More...
#include <VLAOnlineInput.h>
Public Member Functions | |
VLAOnlineInput (casacore::String &online, casacore::Int afiles=0) | |
Create an object that reads its data from the vis-server disk An exception is thrown if a connection cannot be made. More... | |
virtual | ~VLAOnlineInput () |
The destructor closes the file. More... | |
virtual casacore::Bool | read () |
Reads the next logical record from specified IO source. More... | |
Public Member Functions inherited from VLAArchiveInput | |
virtual | ~VLAArchiveInput () |
The destructor is virtual to ensure that the destructor in a derived class is actually used. More... | |
casacore::ByteSource & | logicalRecord () |
This returns a reconstructed VLA logical record from the input stream. More... | |
const casacore::ByteSource & | logicalRecord () const |
casacore::Bool | hasData () const |
Returns if true if the current record contains data. More... | |
Private Member Functions | |
VLAOnlineInput (const VLAOnlineInput &other) | |
VLAOnlineInput & | operator= (const VLAOnlineInput &other) |
casacore::String | getTodaysFile (int relDay=0) |
casacore::Int | whatsToday () |
Private Attributes | |
casacore::Bool | onlineFill |
casacore::String | visDir |
casacore::Int | oldDay |
casacore::Int | previousDay |
Additional Inherited Members | |
Protected Member Functions inherited from VLAArchiveInput | |
VLAArchiveInput () | |
Protected Attributes inherited from VLAArchiveInput | |
casacore::MemoryIO | itsMemIO |
casacore::ByteSinkSource | itsRecord |
Static Protected Attributes inherited from VLAArchiveInput | |
static const casacore::uInt | BlockSize |
static const casacore::uInt | HeaderSize |
static const casacore::uInt | MaxBlocksPerPhysicalRecord |
This class reads VLA archive records from the online computers.
This class is designed to reads VLA archive records from a Disk file
Definition at line 73 of file VLAOnlineInput.h.
VLAOnlineInput::VLAOnlineInput | ( | casacore::String & | online, |
casacore::Int | afiles = 0 |
||
) |
Create an object that reads its data from the vis-server disk An exception is thrown if a connection cannot be made.
|
virtual |
The destructor closes the file.
|
private |
|
private |
|
private |
|
virtual |
Reads the next logical record from specified IO source.
Returns false if there was a problem assembling the next record ie., it returns the value of the hasData() member function.
Implements VLAArchiveInput.
|
private |
|
private |
Definition at line 98 of file VLAOnlineInput.h.
|
private |
Definition at line 96 of file VLAOnlineInput.h.
|
private |
Definition at line 99 of file VLAOnlineInput.h.
|
private |
Definition at line 97 of file VLAOnlineInput.h.