00001 //******************************************************************** 00002 //*** ResourcePool/TaskRunner/Factory.hh 00003 //*** Copyright (c) 2003-2008 by Markus Winand <mws@fatalmind.com> 00004 //*** $Id: Factory.hh,v 1.4 2008/01/27 16:42:28 mws Exp $ 00005 //******************************************************************** 00006 00007 #ifndef RESOURCEPOOL_TASKRUNNER_FACTORY_HH 00008 #define RESOURCEPOOL_TASKRUNNER_FACTORY_HH 00009 00010 #ifndef RESOURCEPOOL_TASKRUNNER_RESOURCE_HH 00011 #include "Resource.hh" 00012 #endif 00013 00014 namespace fatalmind { 00015 namespace TaskRunnerPoolInternals { 00016 00017 class Factory { 00018 public: 00019 Factory(); 00020 Resource* create_resource() const; 00021 }; 00022 00023 } 00024 } // namespace fatalmind 00025 00026 #endif
1.5.5