ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template mcthreadsim

alps::mcthreadsim

Synopsis

// In header: <alps/ngs.hpp>

template<typename Impl> 
class mcthreadsim {
public:
  // construct/copy/destruct
  mcthreadsim(typename Impl::parameters_type const &);

  // public member functions
  bool run(boost::function< bool()> const &) ;

  // protected member functions
  bool run_callback() ;
  void stop_callback(boost::function< bool()> const &) ;

  // private member functions
  void runner() ;
};

Description

mcthreadsim public construct/copy/destruct

  1. mcthreadsim(typename Impl::parameters_type const & p);

mcthreadsim public member functions

  1. bool run(boost::function< bool()> const & callback) ;

mcthreadsim protected member functions

  1. bool run_callback() ;
  2. void stop_callback(boost::function< bool()> const & callback) ;

mcthreadsim private member functions

  1. void runner() ;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext