CCAFFEINE  0.8.8
Frame.h
00001 #ifdef CCAFE_FRAME_PRIVATE_OK // invisible by default
00002 #ifndef ccafe_Frame_h_seen
00003 #define ccafe_Frame_h_seen
00004 
00005 #include <map>
00006 #include <string>
00007 
00008 namespace ccafe {
00013 class Frame {
00014 
00015 private:
00016 
00036   void * bm; 
00037 
00038 public:
00039 
00043   Frame(int64_t fComm,  bool useComm);
00044   /*
00045    * If the frame is a child frame derived from a parent, 
00046    * it will need to be destroyed before the parent when
00047    * there is a shared mpi resource.
00048    */
00049   ~Frame();
00050 
00060   void initialize (  const ::std::string & args /* not needed here: 
00061         , int64_t fComm, bool useComm */ ) ;
00062 
00063   ::ccafeopq::Services * getServices ( const ::std::string& selfInstanceName, const ::std::string& selfClassName, ::ccafeopq::TypeMap_shared selfProperties);
00064 
00065   void releaseServices ( ::ccafeopq::Services *svc);
00066 
00067   void shutdownFramework();
00068   
00069   ccafeopq::TypeMap_shared createTypeMap();
00070 
00071   bool isShutdown();
00072 
00073 }; // end class Frame
00074 
00075 } ENDSEMI // end ccafe namespace
00076 #endif // ccafe_Frame_h_seen
00077 #endif // CCAFE_FRAME_PRIVATE_OK