#include <FlattenedNetwork.hxx>
Definition at line 46 of file FlattenedNetwork.hxx.
Public Member Functions | |
FlattenedNetwork () | |
virtual | ~FlattenedNetwork () |
const std::string & | GetName () const |
void | SetName (const std::string &name) |
virtual const char * | GetClassName () const |
Return the class name. | |
bool | IsStopped () const |
void | Start () |
void | Stop () |
void | Do () |
void | AddFlowControl (FlowControl *) |
Gets the ownership of the FlowControl passed. | |
void | Clear () |
void | SetPlayer (NetworkPlayer *player) |
Set the object in charge of managing the processing thread. | |
unsigned | BackendBufferSize () |
unsigned | BackendSampleRate () |
virtual void | StoreOn (Storage &storage) const |
serialization methods | |
virtual void | LoadFrom (Storage &storage) |
Loads component's subitems from the given Storage. | |
bool | UpdateSelections (const NamesList &processingsNamesList) |
methods related to copy&paste processings from canvas | |
void | setPasteMode () |
bool | SetProcessingsGeometries (const ProcessingsGeometriesMap &processingsGeometries) |
canvas related geometries | |
const ProcessingsGeometriesMap | GetAndClearGeometries () |
bool | ConnectPorts (const std::string &, const std::string &) |
methods related to connect/disconnect interface | |
bool | ConnectControls (const std::string &, const std::string &) |
bool | DisconnectPorts (const std::string &, const std::string &) |
bool | DisconnectControls (const std::string &, const std::string &) |
Processing & | GetProcessing (const std::string &name) const |
methods used to create processings and get them | |
void | AddProcessing (const std::string &, Processing *) |
add method using a pointer to a new processing | |
void | AddProcessing (const std::string &name, const std::string &key) |
add method using a key to get the new processing from factory | |
std::string | AddProcessing (const std::string &key) |
std::string | GetUnusedName (const std::string &prefix) const |
void | RemoveProcessing (const std::string &) |
bool | HasProcessing (const std::string &name) const |
methods used to create processings and get them | |
bool | ConfigureProcessing (const std::string &, const ProcessingConfig &) |
It configures the processing with the given processing id and config object and notifies this to the network. | |
void | ReconfigureAllProcessings () |
Calls Configure() for each processing with its current configuration. | |
bool | RenameProcessing (const std::string &oldName, const std::string &newName) |
const std::string & | GetNetworkId (const Processing *proc) const |
ProcessingsMap::iterator | BeginProcessings () |
ProcessingsMap::iterator | EndProcessings () |
ProcessingsMap::const_iterator | BeginProcessings () const |
ProcessingsMap::const_iterator | EndProcessings () const |
InPortBase & | GetInPortByCompleteName (const std::string &) const |
OutPortBase & | GetOutPortByCompleteName (const std::string &) const |
InControl & | GetInControlByCompleteName (const std::string &) const |
OutControl & | GetOutControlByCompleteName (const std::string &) const |
NamesList | GetInPortsConnectedTo (const std::string &) const |
NamesList | GetInControlsConnectedTo (const std::string &) const |
InPortsList | GetInPortsConnectedTo (OutPortBase &) const |
std::string | GetConnectorIdentifier (const std::string &) const |
std::string | GetProcessingIdentifier (const std::string &) const |
bool | IsReady () const |
Tells whether the network is ready to rock. | |
bool | IsEmpty () const |
Returns true when it has no processings. | |
bool | HasMisconfiguredProcessings () const |
Returns true when some processing is misconfigured. | |
bool | HasUnconnectedInPorts () const |
Returns true when a processing has an inport that is not connected. | |
bool | HasSyncSource () const |
Tell whether the network contains any processing which limits the cpu usage such as file or device interfaces. | |
std::string | GetConfigurationErrors () const |
Returns an string containing configuration errors. | |
std::string | GetUnconnectedInPorts () const |
Returns an string the full name of the unconnected inports. |
CLAM::FlattenedNetwork::FlattenedNetwork | ( | ) |
Definition at line 37 of file FlattenedNetwork.cxx.
CLAM::FlattenedNetwork::~FlattenedNetwork | ( | ) | [virtual] |
const std::string& CLAM::FlattenedNetwork::GetName | ( | void | ) | const [inline, virtual] |
void CLAM::FlattenedNetwork::SetName | ( | const std::string & | name | ) | [inline, virtual] |
virtual const char* CLAM::FlattenedNetwork::GetClassName | ( | ) | const [inline, virtual] |
Return the class name.
Implements CLAM::BaseNetwork.
Definition at line 57 of file FlattenedNetwork.hxx.
bool CLAM::FlattenedNetwork::IsStopped | ( | ) | const |
Definition at line 525 of file FlattenedNetwork.cxx.
References CLAM::NetworkPlayer::IsStopped().
Referenced by AddProcessing(), Clear(), ConfigureProcessing(), ConnectControls(), ConnectPorts(), DisconnectControls(), DisconnectPorts(), and RemoveProcessing().
void CLAM::FlattenedNetwork::Start | ( | ) |
Definition at line 531 of file FlattenedNetwork.cxx.
References BeginProcessings(), EndProcessings(), and CLAM::NetworkPlayer::Start().
void CLAM::FlattenedNetwork::Stop | ( | ) |
Definition at line 549 of file FlattenedNetwork.cxx.
References BeginProcessings(), EndProcessings(), and CLAM::NetworkPlayer::Stop().
Referenced by AddProcessing(), Clear(), ConfigureProcessing(), ConnectControls(), ConnectPorts(), DisconnectControls(), DisconnectPorts(), CLAM::JACKNetworkPlayer::OnShutdown(), and RemoveProcessing().
void CLAM::FlattenedNetwork::Do | ( | void | ) |
Definition at line 558 of file FlattenedNetwork.cxx.
References CLAM::FlowControl::Do().
Referenced by CLAM::JACKNetworkPlayer::Do(), CLAM::FreewheelingNetworkPlayer::ProcessInputFile(), and CLAM::FreewheelingNetworkPlayer::Start().
void CLAM::FlattenedNetwork::AddFlowControl | ( | FlowControl * | flowControl | ) |
Gets the ownership of the FlowControl passed.
So it will be deleted by the destructor
Definition at line 300 of file FlattenedNetwork.cxx.
References CLAM::FlowControl::AttachToNetwork().
void CLAM::FlattenedNetwork::Clear | ( | ) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 563 of file FlattenedNetwork.cxx.
References IsStopped(), RemoveProcessing(), and Stop().
Referenced by LoadFrom(), and ~FlattenedNetwork().
void CLAM::FlattenedNetwork::SetPlayer | ( | NetworkPlayer * | player | ) |
Set the object in charge of managing the processing thread.
Receives property of the player.
Definition at line 306 of file FlattenedNetwork.cxx.
References CLAM::NetworkPlayer::Init(), and CLAM::NetworkPlayer::SetNetworkBackLink().
unsigned CLAM::FlattenedNetwork::BackendBufferSize | ( | ) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 313 of file FlattenedNetwork.cxx.
References CLAM::NetworkPlayer::BackendBufferSize().
Referenced by CLAM::Processing::BackendBufferSize(), and CLAM::Processing::BackendSampleRate().
unsigned CLAM::FlattenedNetwork::BackendSampleRate | ( | ) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 318 of file FlattenedNetwork.cxx.
References CLAM::NetworkPlayer::BackendSampleRate().
void CLAM::FlattenedNetwork::StoreOn | ( | Storage & | storage | ) | const [virtual] |
serialization methods
Implements CLAM::BaseNetwork.
Definition at line 52 of file FlattenedNetwork.cxx.
References CLAM::OutControlRegistry::Begin(), CLAM::OutPortRegistry::Begin(), BeginProcessings(), CLAM::OutControlRegistry::End(), CLAM::OutPortRegistry::End(), EndProcessings(), GetInControlsConnectedTo(), GetInPortsConnectedTo(), CLAM::Processing::GetOutControls(), CLAM::Processing::GetOutPorts(), GetProcessingIdentifier(), CLAM::BaseNetwork::Geometry::height, CLAM::Storage::Store(), CLAM::BaseNetwork::Geometry::width, CLAM::BaseNetwork::Geometry::x, and CLAM::BaseNetwork::Geometry::y.
void CLAM::FlattenedNetwork::LoadFrom | ( | Storage & | storage | ) | [virtual] |
Loads component's subitems from the given Storage.
storage | The given storage where the subitem will be loaded from |
Implements CLAM::BaseNetwork.
Definition at line 146 of file FlattenedNetwork.cxx.
References AddProcessing(), Clear(), CLAM::Processing::Configure(), ConnectControls(), ConnectPorts(), CLAM::Processing::GetClassName(), CLAM::Processing::GetConfig(), GetConnectorIdentifier(), CLAM::ConnectionDefinitionAdapter::GetInName(), CLAM::ProcessingDefinitionAdapter::GetName(), CLAM::ConnectionDefinitionAdapter::GetOutName(), CLAM::ProcessingDefinitionAdapter::GetPosition(), GetProcessing(), CLAM::ProcessingDefinitionAdapter::GetProcessing(), GetProcessingIdentifier(), CLAM::ProcessingDefinitionAdapter::GetSize(), CLAM::BaseNetwork::Geometry::height, CLAM::Storage::Load(), CLAM::Err::what(), CLAM::BaseNetwork::Geometry::width, CLAM::BaseNetwork::Geometry::x, and CLAM::BaseNetwork::Geometry::y.
methods related to copy&paste processings from canvas
Definition at line 233 of file FlattenedNetwork.cxx.
void CLAM::FlattenedNetwork::setPasteMode | ( | ) | [inline, virtual] |
bool CLAM::FlattenedNetwork::SetProcessingsGeometries | ( | const ProcessingsGeometriesMap & | processingsGeometries | ) |
const FlattenedNetwork::ProcessingsGeometriesMap CLAM::FlattenedNetwork::GetAndClearGeometries | ( | ) | [virtual] |
bool CLAM::FlattenedNetwork::ConnectPorts | ( | const std::string & | producer, | |
const std::string & | consumer | |||
) | [virtual] |
methods related to connect/disconnect interface
Implements CLAM::BaseNetwork.
Definition at line 423 of file FlattenedNetwork.cxx.
References CLAM::OutPortBase::ConnectToIn(), GetInPortByCompleteName(), GetOutPortByCompleteName(), CLAM::InPortBase::GetVisuallyConnectedOutPort(), CLAM::OutPortBase::IsConnectableTo(), IsStopped(), CLAM::OutPortBase::IsVisuallyConnectedTo(), CLAM::FlowControl::NetworkTopologyChanged(), and Stop().
Referenced by LoadFrom().
bool CLAM::FlattenedNetwork::ConnectControls | ( | const std::string & | producer, | |
const std::string & | consumer | |||
) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 445 of file FlattenedNetwork.cxx.
References CLAM::OutControl::AddLink(), GetInControlByCompleteName(), GetOutControlByCompleteName(), CLAM::OutControl::IsConnectedTo(), IsStopped(), and Stop().
Referenced by LoadFrom().
bool CLAM::FlattenedNetwork::DisconnectPorts | ( | const std::string & | producer, | |
const std::string & | consumer | |||
) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 460 of file FlattenedNetwork.cxx.
References CLAM::OutPortBase::DisconnectFromIn(), GetInPortByCompleteName(), GetOutPortByCompleteName(), IsStopped(), CLAM::OutPortBase::IsVisuallyConnectedTo(), CLAM::FlowControl::NetworkTopologyChanged(), and Stop().
bool CLAM::FlattenedNetwork::DisconnectControls | ( | const std::string & | producer, | |
const std::string & | consumer | |||
) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 476 of file FlattenedNetwork.cxx.
References GetInControlByCompleteName(), GetOutControlByCompleteName(), CLAM::OutControl::IsConnectedTo(), IsStopped(), CLAM::OutControl::RemoveLink(), and Stop().
Processing & CLAM::FlattenedNetwork::GetProcessing | ( | const std::string & | name | ) | const [virtual] |
methods used to create processings and get them
Implements CLAM::BaseNetwork.
Definition at line 325 of file FlattenedNetwork.cxx.
References CLAM_ASSERT, and HasProcessing().
Referenced by GetInControlByCompleteName(), GetInPortByCompleteName(), GetOutControlByCompleteName(), GetOutPortByCompleteName(), and LoadFrom().
void CLAM::FlattenedNetwork::AddProcessing | ( | const std::string & | name, | |
Processing * | proc | |||
) | [virtual] |
add method using a pointer to a new processing
Implements CLAM::BaseNetwork.
Definition at line 334 of file FlattenedNetwork.cxx.
References CLAM_ASSERT, CLAM::Processing::Configure(), CLAM::Processing::GetConfig(), IsStopped(), CLAM::FlowControl::ProcessingAddedToNetwork(), CLAM::Processing::SetNetworkBackLink(), and Stop().
Referenced by AddProcessing(), and LoadFrom().
void CLAM::FlattenedNetwork::AddProcessing | ( | const std::string & | name, | |
const std::string & | key | |||
) | [virtual] |
add method using a key to get the new processing from factory
Implements CLAM::BaseNetwork.
Definition at line 346 of file FlattenedNetwork.cxx.
References AddProcessing(), CLAM::Factory< AbstractProductType >::CreateSafe(), and CLAM::ProcessingFactory::GetInstance().
std::string CLAM::FlattenedNetwork::AddProcessing | ( | const std::string & | key | ) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 354 of file FlattenedNetwork.cxx.
References AddProcessing(), and GetUnusedName().
std::string CLAM::FlattenedNetwork::GetUnusedName | ( | const std::string & | prefix | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 361 of file FlattenedNetwork.cxx.
References CLAM_ASSERT, and HasProcessing().
Referenced by AddProcessing().
void CLAM::FlattenedNetwork::RemoveProcessing | ( | const std::string & | name | ) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 376 of file FlattenedNetwork.cxx.
References CLAM_ASSERT, IsStopped(), CLAM::FlowControl::ProcessingRemovedFromNetwork(), and Stop().
Referenced by Clear().
bool CLAM::FlattenedNetwork::HasProcessing | ( | const std::string & | name | ) | const [virtual] |
methods used to create processings and get them
Implements CLAM::BaseNetwork.
Definition at line 396 of file FlattenedNetwork.cxx.
Referenced by GetProcessing(), and GetUnusedName().
bool CLAM::FlattenedNetwork::ConfigureProcessing | ( | const std::string & | name, | |
const ProcessingConfig & | newConfig | |||
) | [virtual] |
It configures the processing with the given processing id and config object and notifies this to the network.
So use this method instead of getting the processing with GetProcessing and calling Configure on it.
Implements CLAM::BaseNetwork.
Definition at line 402 of file FlattenedNetwork.cxx.
References CLAM_ASSERT, IsStopped(), CLAM::FlowControl::ProcessingConfigured(), and Stop().
void CLAM::FlattenedNetwork::ReconfigureAllProcessings | ( | ) | [virtual] |
Calls Configure() for each processing with its current configuration.
Implements CLAM::BaseNetwork.
Definition at line 413 of file FlattenedNetwork.cxx.
References CLAM::Processing::Configure(), and CLAM::Processing::GetConfig().
bool CLAM::FlattenedNetwork::RenameProcessing | ( | const std::string & | oldName, | |
const std::string & | newName | |||
) | [virtual] |
const std::string & CLAM::FlattenedNetwork::GetNetworkId | ( | const Processing * | proc | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 639 of file FlattenedNetwork.cxx.
References BeginProcessings(), CLAM_ASSERT, and EndProcessings().
Referenced by GetInControlsConnectedTo(), and GetInPortsConnectedTo().
FlattenedNetwork::ProcessingsMap::iterator CLAM::FlattenedNetwork::BeginProcessings | ( | ) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 574 of file FlattenedNetwork.cxx.
Referenced by CLAM::NetworkPlayer::CollectSourcesAndSinks(), CLAM::BasicFlowControl::Do(), GetConfigurationErrors(), GetNetworkId(), GetUnconnectedInPorts(), HasMisconfiguredProcessings(), HasSyncSource(), HasUnconnectedInPorts(), CLAM::JACKNetworkPlayer::RegisterInputPorts(), CLAM::JACKNetworkPlayer::RegisterOutputPorts(), CLAM::NetworkPlayer::SourcesAndSinksToString(), Start(), Stop(), and StoreOn().
FlattenedNetwork::ProcessingsMap::iterator CLAM::FlattenedNetwork::EndProcessings | ( | ) | [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 579 of file FlattenedNetwork.cxx.
Referenced by CLAM::NetworkPlayer::CollectSourcesAndSinks(), CLAM::BasicFlowControl::Do(), GetConfigurationErrors(), GetNetworkId(), GetUnconnectedInPorts(), HasMisconfiguredProcessings(), HasSyncSource(), HasUnconnectedInPorts(), CLAM::JACKNetworkPlayer::RegisterInputPorts(), CLAM::JACKNetworkPlayer::RegisterOutputPorts(), CLAM::NetworkPlayer::SourcesAndSinksToString(), Start(), Stop(), and StoreOn().
FlattenedNetwork::ProcessingsMap::const_iterator CLAM::FlattenedNetwork::BeginProcessings | ( | ) | const [virtual] |
FlattenedNetwork::ProcessingsMap::const_iterator CLAM::FlattenedNetwork::EndProcessings | ( | ) | const [virtual] |
InPortBase & CLAM::FlattenedNetwork::GetInPortByCompleteName | ( | const std::string & | name | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 501 of file FlattenedNetwork.cxx.
References CLAM::InPortRegistry::Get(), GetConnectorIdentifier(), CLAM::Processing::GetInPorts(), GetProcessing(), and GetProcessingIdentifier().
Referenced by ConnectPorts(), and DisconnectPorts().
OutPortBase & CLAM::FlattenedNetwork::GetOutPortByCompleteName | ( | const std::string & | name | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 507 of file FlattenedNetwork.cxx.
References CLAM::OutPortRegistry::Get(), GetConnectorIdentifier(), CLAM::Processing::GetOutPorts(), GetProcessing(), and GetProcessingIdentifier().
Referenced by ConnectPorts(), DisconnectPorts(), and GetInPortsConnectedTo().
InControl & CLAM::FlattenedNetwork::GetInControlByCompleteName | ( | const std::string & | name | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 513 of file FlattenedNetwork.cxx.
References CLAM::InControlRegistry::Get(), GetConnectorIdentifier(), CLAM::Processing::GetInControls(), GetProcessing(), and GetProcessingIdentifier().
Referenced by ConnectControls(), and DisconnectControls().
OutControl & CLAM::FlattenedNetwork::GetOutControlByCompleteName | ( | const std::string & | name | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 519 of file FlattenedNetwork.cxx.
References CLAM::OutControlRegistry::Get(), GetConnectorIdentifier(), CLAM::Processing::GetOutControls(), GetProcessing(), and GetProcessingIdentifier().
Referenced by ConnectControls(), DisconnectControls(), and GetInControlsConnectedTo().
FlattenedNetwork::NamesList CLAM::FlattenedNetwork::GetInPortsConnectedTo | ( | const std::string & | producer | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 593 of file FlattenedNetwork.cxx.
References CLAM::OutPortBase::BeginVisuallyConnectedInPorts(), CLAM::OutPortBase::EndVisuallyConnectedInPorts(), GetNetworkId(), GetOutPortByCompleteName(), and CLAM::OutPortBase::HasConnections().
Referenced by StoreOn().
FlattenedNetwork::NamesList CLAM::FlattenedNetwork::GetInControlsConnectedTo | ( | const std::string & | producer | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 612 of file FlattenedNetwork.cxx.
References CLAM::OutControl::BeginInControlsConnected(), CLAM::OutControl::EndInControlsConnected(), GetNetworkId(), and GetOutControlByCompleteName().
Referenced by StoreOn().
FlattenedNetwork::InPortsList CLAM::FlattenedNetwork::GetInPortsConnectedTo | ( | OutPortBase & | producer | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 630 of file FlattenedNetwork.cxx.
References CLAM::OutPortBase::BeginVisuallyConnectedInPorts(), and CLAM::OutPortBase::EndVisuallyConnectedInPorts().
std::string CLAM::FlattenedNetwork::GetConnectorIdentifier | ( | const std::string & | str | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 490 of file FlattenedNetwork.cxx.
References CLAM::BaseNetwork::PositionOfLastIdentifier().
Referenced by GetInControlByCompleteName(), GetInPortByCompleteName(), GetOutControlByCompleteName(), GetOutPortByCompleteName(), and LoadFrom().
std::string CLAM::FlattenedNetwork::GetProcessingIdentifier | ( | const std::string & | str | ) | const [virtual] |
Implements CLAM::BaseNetwork.
Definition at line 495 of file FlattenedNetwork.cxx.
References CLAM::BaseNetwork::PositionOfLastIdentifier(), and CLAM::BaseNetwork::PositionOfProcessingIdentifier().
Referenced by GetInControlByCompleteName(), GetInPortByCompleteName(), GetOutControlByCompleteName(), GetOutPortByCompleteName(), LoadFrom(), and StoreOn().
bool CLAM::FlattenedNetwork::IsReady | ( | ) | const [virtual] |
Tells whether the network is ready to rock.
A network is ready when:
Implements CLAM::BaseNetwork.
Definition at line 662 of file FlattenedNetwork.cxx.
References HasMisconfiguredProcessings(), HasUnconnectedInPorts(), and IsEmpty().
bool CLAM::FlattenedNetwork::IsEmpty | ( | ) | const [virtual] |
Returns true when it has no processings.
Implements CLAM::BaseNetwork.
Definition at line 670 of file FlattenedNetwork.cxx.
Referenced by IsReady().
bool CLAM::FlattenedNetwork::HasMisconfiguredProcessings | ( | ) | const [virtual] |
Returns true when some processing is misconfigured.
Implements CLAM::BaseNetwork.
Definition at line 675 of file FlattenedNetwork.cxx.
References BeginProcessings(), and EndProcessings().
Referenced by IsReady().
bool CLAM::FlattenedNetwork::HasUnconnectedInPorts | ( | ) | const [virtual] |
Returns true when a processing has an inport that is not connected.
Implements CLAM::BaseNetwork.
Definition at line 684 of file FlattenedNetwork.cxx.
References CLAM::InPortRegistry::Begin(), BeginProcessings(), CLAM::InPortRegistry::End(), EndProcessings(), and CLAM::Processing::GetInPorts().
Referenced by IsReady().
bool CLAM::FlattenedNetwork::HasSyncSource | ( | ) | const [virtual] |
Tell whether the network contains any processing which limits the cpu usage such as file or device interfaces.
This is needed when executing a network in a real time process.
Implements CLAM::BaseNetwork.
Definition at line 720 of file FlattenedNetwork.cxx.
References BeginProcessings(), and EndProcessings().
std::string CLAM::FlattenedNetwork::GetConfigurationErrors | ( | ) | const [virtual] |
Returns an string containing configuration errors.
Don't rely on the format because is subject to change.
Implements CLAM::BaseNetwork.
Definition at line 730 of file FlattenedNetwork.cxx.
References BeginProcessings(), and EndProcessings().
std::string CLAM::FlattenedNetwork::GetUnconnectedInPorts | ( | ) | const [virtual] |
Returns an string the full name of the unconnected inports.
Don't rely on the format because is subject to change.
Implements CLAM::BaseNetwork.
Definition at line 701 of file FlattenedNetwork.cxx.
References CLAM::InPortRegistry::Begin(), BeginProcessings(), CLAM::InPortRegistry::End(), EndProcessings(), and CLAM::Processing::GetInPorts().