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_OPERATIONINTERFACES_H_
00032 #define _TAO_IDL__HOME_KALTAN_SRC_WWW_OROCOS_1_0_EXPORT_BUILD_OROCOS_RTT_1_12_1_BUILD_SRC_CORBA_OPERATIONINTERFACES_H_
00033
00034
00035 #include "OperationInterfaceC.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 MethodInterface;
00087 typedef MethodInterface *MethodInterface_ptr;
00088
00089 class RTT_CORBA_API MethodInterface
00090 : public virtual PortableServer::ServantBase
00091 {
00092 protected:
00093 MethodInterface (void);
00094
00095 public:
00096
00097 typedef ::RTT::Corba::MethodInterface _stub_type;
00098 typedef ::RTT::Corba::MethodInterface_ptr _stub_ptr_type;
00099 typedef ::RTT::Corba::MethodInterface_var _stub_var_type;
00100
00101 MethodInterface (const MethodInterface& rhs);
00102 virtual ~MethodInterface (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::MethodInterface *_this (void);
00140
00141 virtual const char* _interface_repository_id (void) const;
00142
00143
00144
00145
00146 virtual ::RTT::Corba::MethodList * getMethods (
00147 void) = 0;
00148
00149 static void getMethods_skel (
00150 TAO_ServerRequest & server_request,
00151 void * servant_upcall,
00152 void * servant
00153 );
00154
00155
00156
00157
00158 virtual ::RTT::Corba::Descriptions * getArguments (
00159 const char * method) = 0;
00160
00161 static void getArguments_skel (
00162 TAO_ServerRequest & server_request,
00163 void * servant_upcall,
00164 void * servant
00165 );
00166
00167
00168
00169
00170 virtual char * getResultType (
00171 const char * method) = 0;
00172
00173 static void getResultType_skel (
00174 TAO_ServerRequest & server_request,
00175 void * servant_upcall,
00176 void * servant
00177 );
00178
00179
00180
00181
00182 virtual char * getDescription (
00183 const char * method) = 0;
00184
00185 static void getDescription_skel (
00186 TAO_ServerRequest & server_request,
00187 void * servant_upcall,
00188 void * servant
00189 );
00190
00191
00192
00193
00194 virtual ::RTT::Corba::Method_ptr createMethod (
00195 const char * method,
00196 const ::RTT::Corba::Arguments & args) = 0;
00197
00198 static void createMethod_skel (
00199 TAO_ServerRequest & server_request,
00200 void * servant_upcall,
00201 void * servant
00202 );
00203
00204
00205
00206
00207 virtual ::RTT::Corba::Method_ptr createMethodAny (
00208 const char * method,
00209 const ::RTT::Corba::AnyArguments & args) = 0;
00210
00211 static void createMethodAny_skel (
00212 TAO_ServerRequest & server_request,
00213 void * servant_upcall,
00214 void * servant
00215 );
00216 };
00217
00218
00219
00220
00221 class CommandInterface;
00222 typedef CommandInterface *CommandInterface_ptr;
00223
00224 class RTT_CORBA_API CommandInterface
00225 : public virtual PortableServer::ServantBase
00226 {
00227 protected:
00228 CommandInterface (void);
00229
00230 public:
00231
00232 typedef ::RTT::Corba::CommandInterface _stub_type;
00233 typedef ::RTT::Corba::CommandInterface_ptr _stub_ptr_type;
00234 typedef ::RTT::Corba::CommandInterface_var _stub_var_type;
00235
00236 CommandInterface (const CommandInterface& rhs);
00237 virtual ~CommandInterface (void);
00238
00239 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00240
00241 static void _is_a_skel (
00242 TAO_ServerRequest & req,
00243 void * servant_upcall,
00244 void * servant
00245 );
00246
00247 static void _non_existent_skel (
00248 TAO_ServerRequest & req,
00249 void * servant_upcall,
00250 void * servant
00251 );
00252
00253 static void _interface_skel (
00254 TAO_ServerRequest & req,
00255 void * servant_upcall,
00256 void * servant
00257 );
00258
00259 static void _component_skel (
00260 TAO_ServerRequest & req,
00261 void * servant_upcall,
00262 void * servant
00263 );
00264
00265 static void _repository_id_skel (
00266 TAO_ServerRequest & req,
00267 void * servant_upcall,
00268 void * servant);
00269
00270 virtual void _dispatch (
00271 TAO_ServerRequest & req,
00272 void * servant_upcall);
00273
00274 ::RTT::Corba::CommandInterface *_this (void);
00275
00276 virtual const char* _interface_repository_id (void) const;
00277
00278
00279
00280
00281 virtual ::RTT::Corba::CommandList * getCommands (
00282 void) = 0;
00283
00284 static void getCommands_skel (
00285 TAO_ServerRequest & server_request,
00286 void * servant_upcall,
00287 void * servant
00288 );
00289
00290
00291
00292
00293 virtual ::RTT::Corba::Descriptions * getArguments (
00294 const char * command) = 0;
00295
00296 static void getArguments_skel (
00297 TAO_ServerRequest & server_request,
00298 void * servant_upcall,
00299 void * servant
00300 );
00301
00302
00303
00304
00305 virtual char * getResultType (
00306 const char * command) = 0;
00307
00308 static void getResultType_skel (
00309 TAO_ServerRequest & server_request,
00310 void * servant_upcall,
00311 void * servant
00312 );
00313
00314
00315
00316
00317 virtual char * getDescription (
00318 const char * command) = 0;
00319
00320 static void getDescription_skel (
00321 TAO_ServerRequest & server_request,
00322 void * servant_upcall,
00323 void * servant
00324 );
00325
00326
00327
00328
00329 virtual ::RTT::Corba::Command_ptr createCommand (
00330 const char * command,
00331 const ::RTT::Corba::Arguments & args) = 0;
00332
00333 static void createCommand_skel (
00334 TAO_ServerRequest & server_request,
00335 void * servant_upcall,
00336 void * servant
00337 );
00338
00339
00340
00341
00342 virtual ::RTT::Corba::Command_ptr createCommandAny (
00343 const char * command,
00344 const ::RTT::Corba::AnyArguments & args) = 0;
00345
00346 static void createCommandAny_skel (
00347 TAO_ServerRequest & server_request,
00348 void * servant_upcall,
00349 void * servant
00350 );
00351 };
00352
00353
00354
00355
00356 }
00357
00358
00359
00360
00361 }
00362
00363
00364
00365
00366
00367 #if defined (__ACE_INLINE__)
00368 #include "OperationInterfaceS.inl"
00369 #endif
00370
00371 #endif
00372