operations_fixture0.cpp
Go to the documentation of this file.
00001 /***************************************************************************
00002   tag: The SourceWorks  Tue Sep 7 00:54:57 CEST 2010  operations_fixture0.cpp
00003 
00004                         operations_fixture0.cpp -  description
00005                            -------------------
00006     begin                : Tue September 07 2010
00007     copyright            : (C) 2010 The SourceWorks
00008     email                : peter@thesourceworks.com
00009 
00010  ***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
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     // ClientThread
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     // OwnThread
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 }


rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:23