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

#include <VisibilityProcessing.h>

List of all members.

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 String &name, Type type)
 ~VpPort ()
Bool operator< (const VpPort &other) const
Bool operator== (const VpPort &other) const
Bool empty () const
String getFullName () const
String getName () const
Type getType () const
Bool isConnectedInput () const
Bool isConnectedOutput () const
bool isType (Type t) const
 Used to check the type of the port as defined in the Type enum.

Protected Member Functions

const VisibilityProcessorgetVp () const
 String toString() const;.
VisibilityProcessorgetVp ()
void setConnectedInput ()
void setConnectedOutput ()

Private Attributes

Bool connectedInput_p
Bool connectedOutput_p
String name_p
VisibilityProcessorvisibilityProcessor_p
Type type_p

Friends

class VpContainer
class VpPort_Test

Detailed Description

Definition at line 118 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 129 of file VisibilityProcessing.h.


Constructor & Destructor Documentation

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

Definition at line 133 of file VisibilityProcessing.h.


Member Function Documentation

const VisibilityProcessor* casa::vpf::VpPort::getVp ( ) const [protected]

String toString() 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 Input and Output types.

Bool casa::vpf::VpPort::operator< ( const VpPort other) const
Bool casa::vpf::VpPort::operator== ( const VpPort other) const

Friends And Related Function Documentation

friend class VpContainer [friend]

Definition at line 120 of file VisibilityProcessing.h.

friend class VpPort_Test [friend]

Definition at line 121 of file VisibilityProcessing.h.


Member Data Documentation

Definition at line 161 of file VisibilityProcessing.h.

Definition at line 162 of file VisibilityProcessing.h.

Definition at line 163 of file VisibilityProcessing.h.

Definition at line 165 of file VisibilityProcessing.h.

Definition at line 164 of file VisibilityProcessing.h.


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