-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathoperations_fixture3.cpp
43 lines (35 loc) · 1.75 KB
/
operations_fixture3.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/***************************************************************************
tag: The SourceWorks Tue Sep 7 00:54:57 CEST 2010 operations_fixture3.cpp
operations_fixture3.cpp - description
-------------------
begin : Tue September 07 2010
copyright : (C) 2010 The SourceWorks
email : [email protected]
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#define BOOST_FUSION_INVOKE_MAX_ARITY 8
#define BOOST_FUSION_UNFUSED_MAX_ARITY 7
#include "operations_fixture.hpp"
#include <iostream>
#include <TaskContext.hpp>
#include <OperationCaller.hpp>
#include <Operation.hpp>
#include <Service.hpp>
using namespace std;
using namespace boost;
using namespace RTT;
using namespace RTT::detail;
void OperationsFixture::createOperationCallerFactories3(TaskContext* target)
{
Service::shared_ptr to = target->provides("methods");
// ClientThread
to->addOperation("m3", &OperationsFixture::m3, this).doc("M3").arg("a", "ad").arg("a", "ad").arg("a", "ad");
// OwnThread
to->addOperation("o3", &OperationsFixture::m3, this, OwnThread).doc("M3").arg("a", "ad").arg("a", "ad").arg("a", "ad");
}