Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template bound_launcher

boost::process::v2::bound_launcher — Utility class to bind initializers to a launcher.

Synopsis

// In header: <boost/process/v2/bind_launcher.hpp>

template<typename Launcher,  Init> 
struct bound_launcher {
  // construct/copy/destruct
  template<typename Launcher_,  Init_> 
    (, );

  // public member functions
  template<typename ExecutionContext, typename Args,  Inits> 
     (, 
                    , 
                    , );
  template<typename ExecutionContext, typename Args,  Inits> 
     (, , 
                    , 
                    , );
  template<typename Executor, typename Args,  Inits> 
     (, 
                    , 
                    , );
  template<typename Executor, typename Args,  Inits> 
     (, , 
                    , 
                    , );

  // private member functions
  template< Idx, typename ExecutionContext, typename Args, 
            Inits> 
     (, , 
                , 
                , );
  template< Idx, typename ExecutionContext, typename Args, 
            Inits> 
     (, , , 
                , 
                , );
  template< Idx, typename Executor, typename Args, 
            Inits> 
     (, , 
                , 
                , );
  template< Idx, typename Executor, typename Args, 
            Inits> 
     (, , , 
                , 
                , );
};

Description

This can be used when multiple processes shared some settings, e.g.

Template Parameters

  1. typename Launcher

    The inner launcher to be used

  2.  Init

bound_launcher public construct/copy/destruct

  1. template<typename Launcher_,  Init_> 
      ( l,  init);

bound_launcher public member functions

  1. template<typename ExecutionContext, typename Args,  Inits> 
       ( context, 
                       executable, 
                       args,  inits);
  2. template<typename ExecutionContext, typename Args,  Inits> 
       ( context,  ec, 
                       executable, 
                       args,  inits);
  3. template<typename Executor, typename Args,  Inits> 
       ( exec, 
                       executable, 
                       args,  inits);
  4. template<typename Executor, typename Args,  Inits> 
       ( exec,  ec, 
                       executable, 
                       args,  inits);

bound_launcher private member functions

  1. template< Idx, typename ExecutionContext, typename Args, 
              Inits> 
       (,  context, 
                   executable, 
                   args,  inits);
  2. template< Idx, typename ExecutionContext, typename Args, 
              Inits> 
       (,  context,  ec, 
                   executable, 
                   args,  inits);
  3. template< Idx, typename Executor, typename Args, 
              Inits> 
       (,  exec, 
                   executable, 
                   args,  inits);
  4. template< Idx, typename Executor, typename Args, 
              Inits> 
       (,  exec,  ec, 
                   executable, 
                   args,  inits);

PrevUpHomeNext