00001 #ifndef ROCKFACTORY_I_H 00002 #define ROCKFACTORY_I_H 00003 00004 #include "rock.hh" 00005 #include "Rock_i.h" 00006 #include "RockManager_i.h" 00007 00014 class RockFactory_i : public POA_rock::RockFactory,public PortableServer::RefCountServantBase { 00015 public: 00017 RockFactory_i(RockManager_i *rmgr,CORBA::ORB_var lorb); 00019 virtual ~RockFactory_i(); 00020 00022 rock::dRock_ptr spawnRock(const common::ClientData& cd); 00023 00025 rock::dRock_ptr spawnRockProcess(const common::ClientData& cd); 00026 00028 int verbose; 00029 00030 private: 00031 // variables ////////////////////////////// 00033 RockManager_i *rockmgr; 00035 CORBA::ORB_var orb; 00036 }; 00037 00038 #endif