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

#include <VisibilityProcessing.h>

Public Types

enum  Type {
  Unknown,
  Input,
  Output,
  InOut
}
 Normally ports are either input or output ports. More...
 

Public Member Functions

 VpPort ()
 
 VpPort (VisibilityProcessor *vp, const casacore::String &name, Type type)
 
 ~VpPort ()
 
casacore::Bool operator< (const VpPort &other) const
 
casacore::Bool operator== (const VpPort &other) const
 
casacore::Bool empty () const
 
casacore::String getFullName () const
 
casacore::String getName () const
 
Type getType () const
 
casacore::Bool isConnectedInput () const
 
casacore::Bool isConnectedOutput () const
 
bool isType (Type t) const
 Used to check the type of the port as defined in the Type enum. More...
 

Protected Member Functions

const VisibilityProcessorgetVp () const
 casacore::String toString() const; More...
 
VisibilityProcessorgetVp ()
 
void setConnectedInput ()
 
void setConnectedOutput ()
 

Private Attributes

casacore::Bool connectedInput_p
 
casacore::Bool connectedOutput_p
 
casacore::String name_p
 
VisibilityProcessorvisibilityProcessor_p
 
Type type_p
 

Friends

class VpContainer
 
class VpPort_Test
 

Detailed Description

Definition at line 116 of file VisibilityProcessing.h.

Member Enumeration Documentation

Normally ports are either input or output ports.

However, the ports of a VpContainer do double duty serving as an input to the container and an outputted to the input of a contained VP, or vice versa.

Enumerator
Unknown 
Input 
Output 
InOut 

Definition at line 127 of file VisibilityProcessing.h.

Constructor & Destructor Documentation

casa::vpf::VpPort::VpPort ( )
casa::vpf::VpPort::VpPort ( VisibilityProcessor vp,
const casacore::String name,
Type  type 
)
casa::vpf::VpPort::~VpPort ( )
inline

Definition at line 131 of file VisibilityProcessing.h.

Member Function Documentation

casacore::Bool casa::vpf::VpPort::empty ( ) const
casacore::String casa::vpf::VpPort::getFullName ( ) const
casacore::String casa::vpf::VpPort::getName ( ) const
Type casa::vpf::VpPort::getType ( ) const
const VisibilityProcessor* casa::vpf::VpPort::getVp ( ) const
protected

casacore::String toString() const;

VisibilityProcessor* casa::vpf::VpPort::getVp ( )
protected
casacore::Bool casa::vpf::VpPort::isConnectedInput ( ) const
casacore::Bool casa::vpf::VpPort::isConnectedOutput ( ) const
bool casa::vpf::VpPort::isType ( Type  t) const

Used to check the type of the port as defined in the Type enum.

InOut ports return true for both casacore::Input and Output types.

casacore::Bool casa::vpf::VpPort::operator< ( const VpPort other) const
casacore::Bool casa::vpf::VpPort::operator== ( const VpPort other) const
void casa::vpf::VpPort::setConnectedInput ( )
protected
void casa::vpf::VpPort::setConnectedOutput ( )
protected

Friends And Related Function Documentation

friend class VpContainer
friend

Definition at line 118 of file VisibilityProcessing.h.

friend class VpPort_Test
friend

Definition at line 119 of file VisibilityProcessing.h.

Member Data Documentation

casacore::Bool casa::vpf::VpPort::connectedInput_p
private

Definition at line 159 of file VisibilityProcessing.h.

casacore::Bool casa::vpf::VpPort::connectedOutput_p
private

Definition at line 160 of file VisibilityProcessing.h.

casacore::String casa::vpf::VpPort::name_p
private

Definition at line 161 of file VisibilityProcessing.h.

Type casa::vpf::VpPort::type_p
private

Definition at line 163 of file VisibilityProcessing.h.

VisibilityProcessor* casa::vpf::VpPort::visibilityProcessor_p
private

Definition at line 162 of file VisibilityProcessing.h.


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