Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
60383a1c
authored
Apr 04, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: added missing connection checks in Outputs
parent
5bbc63a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
dataflow_cpp/include/embb/dataflow/internal/outputs.h
+18
-0
No files found.
dataflow_cpp/include/embb/dataflow/internal/outputs.h
View file @
60383a1c
...
@@ -85,6 +85,11 @@ class Outputs<T1, T2, T3, embb::base::internal::Nil,
...
@@ -85,6 +85,11 @@ class Outputs<T1, T2, T3, embb::base::internal::Nil,
:
public
Tuple
<
Out
<
T1
>
,
Out
<
T2
>
,
Out
<
T3
>
,
:
public
Tuple
<
Out
<
T1
>
,
Out
<
T2
>
,
Out
<
T3
>
,
embb
::
base
::
internal
::
Nil
,
embb
::
base
::
internal
::
Nil
>
{
embb
::
base
::
internal
::
Nil
,
embb
::
base
::
internal
::
Nil
>
{
public
:
public
:
bool
IsFullyConnected
()
{
return
this
->
template
Get
<
0
>
().
IsConnected
()
&&
this
->
template
Get
<
1
>
().
IsConnected
()
&&
this
->
template
Get
<
2
>
().
IsConnected
();
}
};
};
template
<
typename
T1
,
typename
T2
,
typename
T3
,
typename
T4
>
template
<
typename
T1
,
typename
T2
,
typename
T3
,
typename
T4
>
...
@@ -92,6 +97,12 @@ class Outputs<T1, T2, T3, T4, embb::base::internal::Nil>
...
@@ -92,6 +97,12 @@ class Outputs<T1, T2, T3, T4, embb::base::internal::Nil>
:
public
Tuple
<
Out
<
T1
>
,
Out
<
T2
>
,
Out
<
T3
>
,
:
public
Tuple
<
Out
<
T1
>
,
Out
<
T2
>
,
Out
<
T3
>
,
Out
<
T4
>
,
embb
::
base
::
internal
::
Nil
>
{
Out
<
T4
>
,
embb
::
base
::
internal
::
Nil
>
{
public
:
public
:
bool
IsFullyConnected
()
{
return
this
->
template
Get
<
0
>
().
IsConnected
()
&&
this
->
template
Get
<
1
>
().
IsConnected
()
&&
this
->
template
Get
<
2
>
().
IsConnected
()
&&
this
->
template
Get
<
3
>
().
IsConnected
();
}
};
};
template
<
typename
T1
,
typename
T2
,
typename
T3
,
typename
T4
,
template
<
typename
T1
,
typename
T2
,
typename
T3
,
typename
T4
,
...
@@ -100,6 +111,13 @@ class Outputs
...
@@ -100,6 +111,13 @@ class Outputs
:
public
Tuple
<
Out
<
T1
>
,
Out
<
T2
>
,
Out
<
T3
>
,
:
public
Tuple
<
Out
<
T1
>
,
Out
<
T2
>
,
Out
<
T3
>
,
Out
<
T4
>
,
Out
<
T5
>
>
{
Out
<
T4
>
,
Out
<
T5
>
>
{
public
:
public
:
bool
IsFullyConnected
()
{
return
this
->
template
Get
<
0
>
().
IsConnected
()
&&
this
->
template
Get
<
1
>
().
IsConnected
()
&&
this
->
template
Get
<
2
>
().
IsConnected
()
&&
this
->
template
Get
<
3
>
().
IsConnected
()
&&
this
->
template
Get
<
4
>
().
IsConnected
();
}
};
};
}
// namespace internal
}
// namespace internal
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment