CLAM::OutPortBase Class Reference

#include <OutPort.hxx>

List of all members.

Public Types

typedef std::list< InPortBase * > InPortsList

Public Member Functions

 OutPortBase (const std::string &name="unnamed out port", Processing *proc=0)
virtual ~OutPortBase ()
const std::string & GetName ()
ProcessingGetProcessing ()
InPortsList::iterator BeginVisuallyConnectedInPorts ()
InPortsList::iterator EndVisuallyConnectedInPorts ()
virtual void ConnectToIn (InPortBase &in)=0
virtual void DisconnectFromIn (InPortBase &in)=0
virtual void DisconnectFromAll ()=0
virtual bool IsVisuallyConnectedTo (InPortBase &in)=0
virtual bool IsConnectableTo (InPortBase &)=0
virtual bool CanProduce ()=0
virtual int GetSize ()=0
virtual void SetSize (int newSize)=0
virtual int GetHop ()=0
virtual void SetHop (int newHop)=0
bool HasConnections ()
virtual void CenterEvenRegions ()=0
void SetPublisher (OutPortBase &publisher)
void UnsetPublisher ()
virtual bool IsPublisher () const
virtual void UnpublishOutPort ()=0
virtual const std::type_info & GetTypeId () const =0

Protected Attributes

InPortsList mVisuallyConnectedPorts
std::string mName
ProcessingmProcessing
OutPortBasemPublisher

Detailed Description

Definition at line 37 of file OutPort.hxx.


Member Typedef Documentation

Definition at line 40 of file OutPort.hxx.


Constructor & Destructor Documentation

CLAM::OutPortBase::OutPortBase ( const std::string &  name = "unnamed out port",
Processing proc = 0 
)

Definition at line 28 of file OutPort.cxx.

References CLAM::Processing::RegisterOutPort().

CLAM::OutPortBase::~OutPortBase (  )  [virtual]

Member Function Documentation

OutPortBase::InPortsList::iterator CLAM::OutPortBase::BeginVisuallyConnectedInPorts (  ) 
virtual bool CLAM::OutPortBase::CanProduce (  )  [pure virtual]
virtual void CLAM::OutPortBase::CenterEvenRegions (  )  [pure virtual]
virtual void CLAM::OutPortBase::ConnectToIn ( InPortBase in  )  [pure virtual]
virtual void CLAM::OutPortBase::DisconnectFromAll (  )  [pure virtual]
virtual void CLAM::OutPortBase::DisconnectFromIn ( InPortBase in  )  [pure virtual]
OutPortBase::InPortsList::iterator CLAM::OutPortBase::EndVisuallyConnectedInPorts (  ) 
virtual int CLAM::OutPortBase::GetHop (  )  [pure virtual]
const std::string & CLAM::OutPortBase::GetName (  ) 

Definition at line 45 of file OutPort.cxx.

References mName.

Referenced by CLAM::NetworkPlayer::CacheSourcesAndSinks(), and CLAM::Network::StoreOn().

Processing * CLAM::OutPortBase::GetProcessing (  ) 

Definition at line 50 of file OutPort.cxx.

References mProcessing.

virtual int CLAM::OutPortBase::GetSize (  )  [pure virtual]
virtual const std::type_info& CLAM::OutPortBase::GetTypeId (  )  const [pure virtual]
bool CLAM::OutPortBase::HasConnections (  )  [inline]

Definition at line 58 of file OutPort.hxx.

References mVisuallyConnectedPorts.

Referenced by CLAM::Network::StoreOn().

virtual bool CLAM::OutPortBase::IsConnectableTo ( InPortBase  )  [pure virtual]
virtual bool CLAM::OutPortBase::IsPublisher (  )  const [inline, virtual]
virtual bool CLAM::OutPortBase::IsVisuallyConnectedTo ( InPortBase in  )  [pure virtual]
virtual void CLAM::OutPortBase::SetHop ( int  newHop  )  [pure virtual]
void CLAM::OutPortBase::SetPublisher ( OutPortBase publisher  ) 

Definition at line 65 of file OutPort.cxx.

References mPublisher.

Referenced by CLAM::OutPortPublisher< Spectrum >::ConcretePublishOutPort().

virtual void CLAM::OutPortBase::SetSize ( int  newSize  )  [pure virtual]
virtual void CLAM::OutPortBase::UnpublishOutPort (  )  [pure virtual]
void CLAM::OutPortBase::UnsetPublisher (  ) 

Definition at line 69 of file OutPort.cxx.

References mPublisher.

Referenced by CLAM::OutPortPublisher< Spectrum >::~OutPortPublisher().


Member Data Documentation

std::string CLAM::OutPortBase::mName [protected]

Definition at line 67 of file OutPort.hxx.

Referenced by GetName().

Definition at line 68 of file OutPort.hxx.

Referenced by GetProcessing(), and ~OutPortBase().

Definition at line 69 of file OutPort.hxx.

Referenced by SetPublisher(), UnsetPublisher(), and ~OutPortBase().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3