ScriptingAccessI.h

00001 /***************************************************************************
00002   tag: Peter Soetens  Mon Jun 26 13:25:58 CEST 2006  ScriptingAccessI.h
00003 
00004                         ScriptingAccessI.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 SCRIPTINGACCESSI_H_
00070 #define SCRIPTINGACCESSI_H_
00071 
00072 #include "../rtt-config.h"
00073 #include "corba.h"
00074 #include "corba.h"
00075 #ifdef CORBA_IS_TAO
00076 #include "ScriptingAccessS.h"
00077 #else
00078 #include "ScriptingAccessC.h"
00079 #endif
00080 #include "OperationsC.h"
00081 #include "../ScriptingAccess.hpp"
00082 
00083 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00084 #pragma once
00085 #endif /* ACE_LACKS_PRAGMA_ONCE */
00086 
00087 class  Orocos_ScriptingAccess_i : public virtual POA_RTT::Corba::ScriptingAccess, public virtual PortableServer::RefCountServantBase
00088 {
00089     RTT::ScriptingAccess* mee;
00090     PortableServer::POA_var mpoa;
00091 public:
00092   //Constructor
00093   Orocos_ScriptingAccess_i (RTT::ScriptingAccess* ee, PortableServer::POA_ptr p);
00094 
00095   //Destructor
00096   virtual ~Orocos_ScriptingAccess_i (void);
00097 
00098     PortableServer::POA_ptr _default_POA()
00099     {
00100         return PortableServer::POA::_duplicate(mpoa);
00101     }
00102 
00103   virtual
00104   void loadPrograms (
00105       const char * code,
00106       const char * filename
00107     )
00108     ACE_THROW_SPEC ((
00109       CORBA::SystemException,
00110       ::RTT::Corba::ScriptingAccess::LoadException
00111     ));
00112 
00113   virtual
00114   void unloadProgram (
00115       const char * name
00116     )
00117     ACE_THROW_SPEC ((
00118       CORBA::SystemException,
00119       ::RTT::Corba::ScriptingAccess::LoadException
00120     ));
00121 
00122   virtual
00123   ::RTT::Corba::ScriptingAccess::ProgramNames * getPrograms (
00124 
00125     )
00126     ACE_THROW_SPEC ((
00127       CORBA::SystemException
00128     ));
00129 
00130   virtual
00131   CORBA::Boolean hasProgram (
00132       const char * name
00133     )
00134     ACE_THROW_SPEC ((
00135       CORBA::SystemException
00136     ));
00137 
00138   virtual
00139   CORBA::Long getProgramLine (
00140       const char * name
00141     )
00142     ACE_THROW_SPEC ((
00143       CORBA::SystemException
00144     ));
00145 
00146   virtual
00147   char * getProgramText (
00148       const char * name
00149     )
00150     ACE_THROW_SPEC ((
00151       CORBA::SystemException
00152     ));
00153 
00154   virtual
00155   char * getProgramStatus (
00156       const char * name
00157     )
00158     ACE_THROW_SPEC ((
00159       CORBA::SystemException
00160     ));
00161 
00162   virtual
00163   void loadStateMachines (
00164       const char * code,
00165       const char * filename
00166     )
00167     ACE_THROW_SPEC ((
00168       CORBA::SystemException,
00169       ::RTT::Corba::ScriptingAccess::LoadException
00170     ));
00171 
00172   virtual
00173   void unloadStateMachine (
00174       const char * name
00175     )
00176     ACE_THROW_SPEC ((
00177       CORBA::SystemException,
00178       ::RTT::Corba::ScriptingAccess::LoadException
00179     ));
00180 
00181   virtual
00182   ::RTT::Corba::ScriptingAccess::StateMachineNames * getStateMachines (
00183 
00184     )
00185     ACE_THROW_SPEC ((
00186       CORBA::SystemException
00187     ));
00188 
00189   virtual
00190   CORBA::Boolean hasStateMachine (
00191       const char * name
00192     )
00193     ACE_THROW_SPEC ((
00194       CORBA::SystemException
00195     ));
00196 
00197   virtual
00198   char * getStateMachineText (
00199       const char * name
00200     )
00201     ACE_THROW_SPEC ((
00202       CORBA::SystemException
00203     ));
00204 
00205   virtual
00206   char * getStateMachineStatus (
00207       const char * name
00208     )
00209     ACE_THROW_SPEC ((
00210       CORBA::SystemException
00211     ));
00212 
00213   virtual
00214   CORBA::Long getStateMachineLine (
00215       const char * name
00216     )
00217     ACE_THROW_SPEC ((
00218       CORBA::SystemException
00219     ));
00220 
00221   virtual
00222   char * getCurrentState (
00223       const char * name
00224     )
00225     ACE_THROW_SPEC ((
00226       CORBA::SystemException
00227     ));
00228 
00229   virtual
00230   CORBA::Long execute (
00231       const char * code
00232     )
00233     ACE_THROW_SPEC ((
00234       CORBA::SystemException
00235     ));
00236 
00237   virtual
00238   ::RTT::Corba::Command_ptr getCommand (
00239       CORBA::Long ticket
00240     )
00241     ACE_THROW_SPEC ((
00242       CORBA::SystemException
00243     ));
00244 };
00245 
00246 
00247 #endif /* SCRIPTINGACCESSI_H_  */
00248 

Generated on Tue Aug 25 14:17:22 2009 for Orocos Real-Time Toolkit by  doxygen 1.5.8