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