Commit 9bbf0e67 by Marcus Winter

dataflow_cpp: fixed gcc error

parent 8c2c08f3
...@@ -846,7 +846,7 @@ class Network : public internal::ClockListener { ...@@ -846,7 +846,7 @@ class Network : public internal::ClockListener {
internal::Inputs<I1, I2, I3, I4, I5>, internal::Inputs<I1, I2, I3, I4, I5>,
internal::Outputs<O1, O2, O3, O4, O5> >( internal::Outputs<O1, O2, O3, O4, O5> >(
network.sched_, function) { network.sched_, function) {
SetPolicy(network.policy_); this->SetPolicy(network.policy_);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
...@@ -856,7 +856,7 @@ class Network : public internal::ClockListener { ...@@ -856,7 +856,7 @@ class Network : public internal::ClockListener {
internal::Inputs<I1, I2, I3, I4, I5>, internal::Inputs<I1, I2, I3, I4, I5>,
internal::Outputs<O1, O2, O3, O4, O5> >( internal::Outputs<O1, O2, O3, O4, O5> >(
network.sched_, function) { network.sched_, function) {
SetPolicy(policy); this->SetPolicy(policy);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
}; };
...@@ -882,7 +882,7 @@ class Network : public internal::ClockListener { ...@@ -882,7 +882,7 @@ class Network : public internal::ClockListener {
internal::Inputs<I1, I2, I3, I4, I5>, internal::Inputs<I1, I2, I3, I4, I5>,
internal::Outputs<O1, O2, O3, O4, O5> >( internal::Outputs<O1, O2, O3, O4, O5> >(
network.sched_, function) { network.sched_, function) {
SetPolicy(network.policy_); this->SetPolicy(network.policy_);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
...@@ -892,7 +892,7 @@ class Network : public internal::ClockListener { ...@@ -892,7 +892,7 @@ class Network : public internal::ClockListener {
internal::Inputs<I1, I2, I3, I4, I5>, internal::Inputs<I1, I2, I3, I4, I5>,
internal::Outputs<O1, O2, O3, O4, O5> >( internal::Outputs<O1, O2, O3, O4, O5> >(
network.sched_, function) { network.sched_, function) {
SetPolicy(policy); this->SetPolicy(policy);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
}; };
...@@ -902,13 +902,13 @@ class Network : public internal::ClockListener { ...@@ -902,13 +902,13 @@ class Network : public internal::ClockListener {
public: public:
explicit Switch(Network & network) explicit Switch(Network & network)
: internal::Switch<Type>(network.sched_) { : internal::Switch<Type>(network.sched_) {
SetPolicy(network.policy_); this->SetPolicy(network.policy_);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
Switch(Network & network, embb::mtapi::ExecutionPolicy const & policy) Switch(Network & network, embb::mtapi::ExecutionPolicy const & policy)
: internal::Switch<Type>(network.sched_) { : internal::Switch<Type>(network.sched_) {
SetPolicy(policy); this->SetPolicy(policy);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
}; };
...@@ -918,13 +918,13 @@ class Network : public internal::ClockListener { ...@@ -918,13 +918,13 @@ class Network : public internal::ClockListener {
public: public:
explicit Select(Network & network) explicit Select(Network & network)
: internal::Select<Type>(network.sched_) { : internal::Select<Type>(network.sched_) {
SetPolicy(network.policy_); this->SetPolicy(network.policy_);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
Select(Network & network, embb::mtapi::ExecutionPolicy const & policy) Select(Network & network, embb::mtapi::ExecutionPolicy const & policy)
: internal::Select<Type>(network.sched_) { : internal::Select<Type>(network.sched_) {
SetPolicy(policy); this->SetPolicy(policy);
network.processes_.push_back(this); network.processes_.push_back(this);
} }
}; };
...@@ -943,7 +943,7 @@ class Network : public internal::ClockListener { ...@@ -943,7 +943,7 @@ class Network : public internal::ClockListener {
: internal::Sink< : internal::Sink<
internal::Inputs<I1, I2, I3, I4, I5> >( internal::Inputs<I1, I2, I3, I4, I5> >(
network.sched_, &network, function) { network.sched_, &network, function) {
SetPolicy(network.policy_); this->SetPolicy(network.policy_);
network.sinks_.push_back(this); network.sinks_.push_back(this);
network.sink_count_++; network.sink_count_++;
} }
...@@ -953,7 +953,7 @@ class Network : public internal::ClockListener { ...@@ -953,7 +953,7 @@ class Network : public internal::ClockListener {
: internal::Sink< : internal::Sink<
internal::Inputs<I1, I2, I3, I4, I5> >( internal::Inputs<I1, I2, I3, I4, I5> >(
network.sched_, &network, function) { network.sched_, &network, function) {
SetPolicy(policy); this->SetPolicy(policy);
network.sinks_.push_back(this); network.sinks_.push_back(this);
network.sink_count_++; network.sink_count_++;
} }
...@@ -973,7 +973,7 @@ class Network : public internal::ClockListener { ...@@ -973,7 +973,7 @@ class Network : public internal::ClockListener {
Source(Network & network, FunctionType function) Source(Network & network, FunctionType function)
: internal::Source< : internal::Source<
internal::Outputs<O1, O2, O3, O4, O5> >(network.sched_, function) { internal::Outputs<O1, O2, O3, O4, O5> >(network.sched_, function) {
SetPolicy(network.policy_); this->SetPolicy(network.policy_);
network.sources_.push_back(this); network.sources_.push_back(this);
} }
...@@ -981,7 +981,7 @@ class Network : public internal::ClockListener { ...@@ -981,7 +981,7 @@ class Network : public internal::ClockListener {
embb::mtapi::ExecutionPolicy const & policy) embb::mtapi::ExecutionPolicy const & policy)
: internal::Source< : internal::Source<
internal::Outputs<O1, O2, O3, O4, O5> >(network.sched_, function) { internal::Outputs<O1, O2, O3, O4, O5> >(network.sched_, function) {
SetPolicy(policy); this->SetPolicy(policy);
network.sources_.push_back(this); network.sources_.push_back(this);
} }
}; };
...@@ -991,14 +991,14 @@ class Network : public internal::ClockListener { ...@@ -991,14 +991,14 @@ class Network : public internal::ClockListener {
public: public:
ConstantSource(Network & network, Type value) ConstantSource(Network & network, Type value)
: internal::ConstantSource<Type>(network.sched_, value) { : internal::ConstantSource<Type>(network.sched_, value) {
SetPolicy(network.policy_); this->SetPolicy(network.policy_);
network.sources_.push_back(this); network.sources_.push_back(this);
} }
ConstantSource(Network & network, Type value, ConstantSource(Network & network, Type value,
embb::mtapi::ExecutionPolicy const & policy) embb::mtapi::ExecutionPolicy const & policy)
: internal::ConstantSource<Type>(network.sched_, value) { : internal::ConstantSource<Type>(network.sched_, value) {
SetPolicy(policy); this->SetPolicy(policy);
network.sources_.push_back(this); network.sources_.push_back(this);
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment