casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::vpf::WriterVp Class Reference

#include <VisibilityProcessing.h>

Inheritance diagram for casa::vpf::WriterVp:
casa::vpf::VisibilityProcessor

List of all members.

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.
VisibilityIteratorvi_p

Detailed Description

Definition at line 455 of file VisibilityProcessing.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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.


Member Data Documentation

Definition at line 487 of file VisibilityProcessing.h.

N.B., advancing the flow graphs VI is prohibited.

Definition at line 489 of file VisibilityProcessing.h.

Definition at line 490 of file VisibilityProcessing.h.


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