CLAM::InPortBase Class Reference

#include <InPort.hxx>

List of all members.

Public Member Functions

 InPortBase (const std::string &name="unnamed in port", Processing *proc=0)
virtual ~InPortBase ()
OutPortBaseGetVisuallyConnectedOutPort ()
void SetVisuallyConnectedOutPort (OutPortBase *)
const std::string & GetName ()
bool HasProcessing ()
ProcessingGetProcessing ()
virtual bool CanConsume ()=0
virtual int GetSize ()=0
virtual void SetSize (int newSize)=0
virtual int GetHop ()=0
virtual void SetHop (int newHop)=0
virtual void UnAttachRegion ()=0
void Disconnect ()
virtual bool IsPublisherOf (InPortBase &) const
virtual bool IsPublisher () const
virtual const std::type_info & GetTypeId () const =0

Protected Attributes

OutPortBasemVisuallyConnectedOutPort
std::string mName
ProcessingmProcessing

Detailed Description

Definition at line 36 of file InPort.hxx.


Constructor & Destructor Documentation

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

Definition at line 29 of file InPort.cxx.

References CLAM::Processing::RegisterInPort().

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

Member Function Documentation

virtual bool CLAM::InPortBase::CanConsume (  )  [pure virtual]
void CLAM::InPortBase::Disconnect (  ) 
virtual int CLAM::InPortBase::GetHop (  )  [pure virtual]
const std::string & CLAM::InPortBase::GetName (  ) 

Definition at line 54 of file InPort.cxx.

References mName.

Referenced by CLAM::NetworkPlayer::CacheSourcesAndSinks().

Processing * CLAM::InPortBase::GetProcessing (  ) 

Definition at line 64 of file InPort.cxx.

References CLAM_ASSERT, and mProcessing.

virtual int CLAM::InPortBase::GetSize (  )  [pure virtual]
virtual const std::type_info& CLAM::InPortBase::GetTypeId (  )  const [pure virtual]
OutPortBase * CLAM::InPortBase::GetVisuallyConnectedOutPort (  ) 
bool CLAM::InPortBase::HasProcessing (  ) 

Definition at line 59 of file InPort.cxx.

References mProcessing.

virtual bool CLAM::InPortBase::IsPublisher (  )  const [inline, virtual]
virtual bool CLAM::InPortBase::IsPublisherOf ( InPortBase  )  const [inline, virtual]

Reimplemented in CLAM::InPortPublisher< Token >, and CLAM::InPortPublisher< TData >.

Definition at line 53 of file InPort.hxx.

virtual void CLAM::InPortBase::SetHop ( int  newHop  )  [pure virtual]
virtual void CLAM::InPortBase::SetSize ( int  newSize  )  [pure virtual]
void CLAM::InPortBase::SetVisuallyConnectedOutPort ( OutPortBase out  ) 
virtual void CLAM::InPortBase::UnAttachRegion (  )  [pure virtual]

Member Data Documentation

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

Definition at line 58 of file InPort.hxx.

Referenced by GetName().

Definition at line 59 of file InPort.hxx.

Referenced by GetProcessing(), HasProcessing(), and ~InPortBase().


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