Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gepetto-viewer-corba
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
gepetto-viewer-corba
Commits
3e2965f0
Commit
3e2965f0
authored
8 years ago
by
hdallard
Committed by
Joseph Mirabel
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add worker with 7 params
parent
efa5f5c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/gepetto/gui/omniorb/omniorbthread.hh
+19
-0
19 additions, 0 deletions
include/gepetto/gui/omniorb/omniorbthread.hh
with
19 additions
and
0 deletions
include/gepetto/gui/omniorb/omniorbthread.hh
+
19
−
0
View file @
3e2965f0
...
...
@@ -127,6 +127,25 @@ namespace gepetto {
Arg4
arg4
;
Arg5
arg5
;
};
template
<
typename
Caller
,
typename
ReturnType
,
typename
Arg0
,
typename
Arg1
,
typename
Arg2
,
typename
Arg3
,
typename
Arg4
,
typename
Arg5
,
typename
Arg6
>
class
WorkItem_7
:
public
WorkItem
{
public:
typedef
ReturnType
(
Caller
::*
Method
)
(
Arg0
,
Arg1
,
Arg2
,
Arg3
,
Arg4
,
Arg5
,
Arg6
);
WorkItem_7
(
Caller
*
c
,
Method
m
,
Arg0
a0
,
Arg1
a1
,
Arg2
a2
,
Arg3
a3
,
Arg4
a4
,
Arg5
a5
,
Arg6
a6
)
:
caller
(
c
),
method
(
m
),
arg0
(
a0
),
arg1
(
a1
),
arg2
(
a2
),
arg3
(
a3
),
arg4
(
a4
),
arg5
(
a5
),
arg6
(
a6
)
{}
void
performWork
()
{
(
caller
->*
method
)
(
arg0
,
arg1
,
arg2
,
arg3
,
arg4
,
arg5
,
arg6
);
}
private
:
Caller
*
caller
;
Method
method
;
Arg0
arg0
;
Arg1
arg1
;
Arg2
arg2
;
Arg3
arg3
;
Arg4
arg4
;
Arg5
arg5
;
Arg6
arg6
;
};
class
ServerProcess
:
public
QObject
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment