casa
$Rev:20696$
|
#include <VisibilityProcessing.h>
Public Member Functions | |
WriterVp (const String &name, VisibilityIterator *vi=NULL, Bool advanceVi=False, const String &input="In", const String &output="Out") | |
Creates a WriterVp node. | |
Bool | setDisableOutput (Bool disableIt) |
This paradoxical method allows the user to create a single data flow graph and then programmatically decide at run time whether data should be actually output on this particular run. | |
Protected Member Functions | |
ProcessingResult | doProcessingImpl (ProcessingType processingType, VpData &inputData, const SubchunkIndex &subChunkIndex) |
Requests processing of the provided (possibly empty) input data. | |
void | validateImpl () |
Called to allow the node to validate its initial state. | |
Private Attributes | |
Bool | advanceVi_p |
Bool | disableOutput_p |
N.B., advancing the flow graphs VI is prohibited. | |
VisibilityIterator * | vi_p |
Definition at line 455 of file VisibilityProcessing.h.
casa::vpf::WriterVp::WriterVp | ( | const String & | name, |
VisibilityIterator * | vi = NULL , |
||
Bool | advanceVi = False , |
||
const String & | input = "In" , |
||
const String & | output = "Out" |
||
) |
Creates a WriterVp node.
If the vi argument is NULL then the flow graph's VI is used. The advanceVi argument is used to direct the node to advance the VI after each write (i.e., perform a vi++ operation); advancing the flow graph's VI will cause a run time exception.
ProcessingResult casa::vpf::WriterVp::doProcessingImpl | ( | ProcessingType | processingType, |
VpData & | inputData, | ||
const SubchunkIndex & | subChunkIndex | ||
) | [protected, virtual] |
Requests processing of the provided (possibly empty) input data.
This is called on each subchunk (then inputData will be nonempty) and at the end of a chunk and the end of the entire data set. These last two call types allow the VP to output any data that it might have been accumulating across multiple subchunks, etc.
Implements casa::vpf::VisibilityProcessor.
Bool casa::vpf::WriterVp::setDisableOutput | ( | Bool | disableIt | ) |
This paradoxical method allows the user to create a single data flow graph and then programmatically decide at run time whether data should be actually output on this particular run.
void casa::vpf::WriterVp::validateImpl | ( | ) | [protected, virtual] |
Called to allow the node to validate its initial state.
An AipsError should be thrown if this node decides that it is invalid.
Implements casa::vpf::VisibilityProcessor.
Bool casa::vpf::WriterVp::advanceVi_p [private] |
Definition at line 487 of file VisibilityProcessing.h.
Bool casa::vpf::WriterVp::disableOutput_p [private] |
N.B., advancing the flow graphs VI is prohibited.
Definition at line 489 of file VisibilityProcessing.h.
VisibilityIterator* casa::vpf::WriterVp::vi_p [private] |
Definition at line 490 of file VisibilityProcessing.h.