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_CONTROLTASKS_H_
00032 #define _TAO_IDL__HOME_KALTAN_SRC_WWW_OROCOS_1_0_EXPORT_BUILD_OROCOS_RTT_1_12_1_BUILD_SRC_CORBA_CONTROLTASKS_H_
00033
00034
00035 #include "ControlTaskC.h"
00036 #include "OperationInterfaceS.h"
00037 #include "AttributesS.h"
00038 #include "ScriptingAccessS.h"
00039 #include "ServicesS.h"
00040 #include "DataFlowS.h"
00041
00042 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00043 # pragma once
00044 #endif
00045
00046 #include "tao/Collocation_Proxy_Broker.h"
00047 #include "tao/PortableServer/PortableServer.h"
00048 #include "tao/PortableServer/Servant_Base.h"
00049
00050
00051
00052
00053 namespace POA_RTT
00054 {
00055
00056
00057
00058
00059
00060 namespace Corba
00061 {
00062
00063
00064
00065
00066
00067 class ControlObject;
00068 typedef ControlObject *ControlObject_ptr;
00069
00070 class RTT_CORBA_API ControlObject
00071 : public virtual PortableServer::ServantBase
00072 {
00073 protected:
00074 ControlObject (void);
00075
00076 public:
00077
00078 typedef ::RTT::Corba::ControlObject _stub_type;
00079 typedef ::RTT::Corba::ControlObject_ptr _stub_ptr_type;
00080 typedef ::RTT::Corba::ControlObject_var _stub_var_type;
00081
00082 ControlObject (const ControlObject& rhs);
00083 virtual ~ControlObject (void);
00084
00085 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00086
00087 static void _is_a_skel (
00088 TAO_ServerRequest & req,
00089 void * servant_upcall,
00090 void * servant
00091 );
00092
00093 static void _non_existent_skel (
00094 TAO_ServerRequest & req,
00095 void * servant_upcall,
00096 void * servant
00097 );
00098
00099 static void _interface_skel (
00100 TAO_ServerRequest & req,
00101 void * servant_upcall,
00102 void * servant
00103 );
00104
00105 static void _component_skel (
00106 TAO_ServerRequest & req,
00107 void * servant_upcall,
00108 void * servant
00109 );
00110
00111 static void _repository_id_skel (
00112 TAO_ServerRequest & req,
00113 void * servant_upcall,
00114 void * servant);
00115
00116 virtual void _dispatch (
00117 TAO_ServerRequest & req,
00118 void * servant_upcall);
00119
00120 ::RTT::Corba::ControlObject *_this (void);
00121
00122 virtual const char* _interface_repository_id (void) const;
00123
00124
00125
00126
00127 virtual char * getName (
00128 void) = 0;
00129
00130 static void getName_skel (
00131 TAO_ServerRequest & server_request,
00132 void * servant_upcall,
00133 void * servant
00134 );
00135
00136
00137
00138
00139 virtual char * getDescription (
00140 void) = 0;
00141
00142 static void getDescription_skel (
00143 TAO_ServerRequest & server_request,
00144 void * servant_upcall,
00145 void * servant
00146 );
00147
00148
00149
00150
00151 virtual ::RTT::Corba::AttributeInterface_ptr attributes (
00152 void) = 0;
00153
00154 static void attributes_skel (
00155 TAO_ServerRequest & server_request,
00156 void * servant_upcall,
00157 void * servant
00158 );
00159
00160
00161
00162
00163 virtual ::RTT::Corba::MethodInterface_ptr methods (
00164 void) = 0;
00165
00166 static void methods_skel (
00167 TAO_ServerRequest & server_request,
00168 void * servant_upcall,
00169 void * servant
00170 );
00171
00172
00173
00174
00175 virtual ::RTT::Corba::CommandInterface_ptr commands (
00176 void) = 0;
00177
00178 static void commands_skel (
00179 TAO_ServerRequest & server_request,
00180 void * servant_upcall,
00181 void * servant
00182 );
00183
00184
00185
00186
00187 virtual ::RTT::Corba::ObjectList * getObjectList (
00188 void) = 0;
00189
00190 static void getObjectList_skel (
00191 TAO_ServerRequest & server_request,
00192 void * servant_upcall,
00193 void * servant
00194 );
00195
00196
00197
00198
00199 virtual ::RTT::Corba::ControlObject_ptr getObject (
00200 const char * name) = 0;
00201
00202 static void getObject_skel (
00203 TAO_ServerRequest & server_request,
00204 void * servant_upcall,
00205 void * servant
00206 );
00207
00208
00209
00210
00211 virtual ::CORBA::Boolean hasObject (
00212 const char * name) = 0;
00213
00214 static void hasObject_skel (
00215 TAO_ServerRequest & server_request,
00216 void * servant_upcall,
00217 void * servant
00218 );
00219 };
00220
00221
00222
00223
00224 class ControlTask;
00225 typedef ControlTask *ControlTask_ptr;
00226
00227 class RTT_CORBA_API ControlTask
00228 : public virtual POA_RTT::Corba::ControlObject
00229 {
00230 protected:
00231 ControlTask (void);
00232
00233 public:
00234
00235 typedef ::RTT::Corba::ControlTask _stub_type;
00236 typedef ::RTT::Corba::ControlTask_ptr _stub_ptr_type;
00237 typedef ::RTT::Corba::ControlTask_var _stub_var_type;
00238
00239 ControlTask (const ControlTask& rhs);
00240 virtual ~ControlTask (void);
00241
00242 virtual ::CORBA::Boolean _is_a (const char* logical_type_id);
00243
00244 static void _is_a_skel (
00245 TAO_ServerRequest & req,
00246 void * servant_upcall,
00247 void * servant
00248 );
00249
00250 static void _non_existent_skel (
00251 TAO_ServerRequest & req,
00252 void * servant_upcall,
00253 void * servant
00254 );
00255
00256 static void _interface_skel (
00257 TAO_ServerRequest & req,
00258 void * servant_upcall,
00259 void * servant
00260 );
00261
00262 static void _component_skel (
00263 TAO_ServerRequest & req,
00264 void * servant_upcall,
00265 void * servant
00266 );
00267
00268 static void _repository_id_skel (
00269 TAO_ServerRequest & req,
00270 void * servant_upcall,
00271 void * servant);
00272
00273 virtual void _dispatch (
00274 TAO_ServerRequest & req,
00275 void * servant_upcall);
00276
00277 ::RTT::Corba::ControlTask *_this (void);
00278
00279 virtual const char* _interface_repository_id (void) const;
00280
00281
00282
00283
00284 virtual ::RTT::Corba::TaskState getTaskState (
00285 void) = 0;
00286
00287 static void getTaskState_skel (
00288 TAO_ServerRequest & server_request,
00289 void * servant_upcall,
00290 void * servant
00291 );
00292
00293
00294
00295
00296 virtual ::CORBA::Boolean configure (
00297 void) = 0;
00298
00299 static void configure_skel (
00300 TAO_ServerRequest & server_request,
00301 void * servant_upcall,
00302 void * servant
00303 );
00304
00305
00306
00307
00308 virtual ::CORBA::Boolean start (
00309 void) = 0;
00310
00311 static void start_skel (
00312 TAO_ServerRequest & server_request,
00313 void * servant_upcall,
00314 void * servant
00315 );
00316
00317
00318
00319
00320 virtual ::CORBA::Boolean activate (
00321 void) = 0;
00322
00323 static void activate_skel (
00324 TAO_ServerRequest & server_request,
00325 void * servant_upcall,
00326 void * servant
00327 );
00328
00329
00330
00331
00332 virtual ::CORBA::Boolean stop (
00333 void) = 0;
00334
00335 static void stop_skel (
00336 TAO_ServerRequest & server_request,
00337 void * servant_upcall,
00338 void * servant
00339 );
00340
00341
00342
00343
00344 virtual ::CORBA::Boolean cleanup (
00345 void) = 0;
00346
00347 static void cleanup_skel (
00348 TAO_ServerRequest & server_request,
00349 void * servant_upcall,
00350 void * servant
00351 );
00352
00353
00354
00355
00356 virtual ::CORBA::Boolean resetError (
00357 void) = 0;
00358
00359 static void resetError_skel (
00360 TAO_ServerRequest & server_request,
00361 void * servant_upcall,
00362 void * servant
00363 );
00364
00365
00366
00367
00368 virtual ::CORBA::Boolean isActive (
00369 void) = 0;
00370
00371 static void isActive_skel (
00372 TAO_ServerRequest & server_request,
00373 void * servant_upcall,
00374 void * servant
00375 );
00376
00377
00378
00379
00380 virtual ::CORBA::Boolean isRunning (
00381 void) = 0;
00382
00383 static void isRunning_skel (
00384 TAO_ServerRequest & server_request,
00385 void * servant_upcall,
00386 void * servant
00387 );
00388
00389
00390
00391
00392 virtual ::CORBA::Boolean isConfigured (
00393 void) = 0;
00394
00395 static void isConfigured_skel (
00396 TAO_ServerRequest & server_request,
00397 void * servant_upcall,
00398 void * servant
00399 );
00400
00401
00402
00403
00404 virtual ::CORBA::Boolean inFatalError (
00405 void) = 0;
00406
00407 static void inFatalError_skel (
00408 TAO_ServerRequest & server_request,
00409 void * servant_upcall,
00410 void * servant
00411 );
00412
00413
00414
00415
00416 virtual ::CORBA::Boolean inRunTimeWarning (
00417 void) = 0;
00418
00419 static void inRunTimeWarning_skel (
00420 TAO_ServerRequest & server_request,
00421 void * servant_upcall,
00422 void * servant
00423 );
00424
00425
00426
00427
00428 virtual ::CORBA::Boolean inRunTimeError (
00429 void) = 0;
00430
00431 static void inRunTimeError_skel (
00432 TAO_ServerRequest & server_request,
00433 void * servant_upcall,
00434 void * servant
00435 );
00436
00437
00438
00439
00440 virtual ::CORBA::Long getWarningCount (
00441 void) = 0;
00442
00443 static void getWarningCount_skel (
00444 TAO_ServerRequest & server_request,
00445 void * servant_upcall,
00446 void * servant
00447 );
00448
00449
00450
00451
00452 virtual ::CORBA::Long getErrorCount (
00453 void) = 0;
00454
00455 static void getErrorCount_skel (
00456 TAO_ServerRequest & server_request,
00457 void * servant_upcall,
00458 void * servant
00459 );
00460
00461
00462
00463
00464 virtual ::RTT::Corba::ScriptingAccess_ptr scripting (
00465 void) = 0;
00466
00467 static void scripting_skel (
00468 TAO_ServerRequest & server_request,
00469 void * servant_upcall,
00470 void * servant
00471 );
00472
00473
00474
00475
00476 virtual ::RTT::Corba::ServiceInterface_ptr services (
00477 void) = 0;
00478
00479 static void services_skel (
00480 TAO_ServerRequest & server_request,
00481 void * servant_upcall,
00482 void * servant
00483 );
00484
00485
00486
00487
00488 virtual ::RTT::Corba::DataFlowInterface_ptr ports (
00489 void) = 0;
00490
00491 static void ports_skel (
00492 TAO_ServerRequest & server_request,
00493 void * servant_upcall,
00494 void * servant
00495 );
00496
00497
00498
00499
00500 virtual ::RTT::Corba::ControlTask::ControlTaskNames * getPeerList (
00501 void) = 0;
00502
00503 static void getPeerList_skel (
00504 TAO_ServerRequest & server_request,
00505 void * servant_upcall,
00506 void * servant
00507 );
00508
00509
00510
00511
00512 virtual ::RTT::Corba::ControlTask_ptr getPeer (
00513 const char * name) = 0;
00514
00515 static void getPeer_skel (
00516 TAO_ServerRequest & server_request,
00517 void * servant_upcall,
00518 void * servant
00519 );
00520
00521
00522
00523
00524 virtual ::CORBA::Boolean hasPeer (
00525 const char * name) = 0;
00526
00527 static void hasPeer_skel (
00528 TAO_ServerRequest & server_request,
00529 void * servant_upcall,
00530 void * servant
00531 );
00532
00533
00534
00535
00536 virtual ::CORBA::Boolean addPeer (
00537 ::RTT::Corba::ControlTask_ptr p,
00538 const char * alias) = 0;
00539
00540 static void addPeer_skel (
00541 TAO_ServerRequest & server_request,
00542 void * servant_upcall,
00543 void * servant
00544 );
00545
00546
00547
00548
00549 virtual ::CORBA::Boolean removePeer (
00550 const char * name) = 0;
00551
00552 static void removePeer_skel (
00553 TAO_ServerRequest & server_request,
00554 void * servant_upcall,
00555 void * servant
00556 );
00557
00558
00559
00560
00561 virtual ::CORBA::Boolean connectPeers (
00562 ::RTT::Corba::ControlTask_ptr p) = 0;
00563
00564 static void connectPeers_skel (
00565 TAO_ServerRequest & server_request,
00566 void * servant_upcall,
00567 void * servant
00568 );
00569
00570
00571
00572
00573 virtual ::CORBA::Boolean disconnectPeers (
00574 const char * name) = 0;
00575
00576 static void disconnectPeers_skel (
00577 TAO_ServerRequest & server_request,
00578 void * servant_upcall,
00579 void * servant
00580 );
00581
00582
00583
00584
00585 virtual ::CORBA::Boolean connectPorts (
00586 ::RTT::Corba::ControlTask_ptr p) = 0;
00587
00588 static void connectPorts_skel (
00589 TAO_ServerRequest & server_request,
00590 void * servant_upcall,
00591 void * servant
00592 );
00593
00594
00595
00596
00597 static void
00598 getName_skel (
00599 TAO_ServerRequest & server_request,
00600 void * servant_upcall,
00601 void * servant
00602 );
00603
00604
00605
00606
00607 static void
00608 getDescription_skel (
00609 TAO_ServerRequest & server_request,
00610 void * servant_upcall,
00611 void * servant
00612 );
00613
00614
00615
00616
00617 static void
00618 attributes_skel (
00619 TAO_ServerRequest & server_request,
00620 void * servant_upcall,
00621 void * servant
00622 );
00623
00624
00625
00626
00627 static void
00628 methods_skel (
00629 TAO_ServerRequest & server_request,
00630 void * servant_upcall,
00631 void * servant
00632 );
00633
00634
00635
00636
00637 static void
00638 commands_skel (
00639 TAO_ServerRequest & server_request,
00640 void * servant_upcall,
00641 void * servant
00642 );
00643
00644
00645
00646
00647 static void
00648 getObjectList_skel (
00649 TAO_ServerRequest & server_request,
00650 void * servant_upcall,
00651 void * servant
00652 );
00653
00654
00655
00656
00657 static void
00658 getObject_skel (
00659 TAO_ServerRequest & server_request,
00660 void * servant_upcall,
00661 void * servant
00662 );
00663
00664
00665
00666
00667 static void
00668 hasObject_skel (
00669 TAO_ServerRequest & server_request,
00670 void * servant_upcall,
00671 void * servant
00672 );
00673 };
00674
00675
00676
00677
00678 }
00679
00680
00681
00682
00683 }
00684
00685
00686
00687
00688
00689 #if defined (__ACE_INLINE__)
00690 #include "ControlTaskS.inl"
00691 #endif
00692
00693 #endif
00694