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_OPERATIONSS_H_
00032 #define _TAO_IDL__HOME_KALTAN_SRC_WWW_OROCOS_1_0_EXPORT_BUILD_OROCOS_RTT_1_12_1_BUILD_SRC_CORBA_OPERATIONSS_H_
00033
00034
00035 #include "OperationsC.h"
00036
00037 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00038 # pragma once
00039 #endif
00040
00041 #include "tao/Collocation_Proxy_Broker.h"
00042 #include "tao/PortableServer/PortableServer.h"
00043 #include "tao/PortableServer/Servant_Base.h"
00044
00045
00046
00047
00048 namespace POA_RTT
00049 {
00050
00051
00052
00053
00054
00055 namespace Corba
00056 {
00057
00058
00059
00060
00061
00062 class Expression;
00063 typedef Expression *Expression_ptr;
00064
00065 class RTT_CORBA_API Expression
00066 : public virtual PortableServer::ServantBase
00067 {
00068 protected:
00069 Expression (void);
00070
00071 public:
00072
00073 typedef ::RTT::Corba::Expression _stub_type;
00074 typedef ::RTT::Corba::Expression_ptr _stub_ptr_type;
00075 typedef ::RTT::Corba::Expression_var _stub_var_type;
00076
00077 Expression (const Expression& rhs);
00078 virtual ~Expression (void);
00079
00080 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00081
00082 static void _is_a_skel (
00083 TAO_ServerRequest & req,
00084 void * servant_upcall,
00085 void * servant
00086 );
00087
00088 static void _non_existent_skel (
00089 TAO_ServerRequest & req,
00090 void * servant_upcall,
00091 void * servant
00092 );
00093
00094 static void _interface_skel (
00095 TAO_ServerRequest & req,
00096 void * servant_upcall,
00097 void * servant
00098 );
00099
00100 static void _component_skel (
00101 TAO_ServerRequest & req,
00102 void * servant_upcall,
00103 void * servant
00104 );
00105
00106 static void _repository_id_skel (
00107 TAO_ServerRequest & req,
00108 void * servant_upcall,
00109 void * servant);
00110
00111 virtual void _dispatch (
00112 TAO_ServerRequest & req,
00113 void * servant_upcall);
00114
00115 ::RTT::Corba::Expression *_this (void);
00116
00117 virtual const char* _interface_repository_id (void) const;
00118
00119
00120
00121
00122 virtual ::CORBA::Any * value (
00123 void) = 0;
00124
00125 static void value_skel (
00126 TAO_ServerRequest & server_request,
00127 void * servant_upcall,
00128 void * servant
00129 );
00130
00131
00132
00133
00134 virtual ::CORBA::Boolean evaluate (
00135 void) = 0;
00136
00137 static void evaluate_skel (
00138 TAO_ServerRequest & server_request,
00139 void * servant_upcall,
00140 void * servant
00141 );
00142
00143
00144
00145
00146 virtual ::CORBA::Any * get (
00147 void) = 0;
00148
00149 static void get_skel (
00150 TAO_ServerRequest & server_request,
00151 void * servant_upcall,
00152 void * servant
00153 );
00154
00155
00156
00157
00158 virtual char * getType (
00159 void) = 0;
00160
00161 static void getType_skel (
00162 TAO_ServerRequest & server_request,
00163 void * servant_upcall,
00164 void * servant
00165 );
00166
00167
00168
00169
00170 virtual char * getTypeName (
00171 void) = 0;
00172
00173 static void getTypeName_skel (
00174 TAO_ServerRequest & server_request,
00175 void * servant_upcall,
00176 void * servant
00177 );
00178
00179
00180
00181
00182 virtual char * toString (
00183 void) = 0;
00184
00185 static void toString_skel (
00186 TAO_ServerRequest & server_request,
00187 void * servant_upcall,
00188 void * servant
00189 );
00190
00191
00192
00193
00194 virtual void destroyExpression (
00195 void) = 0;
00196
00197 static void destroyExpression_skel (
00198 TAO_ServerRequest & server_request,
00199 void * servant_upcall,
00200 void * servant
00201 );
00202 };
00203
00204
00205
00206
00207 class AssignableExpression;
00208 typedef AssignableExpression *AssignableExpression_ptr;
00209
00210 class RTT_CORBA_API AssignableExpression
00211 : public virtual POA_RTT::Corba::Expression
00212 {
00213 protected:
00214 AssignableExpression (void);
00215
00216 public:
00217
00218 typedef ::RTT::Corba::AssignableExpression _stub_type;
00219 typedef ::RTT::Corba::AssignableExpression_ptr _stub_ptr_type;
00220 typedef ::RTT::Corba::AssignableExpression_var _stub_var_type;
00221
00222 AssignableExpression (const AssignableExpression& rhs);
00223 virtual ~AssignableExpression (void);
00224
00225 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00226
00227 static void _is_a_skel (
00228 TAO_ServerRequest & req,
00229 void * servant_upcall,
00230 void * servant
00231 );
00232
00233 static void _non_existent_skel (
00234 TAO_ServerRequest & req,
00235 void * servant_upcall,
00236 void * servant
00237 );
00238
00239 static void _interface_skel (
00240 TAO_ServerRequest & req,
00241 void * servant_upcall,
00242 void * servant
00243 );
00244
00245 static void _component_skel (
00246 TAO_ServerRequest & req,
00247 void * servant_upcall,
00248 void * servant
00249 );
00250
00251 static void _repository_id_skel (
00252 TAO_ServerRequest & req,
00253 void * servant_upcall,
00254 void * servant);
00255
00256 virtual void _dispatch (
00257 TAO_ServerRequest & req,
00258 void * servant_upcall);
00259
00260 ::RTT::Corba::AssignableExpression *_this (void);
00261
00262 virtual const char* _interface_repository_id (void) const;
00263
00264
00265
00266
00267 virtual ::CORBA::Boolean set (
00268 const ::CORBA::Any & value) = 0;
00269
00270 static void set_skel (
00271 TAO_ServerRequest & server_request,
00272 void * servant_upcall,
00273 void * servant
00274 );
00275
00276
00277
00278
00279 virtual ::CORBA::Boolean fromString (
00280 const char * value) = 0;
00281
00282 static void fromString_skel (
00283 TAO_ServerRequest & server_request,
00284 void * servant_upcall,
00285 void * servant
00286 );
00287
00288
00289
00290
00291 static void
00292 value_skel (
00293 TAO_ServerRequest & server_request,
00294 void * servant_upcall,
00295 void * servant
00296 );
00297
00298
00299
00300
00301 static void
00302 evaluate_skel (
00303 TAO_ServerRequest & server_request,
00304 void * servant_upcall,
00305 void * servant
00306 );
00307
00308
00309
00310
00311 static void
00312 get_skel (
00313 TAO_ServerRequest & server_request,
00314 void * servant_upcall,
00315 void * servant
00316 );
00317
00318
00319
00320
00321 static void
00322 getType_skel (
00323 TAO_ServerRequest & server_request,
00324 void * servant_upcall,
00325 void * servant
00326 );
00327
00328
00329
00330
00331 static void
00332 getTypeName_skel (
00333 TAO_ServerRequest & server_request,
00334 void * servant_upcall,
00335 void * servant
00336 );
00337
00338
00339
00340
00341 static void
00342 toString_skel (
00343 TAO_ServerRequest & server_request,
00344 void * servant_upcall,
00345 void * servant
00346 );
00347
00348
00349
00350
00351 static void
00352 destroyExpression_skel (
00353 TAO_ServerRequest & server_request,
00354 void * servant_upcall,
00355 void * servant
00356 );
00357 };
00358
00359
00360
00361
00362 class Action;
00363 typedef Action *Action_ptr;
00364
00365 class RTT_CORBA_API Action
00366 : public virtual PortableServer::ServantBase
00367 {
00368 protected:
00369 Action (void);
00370
00371 public:
00372
00373 typedef ::RTT::Corba::Action _stub_type;
00374 typedef ::RTT::Corba::Action_ptr _stub_ptr_type;
00375 typedef ::RTT::Corba::Action_var _stub_var_type;
00376
00377 Action (const Action& rhs);
00378 virtual ~Action (void);
00379
00380 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00381
00382 static void _is_a_skel (
00383 TAO_ServerRequest & req,
00384 void * servant_upcall,
00385 void * servant
00386 );
00387
00388 static void _non_existent_skel (
00389 TAO_ServerRequest & req,
00390 void * servant_upcall,
00391 void * servant
00392 );
00393
00394 static void _interface_skel (
00395 TAO_ServerRequest & req,
00396 void * servant_upcall,
00397 void * servant
00398 );
00399
00400 static void _component_skel (
00401 TAO_ServerRequest & req,
00402 void * servant_upcall,
00403 void * servant
00404 );
00405
00406 static void _repository_id_skel (
00407 TAO_ServerRequest & req,
00408 void * servant_upcall,
00409 void * servant);
00410
00411 virtual void _dispatch (
00412 TAO_ServerRequest & req,
00413 void * servant_upcall);
00414
00415 ::RTT::Corba::Action *_this (void);
00416
00417 virtual const char* _interface_repository_id (void) const;
00418
00419
00420
00421
00422 virtual ::CORBA::Boolean execute (
00423 void) = 0;
00424
00425 static void execute_skel (
00426 TAO_ServerRequest & server_request,
00427 void * servant_upcall,
00428 void * servant
00429 );
00430
00431
00432
00433
00434 virtual ::CORBA::Boolean executeAny (
00435 const ::RTT::Corba::AnyArguments & args) = 0;
00436
00437 static void executeAny_skel (
00438 TAO_ServerRequest & server_request,
00439 void * servant_upcall,
00440 void * servant
00441 );
00442
00443
00444
00445
00446 virtual void reset (
00447 void) = 0;
00448
00449 static void reset_skel (
00450 TAO_ServerRequest & server_request,
00451 void * servant_upcall,
00452 void * servant
00453 );
00454
00455
00456
00457
00458 virtual void destroyAction (
00459 void) = 0;
00460
00461 static void destroyAction_skel (
00462 TAO_ServerRequest & server_request,
00463 void * servant_upcall,
00464 void * servant
00465 );
00466 };
00467
00468
00469
00470
00471 class Method;
00472 typedef Method *Method_ptr;
00473
00474 class RTT_CORBA_API Method
00475 : public virtual POA_RTT::Corba::Expression,
00476 public virtual POA_RTT::Corba::Action
00477 {
00478 protected:
00479 Method (void);
00480
00481 public:
00482
00483 typedef ::RTT::Corba::Method _stub_type;
00484 typedef ::RTT::Corba::Method_ptr _stub_ptr_type;
00485 typedef ::RTT::Corba::Method_var _stub_var_type;
00486
00487 Method (const Method& rhs);
00488 virtual ~Method (void);
00489
00490 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00491
00492 static void _is_a_skel (
00493 TAO_ServerRequest & req,
00494 void * servant_upcall,
00495 void * servant
00496 );
00497
00498 static void _non_existent_skel (
00499 TAO_ServerRequest & req,
00500 void * servant_upcall,
00501 void * servant
00502 );
00503
00504 static void _interface_skel (
00505 TAO_ServerRequest & req,
00506 void * servant_upcall,
00507 void * servant
00508 );
00509
00510 static void _component_skel (
00511 TAO_ServerRequest & req,
00512 void * servant_upcall,
00513 void * servant
00514 );
00515
00516 static void _repository_id_skel (
00517 TAO_ServerRequest & req,
00518 void * servant_upcall,
00519 void * servant);
00520
00521 virtual void _dispatch (
00522 TAO_ServerRequest & req,
00523 void * servant_upcall);
00524
00525 ::RTT::Corba::Method *_this (void);
00526
00527 virtual const char* _interface_repository_id (void) const;
00528
00529
00530
00531
00532 static void
00533 value_skel (
00534 TAO_ServerRequest & server_request,
00535 void * servant_upcall,
00536 void * servant
00537 );
00538
00539
00540
00541
00542 static void
00543 evaluate_skel (
00544 TAO_ServerRequest & server_request,
00545 void * servant_upcall,
00546 void * servant
00547 );
00548
00549
00550
00551
00552 static void
00553 get_skel (
00554 TAO_ServerRequest & server_request,
00555 void * servant_upcall,
00556 void * servant
00557 );
00558
00559
00560
00561
00562 static void
00563 getType_skel (
00564 TAO_ServerRequest & server_request,
00565 void * servant_upcall,
00566 void * servant
00567 );
00568
00569
00570
00571
00572 static void
00573 getTypeName_skel (
00574 TAO_ServerRequest & server_request,
00575 void * servant_upcall,
00576 void * servant
00577 );
00578
00579
00580
00581
00582 static void
00583 toString_skel (
00584 TAO_ServerRequest & server_request,
00585 void * servant_upcall,
00586 void * servant
00587 );
00588
00589
00590
00591
00592 static void
00593 destroyExpression_skel (
00594 TAO_ServerRequest & server_request,
00595 void * servant_upcall,
00596 void * servant
00597 );
00598
00599
00600
00601
00602 static void
00603 execute_skel (
00604 TAO_ServerRequest & server_request,
00605 void * servant_upcall,
00606 void * servant
00607 );
00608
00609
00610
00611
00612 static void
00613 executeAny_skel (
00614 TAO_ServerRequest & server_request,
00615 void * servant_upcall,
00616 void * servant
00617 );
00618
00619
00620
00621
00622 static void
00623 reset_skel (
00624 TAO_ServerRequest & server_request,
00625 void * servant_upcall,
00626 void * servant
00627 );
00628
00629
00630
00631
00632 static void
00633 destroyAction_skel (
00634 TAO_ServerRequest & server_request,
00635 void * servant_upcall,
00636 void * servant
00637 );
00638 };
00639
00640
00641
00642
00643 class Command;
00644 typedef Command *Command_ptr;
00645
00646 class RTT_CORBA_API Command
00647 : public virtual PortableServer::ServantBase
00648 {
00649 protected:
00650 Command (void);
00651
00652 public:
00653
00654 typedef ::RTT::Corba::Command _stub_type;
00655 typedef ::RTT::Corba::Command_ptr _stub_ptr_type;
00656 typedef ::RTT::Corba::Command_var _stub_var_type;
00657
00658 Command (const Command& rhs);
00659 virtual ~Command (void);
00660
00661 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00662
00663 static void _is_a_skel (
00664 TAO_ServerRequest & req,
00665 void * servant_upcall,
00666 void * servant
00667 );
00668
00669 static void _non_existent_skel (
00670 TAO_ServerRequest & req,
00671 void * servant_upcall,
00672 void * servant
00673 );
00674
00675 static void _interface_skel (
00676 TAO_ServerRequest & req,
00677 void * servant_upcall,
00678 void * servant
00679 );
00680
00681 static void _component_skel (
00682 TAO_ServerRequest & req,
00683 void * servant_upcall,
00684 void * servant
00685 );
00686
00687 static void _repository_id_skel (
00688 TAO_ServerRequest & req,
00689 void * servant_upcall,
00690 void * servant);
00691
00692 virtual void _dispatch (
00693 TAO_ServerRequest & req,
00694 void * servant_upcall);
00695
00696 ::RTT::Corba::Command *_this (void);
00697
00698 virtual const char* _interface_repository_id (void) const;
00699
00700
00701
00702
00703 virtual ::CORBA::Boolean execute (
00704 void) = 0;
00705
00706 static void execute_skel (
00707 TAO_ServerRequest & server_request,
00708 void * servant_upcall,
00709 void * servant
00710 );
00711
00712
00713
00714
00715 virtual ::CORBA::Boolean executeAny (
00716 const ::RTT::Corba::AnyArguments & args) = 0;
00717
00718 static void executeAny_skel (
00719 TAO_ServerRequest & server_request,
00720 void * servant_upcall,
00721 void * servant
00722 );
00723
00724
00725
00726
00727 virtual ::CORBA::Boolean sent (
00728 void) = 0;
00729
00730 static void sent_skel (
00731 TAO_ServerRequest & server_request,
00732 void * servant_upcall,
00733 void * servant
00734 );
00735
00736
00737
00738
00739 virtual ::CORBA::Boolean accepted (
00740 void) = 0;
00741
00742 static void accepted_skel (
00743 TAO_ServerRequest & server_request,
00744 void * servant_upcall,
00745 void * servant
00746 );
00747
00748
00749
00750
00751 virtual ::CORBA::Boolean executed (
00752 void) = 0;
00753
00754 static void executed_skel (
00755 TAO_ServerRequest & server_request,
00756 void * servant_upcall,
00757 void * servant
00758 );
00759
00760
00761
00762
00763 virtual ::CORBA::Boolean valid (
00764 void) = 0;
00765
00766 static void valid_skel (
00767 TAO_ServerRequest & server_request,
00768 void * servant_upcall,
00769 void * servant
00770 );
00771
00772
00773
00774
00775 virtual ::CORBA::Boolean done (
00776 void) = 0;
00777
00778 static void done_skel (
00779 TAO_ServerRequest & server_request,
00780 void * servant_upcall,
00781 void * servant
00782 );
00783
00784
00785
00786
00787 virtual void reset (
00788 void) = 0;
00789
00790 static void reset_skel (
00791 TAO_ServerRequest & server_request,
00792 void * servant_upcall,
00793 void * servant
00794 );
00795
00796
00797
00798
00799 virtual void destroyCommand (
00800 void) = 0;
00801
00802 static void destroyCommand_skel (
00803 TAO_ServerRequest & server_request,
00804 void * servant_upcall,
00805 void * servant
00806 );
00807 };
00808
00809
00810
00811
00812 }
00813
00814
00815
00816
00817 }
00818
00819
00820
00821
00822
00823 #if defined (__ACE_INLINE__)
00824 #include "OperationsS.inl"
00825 #endif
00826
00827 #endif
00828