Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #define BOOST_FUSION_INVOKE_MAX_ARITY 8
00021 #define BOOST_FUSION_UNFUSED_MAX_ARITY 7
00022
00023 #include "operations_fixture.hpp"
00024 #include <iostream>
00025 #include <TaskContext.hpp>
00026 #include <OperationCaller.hpp>
00027 #include <Operation.hpp>
00028 #include <Service.hpp>
00029
00030 using namespace std;
00031 using namespace boost;
00032 using namespace RTT;
00033 using namespace RTT::detail;
00034
00035 void OperationsFixture::createOperationCallerFactories0(TaskContext* target)
00036 {
00037 Service::shared_ptr to = target->provides("methods");
00038
00039 to->addOperation("m0r", &OperationsFixture::m0r, this).doc("M0r");
00040 to->addOperation("m0cr", &OperationsFixture::m0cr, this).doc("M0cr");
00041 to->addOperation("vm0", &OperationsFixture::vm0, this).doc("VoidM0");
00042 to->addOperation("m0", &OperationsFixture::m0, this).doc("M0");
00043 to->addOperation("m0except", &OperationsFixture::m0except, this, RTT::ClientThread ).doc("M0Except");
00044
00045
00046 to->addOperation("o0r", &OperationsFixture::m0r, this, OwnThread).doc("M0r");
00047 to->addOperation("o0cr", &OperationsFixture::m0cr, this, OwnThread).doc("M0cr");
00048 to->addOperation("o0", &OperationsFixture::m0, this, OwnThread).doc("M0");
00049 to->addOperation("o0except", &OperationsFixture::m0except, this, OwnThread).doc("M0Except");
00050 }