casa
$Rev:20696$
|
#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 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 VisibilityProcessor * | getVp () const |
String toString() const;. | |
VisibilityProcessor * | getVp () |
void | setConnectedInput () |
void | setConnectedOutput () |
Private Attributes | |
Bool | connectedInput_p |
Bool | connectedOutput_p |
String | name_p |
VisibilityProcessor * | visibilityProcessor_p |
Type | type_p |
Friends | |
class | VpContainer |
class | VpPort_Test |
Definition at line 118 of file VisibilityProcessing.h.
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.
Definition at line 129 of file VisibilityProcessing.h.
casa::vpf::VpPort::VpPort | ( | VisibilityProcessor * | vp, |
const String & | name, | ||
Type | type | ||
) |
casa::vpf::VpPort::~VpPort | ( | ) | [inline] |
Definition at line 133 of file VisibilityProcessing.h.
Bool casa::vpf::VpPort::empty | ( | ) | const |
String casa::vpf::VpPort::getFullName | ( | ) | const |
String casa::vpf::VpPort::getName | ( | ) | const |
Type casa::vpf::VpPort::getType | ( | ) | const |
const VisibilityProcessor* casa::vpf::VpPort::getVp | ( | ) | const [protected] |
String toString() const;.
VisibilityProcessor* casa::vpf::VpPort::getVp | ( | ) | [protected] |
Bool casa::vpf::VpPort::isConnectedInput | ( | ) | const |
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 Input and Output types.
void casa::vpf::VpPort::setConnectedInput | ( | ) | [protected] |
void casa::vpf::VpPort::setConnectedOutput | ( | ) | [protected] |
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.
Bool casa::vpf::VpPort::connectedInput_p [private] |
Definition at line 161 of file VisibilityProcessing.h.
Bool casa::vpf::VpPort::connectedOutput_p [private] |
Definition at line 162 of file VisibilityProcessing.h.
String casa::vpf::VpPort::name_p [private] |
Definition at line 163 of file VisibilityProcessing.h.
Type casa::vpf::VpPort::type_p [private] |
Definition at line 165 of file VisibilityProcessing.h.
Definition at line 164 of file VisibilityProcessing.h.