CLAM-Development
1.1
|
#include <OutPortPublisher.hxx>
Public Member Functions | |
OutPortPublisher (const std::string &name="unnamed out port publisher", Processing *proc=0) | |
virtual | ~OutPortPublisher () |
void | DisconnectFromAll () |
void | ConnectToIn (InPortBase &in) |
void | PublishOutPort (OutPortBase &out) |
void | UnpublishOutPort () |
void | ConcretePublishOutPort (ProperOutPort &out) |
void | DisconnectFromIn (InPortBase &in) |
bool | IsConnectableTo (InPortBase &in) |
bool | IsVisuallyConnectedTo (InPortBase &in) |
Token & | GetData (int offset=0) |
int | GetSize () |
void | SetSize (int newSize) |
int | GetHop () |
void | SetHop (int newHop) |
bool | CanProduce () |
void | CenterEvenRegions () |
Token & | GetLastWrittenData (int offset=0) |
virtual const std::type_info & | GetTypeId () const |
Static Public Member Functions | |
static Token & | GetLastWrittenData (OutPortBase &, int offset=0) |
Protected Attributes | |
ProperOutPort * | mPublishedOutPort |
Definition at line 31 of file OutPortPublisher.hxx.
CLAM::OutPortPublisher< Token >::OutPortPublisher | ( | const std::string & | name = "unnamed out port publisher" , |
Processing * | proc = 0 |
||
) | [inline] |
Definition at line 35 of file OutPortPublisher.hxx.
virtual CLAM::OutPortPublisher< Token >::~OutPortPublisher | ( | ) | [inline, virtual] |
Definition at line 41 of file OutPortPublisher.hxx.
bool CLAM::OutPortPublisher< Token >::CanProduce | ( | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 153 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::CenterEvenRegions | ( | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 160 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::ConcretePublishOutPort | ( | ProperOutPort & | out | ) | [inline] |
Definition at line 89 of file OutPortPublisher.hxx.
Referenced by CLAM::OutPortPublisher< Spectrum >::PublishOutPort().
void CLAM::OutPortPublisher< Token >::ConnectToIn | ( | InPortBase & | in | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 64 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::DisconnectFromAll | ( | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 58 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::DisconnectFromIn | ( | InPortBase & | in | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 95 of file OutPortPublisher.hxx.
Token& CLAM::OutPortPublisher< Token >::GetData | ( | int | offset = 0 | ) | [inline] |
Definition at line 117 of file OutPortPublisher.hxx.
int CLAM::OutPortPublisher< Token >::GetHop | ( | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 138 of file OutPortPublisher.hxx.
Token& CLAM::OutPortPublisher< Token >::GetLastWrittenData | ( | int | offset = 0 | ) | [inline] |
Definition at line 166 of file OutPortPublisher.hxx.
Referenced by CLAM::OutPortPublisher< Spectrum >::GetLastWrittenData(), and CLAM::OutPortPublisher< Token >::GetLastWrittenData().
Token & CLAM::OutPortPublisher< Token >::GetLastWrittenData | ( | OutPortBase & | out, |
int | offset = 0 |
||
) | [static] |
Definition at line 183 of file OutPortPublisher.hxx.
References CLAM_ASSERT, CLAM::OutPortPublisher< Token >::GetLastWrittenData(), and NULL.
int CLAM::OutPortPublisher< Token >::GetSize | ( | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 124 of file OutPortPublisher.hxx.
virtual const std::type_info& CLAM::OutPortPublisher< Token >::GetTypeId | ( | ) | const [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 172 of file OutPortPublisher.hxx.
bool CLAM::OutPortPublisher< Token >::IsConnectableTo | ( | InPortBase & | in | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 103 of file OutPortPublisher.hxx.
bool CLAM::OutPortPublisher< Token >::IsVisuallyConnectedTo | ( | InPortBase & | in | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 110 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::PublishOutPort | ( | OutPortBase & | out | ) | [inline] |
Definition at line 72 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::SetHop | ( | int | newHop | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 145 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::SetSize | ( | int | newSize | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 131 of file OutPortPublisher.hxx.
void CLAM::OutPortPublisher< Token >::UnpublishOutPort | ( | ) | [inline, virtual] |
Implements CLAM::OutPortBase.
Definition at line 85 of file OutPortPublisher.hxx.
ProperOutPort* CLAM::OutPortPublisher< Token >::mPublishedOutPort [protected] |
Definition at line 175 of file OutPortPublisher.hxx.
Referenced by CLAM::OutPortPublisher< Spectrum >::CanProduce(), CLAM::OutPortPublisher< Spectrum >::CenterEvenRegions(), CLAM::OutPortPublisher< Spectrum >::ConcretePublishOutPort(), CLAM::OutPortPublisher< Spectrum >::ConnectToIn(), CLAM::OutPortPublisher< Spectrum >::DisconnectFromAll(), CLAM::OutPortPublisher< Spectrum >::DisconnectFromIn(), CLAM::OutPortPublisher< Spectrum >::GetData(), CLAM::OutPortPublisher< Spectrum >::GetHop(), CLAM::OutPortPublisher< Spectrum >::GetLastWrittenData(), CLAM::OutPortPublisher< Spectrum >::GetSize(), CLAM::OutPortPublisher< Spectrum >::IsConnectableTo(), CLAM::OutPortPublisher< Spectrum >::IsVisuallyConnectedTo(), CLAM::OutPortPublisher< Spectrum >::SetHop(), CLAM::OutPortPublisher< Spectrum >::SetSize(), CLAM::OutPortPublisher< Spectrum >::UnpublishOutPort(), and CLAM::OutPortPublisher< Spectrum >::~OutPortPublisher().