Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tests
operations_fixture0.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
tag: The SourceWorks Tue Sep 7 00:54:57 CEST 2010 operations_fixture0.cpp
3
4
operations_fixture0.cpp - description
5
-------------------
6
begin : Tue September 07 2010
7
copyright : (C) 2010 The SourceWorks
8
email : peter@thesourceworks.com
9
10
***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
19
20
#define BOOST_FUSION_INVOKE_MAX_ARITY 8
21
#define BOOST_FUSION_UNFUSED_MAX_ARITY 7
22
23
#include "
operations_fixture.hpp
"
24
#include <iostream>
25
#include <
TaskContext.hpp
>
26
#include <
OperationCaller.hpp
>
27
#include <
Operation.hpp
>
28
#include <
Service.hpp
>
29
30
using namespace
std
;
31
using namespace
boost
;
32
using namespace
RTT
;
33
using namespace
RTT::detail
;
34
35
void
OperationsFixture::createOperationCallerFactories0
(
TaskContext
* target)
36
{
37
Service::shared_ptr
to = target->
provides
(
"methods"
);
38
// ClientThread
39
to->addOperation(
"m0r"
, &
OperationsFixture::m0r
,
this
).doc(
"M0r"
);
40
to->addOperation(
"m0cr"
, &
OperationsFixture::m0cr
,
this
).doc(
"M0cr"
);
41
to->addOperation(
"vm0"
, &
OperationsFixture::vm0
,
this
).doc(
"VoidM0"
);
42
to->addOperation(
"m0"
, &
OperationsFixture::m0
,
this
).doc(
"M0"
);
43
to->addOperation(
"m0except"
, &
OperationsFixture::m0except
,
this
).doc(
"M0Except"
);
44
45
// OwnThread
46
to->addOperation(
"o0r"
, &
OperationsFixture::m0r
,
this
,
OwnThread
).doc(
"M0r"
);
47
to->addOperation(
"o0cr"
, &
OperationsFixture::m0cr
,
this
,
OwnThread
).doc(
"M0cr"
);
48
to->addOperation(
"o0"
, &
OperationsFixture::m0
,
this
,
OwnThread
).doc(
"M0"
);
49
to->addOperation(
"vo0"
, &
OperationsFixture::vm0
,
this
,
OwnThread
).doc(
"VoidM0"
);
50
to->addOperation(
"o0except"
, &
OperationsFixture::m0except
,
this
,
OwnThread
).doc(
"M0Except"
);
51
}
Operation.hpp
boost
Definition:
EdgeCondition.hpp:61
RTT::TaskContext::provides
Service::shared_ptr provides()
Definition:
TaskContext.hpp:258
OperationsFixture::vm0
void vm0(void)
Definition:
operations_fixture.hpp:52
std
Definition:
mystd.hpp:163
OperationsFixture::m0except
void m0except(void)
Definition:
operations_fixture.hpp:68
RTT::OwnThread
Definition:
OperationBase.hpp:59
OperationsFixture::m0cr
const double & m0cr()
Definition:
operations_fixture.hpp:43
RTT::Service::shared_ptr
boost::shared_ptr< Service > shared_ptr
Definition:
Service.hpp:101
RTT::detail
Definition:
rtt-base-fwd.hpp:97
Service.hpp
OperationsFixture::m0
double m0(void)
Definition:
operations_fixture.hpp:53
TaskContext.hpp
OperationCaller.hpp
RTT::TaskContext
Definition:
TaskContext.hpp:93
operations_fixture.hpp
RTT
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition:
Activity.cpp:53
OperationsFixture::createOperationCallerFactories0
void createOperationCallerFactories0(TaskContext *target)
Definition:
operations_fixture0.cpp:35
OperationsFixture::m0r
double & m0r()
Definition:
operations_fixture.hpp:42
rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:26