OperationInterfaceI.h

00001 /***************************************************************************
00002   tag: Peter Soetens  Mon Jun 26 13:25:59 CEST 2006  FactoriesI.h
00003 
00004                         FactoriesI.h -  description
00005                            -------------------
00006     begin                : Mon June 26 2006
00007     copyright            : (C) 2006 Peter Soetens
00008     email                : peter.soetens@fmtc.be
00009 
00010  ***************************************************************************
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU General Public                   *
00013  *   License as published by the Free Software Foundation;                 *
00014  *   version 2 of the License.                                             *
00015  *                                                                         *
00016  *   As a special exception, you may use this file as part of a free       *
00017  *   software library without restriction.  Specifically, if other files   *
00018  *   instantiate templates or use macros or inline functions from this     *
00019  *   file, or you compile this file and link it with other files to        *
00020  *   produce an executable, this file does not by itself cause the         *
00021  *   resulting executable to be covered by the GNU General Public          *
00022  *   License.  This exception does not however invalidate any other        *
00023  *   reasons why the executable file might be covered by the GNU General   *
00024  *   Public License.                                                       *
00025  *                                                                         *
00026  *   This library is distributed in the hope that it will be useful,       *
00027  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00028  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00029  *   Lesser General Public License for more details.                       *
00030  *                                                                         *
00031  *   You should have received a copy of the GNU General Public             *
00032  *   License along with this library; if not, write to the Free Software   *
00033  *   Foundation, Inc., 59 Temple Place,                                    *
00034  *   Suite 330, Boston, MA  02111-1307  USA                                *
00035  *                                                                         *
00036  ***************************************************************************/
00037 
00038 
00039 // -*- C++ -*-
00040 //
00041 // $Id$
00042 
00043 // ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
00044 // TAO and the TAO IDL Compiler have been developed by:
00045 //       Center for Distributed Object Computing
00046 //       Washington University
00047 //       St. Louis, MO
00048 //       USA
00049 //       http://www.cs.wustl.edu/~schmidt/doc-center.html
00050 // and
00051 //       Distributed Object Computing Laboratory
00052 //       University of California at Irvine
00053 //       Irvine, CA
00054 //       USA
00055 //       http://doc.ece.uci.edu/
00056 // and
00057 //       Institute for Software Integrated Systems
00058 //       Vanderbilt University
00059 //       Nashville, TN
00060 //       USA
00061 //       http://www.isis.vanderbilt.edu/
00062 //
00063 // Information about TAO is available at:
00064 //     http://www.cs.wustl.edu/~schmidt/TAO.html
00065 
00066 // TAO_IDL - Generated from
00067 // be/be_codegen.cpp:844
00068 
00069 #ifndef FACTORIESI_H_
00070 #define FACTORIESI_H_
00071 
00072 #include "../rtt-config.h"
00073 #include "corba.h"
00074 #include "corba.h"
00075 #ifdef CORBA_IS_TAO
00076 #include "OperationInterfaceS.h"
00077 #else
00078 #include "OperationInterfaceC.h"
00079 #endif
00080 #include "../OperationInterface.hpp"
00081 
00082 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00083 #pragma once
00084 #endif /* ACE_LACKS_PRAGMA_ONCE */
00085 
00086 class  Orocos_MethodInterface_i
00087     : public virtual POA_RTT::Corba::MethodInterface,
00088       public virtual PortableServer::RefCountServantBase
00089 {
00090     RTT::MethodFactory* mfact;
00091     PortableServer::POA_var mpoa;
00092 public:
00093   //Constructor
00094   Orocos_MethodInterface_i (RTT::MethodFactory* mfact, PortableServer::POA_ptr the_poa);
00095 
00096   //Destructor
00097   virtual ~Orocos_MethodInterface_i (void);
00098 
00099     PortableServer::POA_ptr _default_POA()
00100     {
00101         return PortableServer::POA::_duplicate(mpoa);
00102     }
00103 
00104   virtual
00105   ::RTT::Corba::MethodList * getMethods (
00106     )
00107     ACE_THROW_SPEC ((
00108       CORBA::SystemException
00109     ));
00110 
00111   virtual
00112   ::RTT::Corba::Descriptions * getArguments (
00113       const char* method
00114     )
00115     ACE_THROW_SPEC ((
00116       CORBA::SystemException
00117       ,::RTT::Corba::NoSuchNameException
00118     ));
00119 
00120   virtual
00121   char * getResultType (
00122       const char* method
00123     )
00124     ACE_THROW_SPEC ((
00125       CORBA::SystemException
00126       ,::RTT::Corba::NoSuchNameException
00127     ));
00128 
00129   virtual
00130   char * getDescription (
00131       const char* method
00132     )
00133     ACE_THROW_SPEC ((
00134       CORBA::SystemException
00135       ,::RTT::Corba::NoSuchNameException
00136     ));
00137 
00138   virtual
00139   ::RTT::Corba::Method_ptr createMethod (
00140       const char * method,
00141       const ::RTT::Corba::Arguments& args
00142     )
00143     ACE_THROW_SPEC ((
00144       CORBA::SystemException
00145     ,::RTT::Corba::NoSuchNameException
00146     ,::RTT::Corba::WrongNumbArgException
00147     ,::RTT::Corba::WrongTypeArgException
00148     ));
00149 
00150   virtual
00151   ::RTT::Corba::Method_ptr createMethodAny (
00152       const char * method,
00153       const ::RTT::Corba::AnyArguments& args
00154     )
00155     ACE_THROW_SPEC ((
00156       CORBA::SystemException
00157     ,::RTT::Corba::NoSuchNameException
00158     ,::RTT::Corba::WrongNumbArgException
00159     ,::RTT::Corba::WrongTypeArgException
00160     ));
00161 };
00162 
00163 class  Orocos_CommandInterface_i
00164     : public virtual POA_RTT::Corba::CommandInterface,
00165       public virtual PortableServer::RefCountServantBase
00166 {
00167     RTT::CommandFactory* mfact;
00168     PortableServer::POA_var mpoa;
00169 public:
00170   //Constructor
00171   Orocos_CommandInterface_i (RTT::CommandFactory* fact, PortableServer::POA_ptr the_poa);
00172 
00173   //Destructor
00174   virtual ~Orocos_CommandInterface_i (void);
00175 
00176     PortableServer::POA_ptr _default_POA()
00177     {
00178         return PortableServer::POA::_duplicate(mpoa);
00179     }
00180 
00181   virtual
00182   ::RTT::Corba::CommandList * getCommands (
00183     )
00184     ACE_THROW_SPEC ((
00185       CORBA::SystemException
00186     ));
00187 
00188   virtual
00189   ::RTT::Corba::Descriptions * getArguments (
00190       const char* command
00191     )
00192     ACE_THROW_SPEC ((
00193       CORBA::SystemException
00194     ,::RTT::Corba::NoSuchNameException
00195     ));
00196 
00197   virtual
00198   char * getResultType (
00199       const char* command
00200     )
00201     ACE_THROW_SPEC ((
00202       CORBA::SystemException
00203     ,::RTT::Corba::NoSuchNameException
00204     ));
00205 
00206   virtual
00207   char * getDescription (
00208       const char* command
00209     )
00210     ACE_THROW_SPEC ((
00211       CORBA::SystemException
00212     ,::RTT::Corba::NoSuchNameException
00213     ));
00214 
00215   virtual
00216   ::RTT::Corba::Command_ptr createCommand (
00217       const char * command,
00218       const ::RTT::Corba::Arguments& args
00219     )
00220     ACE_THROW_SPEC ((
00221       CORBA::SystemException
00222     ,::RTT::Corba::NoSuchNameException
00223     ,::RTT::Corba::WrongNumbArgException
00224     ,::RTT::Corba::WrongTypeArgException
00225     ));
00226 
00227   virtual
00228   ::RTT::Corba::Command_ptr createCommandAny (
00229       const char * command,
00230       const ::RTT::Corba::AnyArguments& args
00231     )
00232     ACE_THROW_SPEC ((
00233       CORBA::SystemException
00234     ,::RTT::Corba::NoSuchNameException
00235     ,::RTT::Corba::WrongNumbArgException
00236     ,::RTT::Corba::WrongTypeArgException
00237     ));
00238 };
00239 
00240 
00241 #endif /* FACTORIESI_H_  */
00242 
Generated on Thu Dec 23 13:22:37 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3