Go to the documentation of this file.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 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 
00067 
00068 
00069 #ifndef ORO_CORBA_OPERATIONREPOSITORYI_H_
00070 #define ORO_CORBA_OPERATIONREPOSITORYI_H_
00071 
00072 #include "corba.h"
00073 #ifdef CORBA_IS_TAO
00074 #include "OperationInterfaceS.h"
00075 #else
00076 #include "OperationInterfaceC.h"
00077 #endif
00078 #include "../../OperationInterface.hpp"
00079 #include "../../internal/SendHandleC.hpp"
00080 
00081 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00082 #pragma once
00083 #endif 
00084 
00085 class  RTT_corba_CSendHandle_i
00086   : public virtual POA_RTT::corba::CSendHandle,
00087   public virtual PortableServer::RefCountServantBase
00088 {
00089       RTT::internal::SendHandleC mhandle, morig;
00090       RTT::OperationInterfacePart* mofp;
00091       std::vector<RTT::base::DataSourceBase::shared_ptr> cargs;
00092 public:
00093   
00094   RTT_corba_CSendHandle_i (RTT::internal::SendHandleC const& sh, RTT::OperationInterfacePart* ofp);
00095 
00096   
00097   virtual ~RTT_corba_CSendHandle_i (void);
00098 
00099   virtual
00100   ::RTT::corba::CSendStatus collect (
00101       ::RTT::corba::CAnyArguments_out args);
00102 
00103   virtual
00104   ::RTT::corba::CSendStatus collectIfDone (
00105       ::RTT::corba::CAnyArguments_out args);
00106 
00107   virtual
00108   ::RTT::corba::CSendStatus checkStatus (
00109       void);
00110 
00111   virtual
00112   ::CORBA::Any * ret (
00113       void);
00114 
00115   virtual
00116   void checkArguments (
00117           const ::RTT::corba::CAnyArguments & args);
00118 
00119   virtual
00120   void dispose ();
00121 };
00122 
00123 class  RTT_corba_COperationInterface_i
00124   : public virtual POA_RTT::corba::COperationInterface
00125 {
00126       RTT::OperationInterface* mfact;
00127       PortableServer::POA_var mpoa;
00128   public:
00129     
00130       RTT_corba_COperationInterface_i(RTT::OperationInterface* mfact, PortableServer::POA_ptr the_poa);
00131 
00132       PortableServer::POA_ptr _default_POA();
00133 
00134   
00135   virtual ~RTT_corba_COperationInterface_i (void);
00136 
00137   virtual
00138   RTT::corba::COperationInterface::COperationList * getOperations (
00139       void);
00140 
00141   virtual
00142   ::RTT::corba::CDescriptions * getArguments (
00143       const char * operation);
00144 
00145   virtual
00146   char * getResultType (
00147       const char * operation);
00148 
00149   virtual
00150   char* getArgumentType(
00151           const char*,
00152           CORBA::UShort);
00153 
00154   virtual
00155   char* getCollectType(
00156           const char*,
00157           CORBA::UShort);
00158 
00159   virtual ::CORBA::UShort getArity (
00160       const char * operation);
00161 
00162   virtual ::CORBA::UShort getCollectArity (
00163       const char * operation);
00164 
00165   virtual
00166   char * getDescription (
00167       const char * operation);
00168 
00169   virtual
00170   void checkOperation (
00171       const char * operation,
00172       const ::RTT::corba::CAnyArguments & args);
00173 
00174   virtual
00175   ::CORBA::Any * callOperation (
00176       const char * operation,
00177       ::RTT::corba::CAnyArguments & args);
00178 
00179   virtual
00180   ::RTT::corba::CSendHandle_ptr sendOperation (
00181       const char * operation,
00182       const ::RTT::corba::CAnyArguments & args);
00183 };
00184 
00185 
00186 #endif 
00187