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 #ifndef _TAO_PIDL_RTCORBA_RT_PROTOCOLPROPERTIESC_H_
00032 #define _TAO_PIDL_RTCORBA_RT_PROTOCOLPROPERTIESC_H_
00033
00034 #include "ace/pre.h"
00035
00036 #ifndef TAO_RTCORBA_SAFE_INCLUDE
00037 #error You should not include RTCORBA/RT_ProtocolPropertiesC.h, use tao/RTCORBA/RTCORBA.h
00038 #endif
00039
00040 #include "ace/config-all.h"
00041
00042 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00043 # pragma once
00044 #endif
00045
00046 #include "tao/RTCORBA/rtcorba_export.h"
00047 #include "tao/Basic_Types.h"
00048 #include "tao/Object.h"
00049 #include "tao/Objref_VarOut_T.h"
00050 #include "tao/Versioned_Namespace.h"
00051
00052 #if defined (TAO_EXPORT_MACRO)
00053 #undef TAO_EXPORT_MACRO
00054 #endif
00055 #define TAO_EXPORT_MACRO TAO_RTCORBA_Export
00056
00057 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00058
00059
00060
00061
00062
00063
00064 namespace RTCORBA
00065 {
00066
00067
00068
00069
00070 #if !defined (_RTCORBA_PROTOCOLPROPERTIES__VAR_OUT_CH_)
00071 #define _RTCORBA_PROTOCOLPROPERTIES__VAR_OUT_CH_
00072
00073 class ProtocolProperties;
00074 typedef ProtocolProperties *ProtocolProperties_ptr;
00075
00076 typedef
00077 TAO_Objref_Var_T<
00078 ProtocolProperties
00079 >
00080 ProtocolProperties_var;
00081
00082 typedef
00083 TAO_Objref_Out_T<
00084 ProtocolProperties
00085 >
00086 ProtocolProperties_out;
00087
00088 #endif
00089
00090
00091
00092
00093 #if !defined (_RTCORBA_PROTOCOLPROPERTIES_CH_)
00094 #define _RTCORBA_PROTOCOLPROPERTIES_CH_
00095
00096 class TAO_RTCORBA_Export ProtocolProperties
00097 : public virtual ::CORBA::Object
00098 {
00099 public:
00100 typedef ProtocolProperties_ptr _ptr_type;
00101 typedef ProtocolProperties_var _var_type;
00102 typedef ProtocolProperties_out _out_type;
00103
00104
00105 static ProtocolProperties_ptr _duplicate (ProtocolProperties_ptr obj);
00106
00107 static void _tao_release (ProtocolProperties_ptr obj);
00108
00109 static ProtocolProperties_ptr _narrow (::CORBA::Object_ptr obj);
00110 static ProtocolProperties_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
00111 static ProtocolProperties_ptr _nil (void)
00112 {
00113 return static_cast<ProtocolProperties_ptr> (0);
00114 }
00115
00116 static void _tao_any_destructor (void *);
00117
00118
00119
00120
00121 virtual ::CORBA::Boolean _is_a (const char *type_id);
00122 virtual const char* _interface_repository_id (void) const;
00123 virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
00124
00125
00126 virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr);
00127 virtual CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr);
00128
00129 protected:
00130
00131 ProtocolProperties (void);
00132
00133 virtual ~ProtocolProperties (void);
00134
00135 private:
00136
00137 ProtocolProperties (const ProtocolProperties &);
00138
00139 void operator= (const ProtocolProperties &);
00140 };
00141
00142 #endif
00143
00144
00145
00146
00147 }
00148
00149
00150
00151
00152
00153 TAO_END_VERSIONED_NAMESPACE_DECL
00154
00155
00156 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00157
00158
00159 namespace TAO
00160 {
00161
00162 #if !defined (_RTCORBA_PROTOCOLPROPERTIES__TRAITS_)
00163 #define _RTCORBA_PROTOCOLPROPERTIES__TRAITS_
00164
00165 template<>
00166 struct TAO_RTCORBA_Export Objref_Traits< ::RTCORBA::ProtocolProperties>
00167 {
00168 static ::RTCORBA::ProtocolProperties_ptr duplicate (
00169 ::RTCORBA::ProtocolProperties_ptr
00170 );
00171 static void release (
00172 ::RTCORBA::ProtocolProperties_ptr
00173 );
00174 static ::RTCORBA::ProtocolProperties_ptr nil (void);
00175 static ::CORBA::Boolean marshal (
00176 const ::RTCORBA::ProtocolProperties_ptr p,
00177 TAO_OutputCDR & cdr
00178 );
00179 };
00180
00181 #endif
00182 }
00183 TAO_END_VERSIONED_NAMESPACE_DECL
00184
00185
00186 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00187
00188
00189
00190
00191
00192
00193
00194
00195 TAO_END_VERSIONED_NAMESPACE_DECL
00196
00197 #include "ace/post.h"
00198
00199 #endif
00200
00201