MPQC
2.3.1
|
00001 // 00002 // File: MPQC_ComponentClassDescription_Impl.hh 00003 // Symbol: MPQC.ComponentClassDescription-v0.2 00004 // Symbol Type: class 00005 // Babel Version: 0.10.2 00006 // Description: Server-side implementation for MPQC.ComponentClassDescription 00007 // 00008 // WARNING: Automatically generated; only changes within splicers preserved 00009 // 00010 // babel-version = 0.10.2 00011 // 00012 00013 #ifndef included_MPQC_ComponentClassDescription_Impl_hh 00014 #define included_MPQC_ComponentClassDescription_Impl_hh 00015 00016 #ifndef included_sidl_cxx_hh 00017 #include "sidl_cxx.hh" 00018 #endif 00019 #ifndef included_MPQC_ComponentClassDescription_IOR_h 00020 #include "MPQC_ComponentClassDescription_IOR.h" 00021 #endif 00022 // 00023 // Includes for all method dependencies. 00024 // 00025 #ifndef included_MPQC_ComponentClassDescription_hh 00026 #include "MPQC_ComponentClassDescription.hh" 00027 #endif 00028 #ifndef included_gov_cca_CCAException_hh 00029 #include "gov_cca_CCAException.hh" 00030 #endif 00031 #ifndef included_sidl_BaseInterface_hh 00032 #include "sidl_BaseInterface.hh" 00033 #endif 00034 #ifndef included_sidl_ClassInfo_hh 00035 #include "sidl_ClassInfo.hh" 00036 #endif 00037 00038 00039 // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._includes) 00040 // Put additional includes or other arbitrary code here... 00041 // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._includes) 00042 00043 namespace MPQC { 00044 00048 class ComponentClassDescription_impl 00049 // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._inherits) 00050 00063 // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._inherits) 00064 { 00065 00066 private: 00067 // Pointer back to IOR. 00068 // Use this to dispatch back through IOR vtable. 00069 ComponentClassDescription self; 00070 00071 // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._implementation) 00072 std::string cName; 00073 std::string cAlias; 00074 // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._implementation) 00075 00076 private: 00077 // private default constructor (required) 00078 ComponentClassDescription_impl() 00079 {} 00080 00081 public: 00082 // sidl constructor (required) 00083 // Note: alternate Skel constructor doesn't call addref() 00084 // (fixes bug #275) 00085 ComponentClassDescription_impl( struct 00086 MPQC_ComponentClassDescription__object * s ) : self(s,true) { _ctor(); } 00087 00088 // user defined construction 00089 void _ctor(); 00090 00091 // virtual destructor (required) 00092 virtual ~ComponentClassDescription_impl() { _dtor(); } 00093 00094 // user defined destruction 00095 void _dtor(); 00096 00097 // static class initializer 00098 static void _load(); 00099 00100 public: 00101 00105 void 00106 initialize ( 00107 /* in */ const ::std::string& className, 00108 /* in */ const ::std::string& classAlias 00109 ) 00110 throw () 00111 ; 00112 00113 00122 ::std::string 00123 getComponentClassName() throw ( 00124 ::gov::cca::CCAException 00125 ); 00126 }; // end class ComponentClassDescription_impl 00127 00128 } // end namespace MPQC 00129 00130 // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._misc) 00131 // Put miscellaneous things here... 00132 // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._misc) 00133 00134 #endif