[0b990d] | 1 | //
|
---|
| 2 | // File: MPQC_ComponentClassDescription_Impl.hh
|
---|
| 3 | // Symbol: MPQC.ComponentClassDescription-v0.2
|
---|
| 4 | // Symbol Type: class
|
---|
| 5 | // Babel Version: 0.10.2
|
---|
| 6 | // Description: Server-side implementation for MPQC.ComponentClassDescription
|
---|
| 7 | //
|
---|
| 8 | // WARNING: Automatically generated; only changes within splicers preserved
|
---|
| 9 | //
|
---|
| 10 | // babel-version = 0.10.2
|
---|
| 11 | //
|
---|
| 12 |
|
---|
| 13 | #ifndef included_MPQC_ComponentClassDescription_Impl_hh
|
---|
| 14 | #define included_MPQC_ComponentClassDescription_Impl_hh
|
---|
| 15 |
|
---|
| 16 | #ifndef included_sidl_cxx_hh
|
---|
| 17 | #include "sidl_cxx.hh"
|
---|
| 18 | #endif
|
---|
| 19 | #ifndef included_MPQC_ComponentClassDescription_IOR_h
|
---|
| 20 | #include "MPQC_ComponentClassDescription_IOR.h"
|
---|
| 21 | #endif
|
---|
| 22 | //
|
---|
| 23 | // Includes for all method dependencies.
|
---|
| 24 | //
|
---|
| 25 | #ifndef included_MPQC_ComponentClassDescription_hh
|
---|
| 26 | #include "MPQC_ComponentClassDescription.hh"
|
---|
| 27 | #endif
|
---|
| 28 | #ifndef included_gov_cca_CCAException_hh
|
---|
| 29 | #include "gov_cca_CCAException.hh"
|
---|
| 30 | #endif
|
---|
| 31 | #ifndef included_sidl_BaseInterface_hh
|
---|
| 32 | #include "sidl_BaseInterface.hh"
|
---|
| 33 | #endif
|
---|
| 34 | #ifndef included_sidl_ClassInfo_hh
|
---|
| 35 | #include "sidl_ClassInfo.hh"
|
---|
| 36 | #endif
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._includes)
|
---|
| 40 | // Put additional includes or other arbitrary code here...
|
---|
| 41 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._includes)
|
---|
| 42 |
|
---|
| 43 | namespace MPQC {
|
---|
| 44 |
|
---|
| 45 | /**
|
---|
| 46 | * Symbol "MPQC.ComponentClassDescription" (version 0.2)
|
---|
| 47 | */
|
---|
| 48 | class ComponentClassDescription_impl
|
---|
| 49 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._inherits)
|
---|
| 50 |
|
---|
| 51 | /** ComponentClassDescription implements a CCA standard component
|
---|
| 52 | interface for class desciptions. This class is used to
|
---|
| 53 | inform the ComponentFactory of available components in a
|
---|
| 54 | statically linked executable.
|
---|
| 55 |
|
---|
| 56 | This is an implementation of a SIDL interface.
|
---|
| 57 | The stub code is generated by the Babel tool. Do not make
|
---|
| 58 | modifications outside of splicer blocks, as these will be lost.
|
---|
| 59 | This is a server implementation for a Babel class, the Babel
|
---|
| 60 | client code is provided by the cca-spec-babel package.
|
---|
| 61 | */
|
---|
| 62 |
|
---|
| 63 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._inherits)
|
---|
| 64 | {
|
---|
| 65 |
|
---|
| 66 | private:
|
---|
| 67 | // Pointer back to IOR.
|
---|
| 68 | // Use this to dispatch back through IOR vtable.
|
---|
| 69 | ComponentClassDescription self;
|
---|
| 70 |
|
---|
| 71 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._implementation)
|
---|
| 72 | std::string cName;
|
---|
| 73 | std::string cAlias;
|
---|
| 74 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._implementation)
|
---|
| 75 |
|
---|
| 76 | private:
|
---|
| 77 | // private default constructor (required)
|
---|
| 78 | ComponentClassDescription_impl()
|
---|
| 79 | {}
|
---|
| 80 |
|
---|
| 81 | public:
|
---|
| 82 | // sidl constructor (required)
|
---|
| 83 | // Note: alternate Skel constructor doesn't call addref()
|
---|
| 84 | // (fixes bug #275)
|
---|
| 85 | ComponentClassDescription_impl( struct
|
---|
| 86 | MPQC_ComponentClassDescription__object * s ) : self(s,true) { _ctor(); }
|
---|
| 87 |
|
---|
| 88 | // user defined construction
|
---|
| 89 | void _ctor();
|
---|
| 90 |
|
---|
| 91 | // virtual destructor (required)
|
---|
| 92 | virtual ~ComponentClassDescription_impl() { _dtor(); }
|
---|
| 93 |
|
---|
| 94 | // user defined destruction
|
---|
| 95 | void _dtor();
|
---|
| 96 |
|
---|
| 97 | // static class initializer
|
---|
| 98 | static void _load();
|
---|
| 99 |
|
---|
| 100 | public:
|
---|
| 101 |
|
---|
| 102 | /**
|
---|
| 103 | * user defined non-static method.
|
---|
| 104 | */
|
---|
| 105 | void
|
---|
| 106 | initialize (
|
---|
| 107 | /* in */ const ::std::string& className,
|
---|
| 108 | /* in */ const ::std::string& classAlias
|
---|
| 109 | )
|
---|
| 110 | throw ()
|
---|
| 111 | ;
|
---|
| 112 |
|
---|
| 113 |
|
---|
| 114 | /**
|
---|
| 115 | * Returns the class name provided in
|
---|
| 116 | * <code>BuilderService.createInstance()</code>
|
---|
| 117 | * or in
|
---|
| 118 | * <code>AbstractFramework.getServices()</code>.
|
---|
| 119 | * <p>
|
---|
| 120 | * Throws <code>CCAException</code> if <code>ComponentClassDescription</code> is invalid.
|
---|
| 121 | */
|
---|
| 122 | ::std::string
|
---|
| 123 | getComponentClassName() throw (
|
---|
| 124 | ::gov::cca::CCAException
|
---|
| 125 | );
|
---|
| 126 | }; // end class ComponentClassDescription_impl
|
---|
| 127 |
|
---|
| 128 | } // end namespace MPQC
|
---|
| 129 |
|
---|
| 130 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._misc)
|
---|
| 131 | // Put miscellaneous things here...
|
---|
| 132 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._misc)
|
---|
| 133 |
|
---|
| 134 | #endif
|
---|