00001 // Copyright (C) 2000, International Business Machines 00002 // Corporation and others. All Rights Reserved. 00003 #ifndef _MC_INIT_H 00004 #define _MC_INIT_H 00005 00006 #include "BCP_USER.hpp" 00007 00008 class MC_packer : public BCP_user_pack { 00010 virtual void pack_cut_algo(const BCP_cut_algo* cut, BCP_buffer& buf); 00011 00013 virtual BCP_cut_algo* unpack_cut_algo(BCP_buffer& buf); 00014 }; 00015 00016 class MC_initialize : public USER_initialize { 00017 // Declare this function if not the default single process communication is 00018 // wanted 00019 // BCP_message_environment * msgenv_init(); 00020 00021 BCP_user_pack* packer_init(BCP_user_class* p); 00022 BCP_tm_user* tm_init(BCP_tm_prob& p, 00023 const int argnum, const char * const * arglist); 00024 BCP_lp_user* lp_init(BCP_lp_prob& p); 00025 }; 00026 00027 #endif