cca.h

00001 //
00002 // mpqc/cca.h
00003 //
00004 // Copyright (C) 1997 Limit Point Systems, Inc.
00005 //
00006 // Author: Joseph Kenny <jpkenny@sandia.gov>
00007 // Maintainer: JK
00008 //
00009 // This file is part of the SC Toolkit.
00010 //
00011 // The SC Toolkit is free software; you can redistribute it and/or modify
00012 // it under the terms of the GNU Library General Public License as published by
00013 // the Free Software Foundation; either version 2, or (at your option)
00014 // any later version.
00015 //
00016 // The SC Toolkit is distributed in the hope that it will be useful,
00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 // GNU Library General Public License for more details.
00020 //
00021 // You should have received a copy of the GNU Library General Public License
00022 // along with the SC Toolkit; see the file COPYING.LIB.  If not, write to
00023 // the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
00024 //
00025 // The U.S. Government is granted a limited license as per AL 91-7.
00026 //
00027 
00028 #ifdef __GNUG__
00029 #pragma interface
00030 #endif
00031 
00032 #ifndef _mpqc_cca_h
00033 #define _mpqc_cca_h
00034 
00035 #include <util/misc/ccaenv.h>
00036 #include <MPQC_ComponentFactory.hxx>
00037 #include <ccaffeine_AbstractFramework.hxx>
00038 
00039 namespace sc {
00040 
00042 class MPQC_CCAFramework: public AbstractCCAFramework {
00043 
00044     ccaffeine::AbstractFramework fw_;
00045     gov::cca::Services services_;
00046     gov::cca::ports::BuilderService bs_;
00047     gov::cca::TypeMap type_map_;
00048     gov::cca::ComponentID my_id_;
00049     MPQC::ComponentFactory component_factory_;
00050 
00051   public:
00053     MPQC_CCAFramework(const std::string &);
00055     virtual ccaffeine::AbstractFramework* get_framework();
00057     virtual gov::cca::Services* get_services();
00059     virtual gov::cca::ports::BuilderService* get_builder_service();
00061     virtual gov::cca::TypeMap* get_type_map();
00063     virtual gov::cca::ComponentID* get_component_id();
00064 };
00065 
00066 }
00067 
00068 #endif

Generated at Wed Sep 5 14:02:29 2007 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.5.2.
These pages are hosted on SourceForge.net