CLAM-Development
1.4.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Flow
Controls
OutControlBase.cxx
Go to the documentation of this file.
1
#include <CLAM/OutControlBase.hxx>
2
#include <CLAM/Processing.hxx>
3
4
namespace
CLAM{
5
OutControlBase::OutControlBase
(
const
std::string &name,
Processing
* proc)
6
: mName(name)
7
, mProcessing(proc)
8
{
9
if
(proc) proc->
RegisterOutControl
(
this
);
10
}
11
12
OutControlBase::~OutControlBase
()
13
{
14
while
(!
mLinks
.empty())
15
RemoveLink
(*
mLinks
.front());
16
if
(mProcessing)
17
mProcessing->
GetOutControls
().
ProcessingInterface_Unregister
(
this
);
18
}
19
OutControlBase::Peers::iterator
OutControlBase::BeginInControlsConnected
()
20
{
21
return
mLinks
.begin();
22
}
23
24
OutControlBase::Peers::iterator
OutControlBase::EndInControlsConnected
()
25
{
26
return
mLinks
.end();
27
}
28
29
}
Generated by
1.8.1