00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _TAO_IDL__HOME_KALTAN_SRC_WWW_OROCOS_1_0_EXPORT_BUILD_OROCOS_RTT_1_12_1_BUILD_SRC_CORBA_SCRIPTINGACCESSS_H_
00032 #define _TAO_IDL__HOME_KALTAN_SRC_WWW_OROCOS_1_0_EXPORT_BUILD_OROCOS_RTT_1_12_1_BUILD_SRC_CORBA_SCRIPTINGACCESSS_H_
00033
00034
00035 #include "ScriptingAccessC.h"
00036 #include "tao/BooleanSeqS.h"
00037 #include "tao/CharSeqS.h"
00038 #include "tao/DoubleSeqS.h"
00039 #include "tao/FloatSeqS.h"
00040 #include "tao/LongDoubleSeqS.h"
00041 #include "tao/LongSeqS.h"
00042 #include "tao/OctetSeqS.h"
00043 #include "tao/ShortSeqS.h"
00044 #include "tao/StringSeqS.h"
00045 #include "tao/ULongSeqS.h"
00046 #include "tao/UShortSeqS.h"
00047 #include "tao/WCharSeqS.h"
00048 #include "tao/WStringSeqS.h"
00049 #include "tao/LongLongSeqS.h"
00050 #include "tao/ULongLongSeqS.h"
00051 #include "tao/PolicyS.h"
00052 #include "tao/Policy_ManagerS.h"
00053 #include "tao/Policy_CurrentS.h"
00054 #include "tao/ServicesS.h"
00055 #include "tao/ParameterModeS.h"
00056 #include "tao/orb_typesS.h"
00057 #include "tao/Typecode_typesS.h"
00058 #include "tao/WrongTransactionS.h"
00059 #include "OperationsS.h"
00060
00061 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00062 # pragma once
00063 #endif
00064
00065 #include "tao/Collocation_Proxy_Broker.h"
00066 #include "tao/PortableServer/PortableServer.h"
00067 #include "tao/PortableServer/Servant_Base.h"
00068
00069
00070
00071
00072 namespace POA_RTT
00073 {
00074
00075
00076
00077
00078
00079 namespace Corba
00080 {
00081
00082
00083
00084
00085
00086 class ScriptingAccess;
00087 typedef ScriptingAccess *ScriptingAccess_ptr;
00088
00089 class RTT_CORBA_API ScriptingAccess
00090 : public virtual PortableServer::ServantBase
00091 {
00092 protected:
00093 ScriptingAccess (void);
00094
00095 public:
00096
00097 typedef ::RTT::Corba::ScriptingAccess _stub_type;
00098 typedef ::RTT::Corba::ScriptingAccess_ptr _stub_ptr_type;
00099 typedef ::RTT::Corba::ScriptingAccess_var _stub_var_type;
00100
00101 ScriptingAccess (const ScriptingAccess& rhs);
00102 virtual ~ScriptingAccess (void);
00103
00104 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00105
00106 static void _is_a_skel (
00107 TAO_ServerRequest & req,
00108 void * servant_upcall,
00109 void * servant
00110 );
00111
00112 static void _non_existent_skel (
00113 TAO_ServerRequest & req,
00114 void * servant_upcall,
00115 void * servant
00116 );
00117
00118 static void _interface_skel (
00119 TAO_ServerRequest & req,
00120 void * servant_upcall,
00121 void * servant
00122 );
00123
00124 static void _component_skel (
00125 TAO_ServerRequest & req,
00126 void * servant_upcall,
00127 void * servant
00128 );
00129
00130 static void _repository_id_skel (
00131 TAO_ServerRequest & req,
00132 void * servant_upcall,
00133 void * servant);
00134
00135 virtual void _dispatch (
00136 TAO_ServerRequest & req,
00137 void * servant_upcall);
00138
00139 ::RTT::Corba::ScriptingAccess *_this (void);
00140
00141 virtual const char* _interface_repository_id (void) const;
00142
00143
00144
00145
00146 virtual ::CORBA::Long execute (
00147 const char * code) = 0;
00148
00149 static void execute_skel (
00150 TAO_ServerRequest & server_request,
00151 void * servant_upcall,
00152 void * servant
00153 );
00154
00155
00156
00157
00158 virtual ::RTT::Corba::Command_ptr getCommand (
00159 ::CORBA::Long ticket) = 0;
00160
00161 static void getCommand_skel (
00162 TAO_ServerRequest & server_request,
00163 void * servant_upcall,
00164 void * servant
00165 );
00166
00167
00168
00169
00170 virtual void loadPrograms (
00171 const char * code,
00172 const char * filename) = 0;
00173
00174 static void loadPrograms_skel (
00175 TAO_ServerRequest & server_request,
00176 void * servant_upcall,
00177 void * servant
00178 );
00179
00180
00181
00182
00183 virtual void unloadProgram (
00184 const char * name) = 0;
00185
00186 static void unloadProgram_skel (
00187 TAO_ServerRequest & server_request,
00188 void * servant_upcall,
00189 void * servant
00190 );
00191
00192
00193
00194
00195 virtual ::CORBA::Boolean hasProgram (
00196 const char * name) = 0;
00197
00198 static void hasProgram_skel (
00199 TAO_ServerRequest & server_request,
00200 void * servant_upcall,
00201 void * servant
00202 );
00203
00204
00205
00206
00207 virtual ::RTT::Corba::ScriptingAccess::ProgramNames * getPrograms (
00208 void) = 0;
00209
00210 static void getPrograms_skel (
00211 TAO_ServerRequest & server_request,
00212 void * servant_upcall,
00213 void * servant
00214 );
00215
00216
00217
00218
00219 virtual ::CORBA::Long getProgramLine (
00220 const char * name) = 0;
00221
00222 static void getProgramLine_skel (
00223 TAO_ServerRequest & server_request,
00224 void * servant_upcall,
00225 void * servant
00226 );
00227
00228
00229
00230
00231 virtual char * getProgramText (
00232 const char * name) = 0;
00233
00234 static void getProgramText_skel (
00235 TAO_ServerRequest & server_request,
00236 void * servant_upcall,
00237 void * servant
00238 );
00239
00240
00241
00242
00243 virtual char * getProgramStatus (
00244 const char * name) = 0;
00245
00246 static void getProgramStatus_skel (
00247 TAO_ServerRequest & server_request,
00248 void * servant_upcall,
00249 void * servant
00250 );
00251
00252
00253
00254
00255 virtual void loadStateMachines (
00256 const char * code,
00257 const char * filename) = 0;
00258
00259 static void loadStateMachines_skel (
00260 TAO_ServerRequest & server_request,
00261 void * servant_upcall,
00262 void * servant
00263 );
00264
00265
00266
00267
00268 virtual void unloadStateMachine (
00269 const char * name) = 0;
00270
00271 static void unloadStateMachine_skel (
00272 TAO_ServerRequest & server_request,
00273 void * servant_upcall,
00274 void * servant
00275 );
00276
00277
00278
00279
00280 virtual ::CORBA::Boolean hasStateMachine (
00281 const char * name) = 0;
00282
00283 static void hasStateMachine_skel (
00284 TAO_ServerRequest & server_request,
00285 void * servant_upcall,
00286 void * servant
00287 );
00288
00289
00290
00291
00292 virtual ::RTT::Corba::ScriptingAccess::StateMachineNames * getStateMachines (
00293 void) = 0;
00294
00295 static void getStateMachines_skel (
00296 TAO_ServerRequest & server_request,
00297 void * servant_upcall,
00298 void * servant
00299 );
00300
00301
00302
00303
00304 virtual char * getStateMachineText (
00305 const char * name) = 0;
00306
00307 static void getStateMachineText_skel (
00308 TAO_ServerRequest & server_request,
00309 void * servant_upcall,
00310 void * servant
00311 );
00312
00313
00314
00315
00316 virtual char * getStateMachineStatus (
00317 const char * name) = 0;
00318
00319 static void getStateMachineStatus_skel (
00320 TAO_ServerRequest & server_request,
00321 void * servant_upcall,
00322 void * servant
00323 );
00324
00325
00326
00327
00328 virtual ::CORBA::Long getStateMachineLine (
00329 const char * name) = 0;
00330
00331 static void getStateMachineLine_skel (
00332 TAO_ServerRequest & server_request,
00333 void * servant_upcall,
00334 void * servant
00335 );
00336
00337
00338
00339
00340 virtual char * getCurrentState (
00341 const char * name) = 0;
00342
00343 static void getCurrentState_skel (
00344 TAO_ServerRequest & server_request,
00345 void * servant_upcall,
00346 void * servant
00347 );
00348 };
00349
00350
00351
00352
00353 }
00354
00355
00356
00357
00358 }
00359
00360
00361
00362
00363
00364 #if defined (__ACE_INLINE__)
00365 #include "ScriptingAccessS.inl"
00366 #endif
00367
00368 #endif
00369