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
274d6e67
authored
Apr 25, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: fixed cpplint warnings
parent
1007a462
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
dataflow_cpp/include/embb/dataflow/internal/node.h
+1
-1
dataflow_cpp/include/embb/dataflow/internal/scheduler_mtapi.h
+1
-0
dataflow_cpp/include/embb/dataflow/internal/select.h
+1
-1
dataflow_cpp/include/embb/dataflow/internal/switch.h
+1
-1
No files found.
dataflow_cpp/include/embb/dataflow/internal/node.h
View file @
274d6e67
...
@@ -64,7 +64,7 @@ class Node {
...
@@ -64,7 +64,7 @@ class Node {
static
int
next_process_id_
;
static
int
next_process_id_
;
static
int
GetNextProcessID
()
{
return
next_process_id_
++
;
}
static
int
GetNextProcessID
()
{
return
next_process_id_
++
;
}
virtual
void
SetSlices
(
int
/*slices*/
)
{}
;
virtual
void
SetSlices
(
int
/*slices*/
)
{}
};
};
}
// namespace internal
}
// namespace internal
...
...
dataflow_cpp/include/embb/dataflow/internal/scheduler_mtapi.h
View file @
274d6e67
...
@@ -101,6 +101,7 @@ class SchedulerMTAPI : public Scheduler {
...
@@ -101,6 +101,7 @@ class SchedulerMTAPI : public Scheduler {
group_
[
slice
]
->
WaitAll
(
MTAPI_INFINITE
);
group_
[
slice
]
->
WaitAll
(
MTAPI_INFINITE
);
}
}
virtual
int
GetSlices
()
{
return
slices_
;
}
virtual
int
GetSlices
()
{
return
slices_
;
}
private
:
private
:
embb
::
tasks
::
Group
**
group_
;
embb
::
tasks
::
Group
**
group_
;
embb
::
tasks
::
Queue
**
queue_
;
embb
::
tasks
::
Queue
**
queue_
;
...
...
dataflow_cpp/include/embb/dataflow/internal/select.h
View file @
274d6e67
...
@@ -44,7 +44,7 @@ class Select
...
@@ -44,7 +44,7 @@ class Select
typedef
Inputs
<
bool
,
Type
,
Type
>
InputsType
;
typedef
Inputs
<
bool
,
Type
,
Type
>
InputsType
;
typedef
Outputs
<
Type
>
OutputsType
;
typedef
Outputs
<
Type
>
OutputsType
;
Select
(
Scheduler
*
sched
)
:
inputs_
(),
slices_
(
0
)
{
explicit
Select
(
Scheduler
*
sched
)
:
inputs_
(),
slices_
(
0
)
{
inputs_
.
SetListener
(
this
);
inputs_
.
SetListener
(
this
);
SetScheduler
(
sched
);
SetScheduler
(
sched
);
}
}
...
...
dataflow_cpp/include/embb/dataflow/internal/switch.h
View file @
274d6e67
...
@@ -44,7 +44,7 @@ class Switch
...
@@ -44,7 +44,7 @@ class Switch
typedef
Inputs
<
bool
,
Type
>
InputsType
;
typedef
Inputs
<
bool
,
Type
>
InputsType
;
typedef
Outputs
<
Type
,
Type
>
OutputsType
;
typedef
Outputs
<
Type
,
Type
>
OutputsType
;
Switch
(
Scheduler
*
sched
)
:
inputs_
()
{
explicit
Switch
(
Scheduler
*
sched
)
:
inputs_
()
{
inputs_
.
SetListener
(
this
);
inputs_
.
SetListener
(
this
);
SetScheduler
(
sched
);
SetScheduler
(
sched
);
}
}
...
...
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