Main Page | Class List | File List | Class Members

BasicScheduler.hpp

00001 /*
00002  * Copyright (C) 2003-2004
00003  * Slawomir Lisznianski <slisznianski@asyncnet.com>
00004  *
00005  * Permission to use, copy, modify, distribute and sell this software
00006  * and its documentation for any purpose is hereby granted without fee,
00007  * provided that the above copyright notice appear in all copies and
00008  * that both that copyright notice and this permission notice appear
00009  * in supporting documentation. Slawomir Lisznianski makes no
00010  * representations about the suitability of this software for any
00011  * purpose. It is provided "as is" without express or implied warranty.
00012  *
00013  */
00014 
00015 #ifndef RHA_BASICSCHEDULER_HPP
00016 #define RHA_BASICSCHEDULER_HPP
00017 
00018 #include <boost/config.hpp>
00019 #include <boost/function.hpp>
00020 
00021 #include <SimpleScheduler.hpp>
00022 #include <BoundedThreadPool.hpp>
00023 #include <UnboundedQueue.hpp>
00024 
00025 namespace Rha
00026 {
00027   // BasicScheduler
00028   //
00029     typedef Rha::SimpleScheduler<BoundedThreadPool<UnboundedQueue<boost::function0<void> > > > BasicScheduler; 
00030 }
00031 #endif // RHA_BASICSCHEDULER_HPP