MPQC_ComponentFactory_Impl.hh
//
// File: MPQC_ComponentFactory_Impl.hh
// Symbol: MPQC.ComponentFactory-v0.2
// Symbol Type: class
// Babel Version: 0.10.2
// Description: Server-side implementation for MPQC.ComponentFactory
//
// WARNING: Automatically generated; only changes within splicers preserved
//
// babel-version = 0.10.2
//
#ifndef included_MPQC_ComponentFactory_Impl_hh
#define included_MPQC_ComponentFactory_Impl_hh
#ifndef included_sidl_cxx_hh
#include "sidl_cxx.hh"
#endif
#ifndef included_MPQC_ComponentFactory_IOR_h
#include "MPQC_ComponentFactory_IOR.h"
#endif
//
// Includes for all method dependencies.
//
#ifndef included_MPQC_ComponentFactory_hh
#include "MPQC_ComponentFactory.hh"
#endif
#ifndef included_gov_cca_CCAException_hh
#include "gov_cca_CCAException.hh"
#endif
#ifndef included_gov_cca_Component_hh
#include "gov_cca_Component.hh"
#endif
#ifndef included_gov_cca_ComponentClassDescription_hh
#include "gov_cca_ComponentClassDescription.hh"
#endif
#ifndef included_sidl_BaseInterface_hh
#include "sidl_BaseInterface.hh"
#endif
#ifndef included_sidl_ClassInfo_hh
#include "sidl_ClassInfo.hh"
#endif
// DO-NOT-DELETE splicer.begin(MPQC.ComponentFactory._includes)
// Put additional includes or other arbitrary code here...
// DO-NOT-DELETE splicer.end(MPQC.ComponentFactory._includes)
namespace MPQC {
class ComponentFactory_impl
// DO-NOT-DELETE splicer.begin(MPQC.ComponentFactory._inherits)
// DO-NOT-DELETE splicer.end(MPQC.ComponentFactory._inherits)
{
private:
// Pointer back to IOR.
// Use this to dispatch back through IOR vtable.
ComponentFactory self;
// DO-NOT-DELETE splicer.begin(MPQC.ComponentFactory._implementation)
std::vector< gov::cca::ComponentClassDescription > descriptions;
// DO-NOT-DELETE splicer.end(MPQC.ComponentFactory._implementation)
private:
// private default constructor (required)
ComponentFactory_impl()
{}
public:
// sidl constructor (required)
// Note: alternate Skel constructor doesn't call addref()
// (fixes bug #275)
ComponentFactory_impl( struct MPQC_ComponentFactory__object * s ) : self(s,
true) { _ctor(); }
// user defined construction
void _ctor();
// virtual destructor (required)
virtual ~ComponentFactory_impl() { _dtor(); }
// user defined destruction
void _dtor();
// static class initializer
static void _load();
public:
void
addDescription (
/* in */ const ::std::string& className,
/* in */ const ::std::string& classAlias
)
throw ()
;
::sidl::array< ::gov::cca::ComponentClassDescription>
getAvailableComponentClasses() throw (
::gov::cca::CCAException
);
::gov::cca::Component
createComponentInstance (
/* in */ const ::std::string& className
)
throw ()
;
void
destroyComponentInstance (
/* in */ const ::std::string& className,
/* in */ ::gov::cca::Component c
)
throw ()
;
}; // end class ComponentFactory_impl
} // end namespace MPQC
// DO-NOT-DELETE splicer.begin(MPQC.ComponentFactory._misc)
// Put miscellaneous things here...
// DO-NOT-DELETE splicer.end(MPQC.ComponentFactory._misc)
#endif