![]() |
Home | Libraries | People | FAQ | More |
boost::process::v2::bound_launcher — Utility class to bind initializers to a launcher.
// 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> (, , , , , ); };
This can be used when multiple processes shared some settings, e.g.
bound_launcher
public member functionstemplate<typename ExecutionContext, typename Args, Inits> ( context, executable, args, inits);
template<typename ExecutionContext, typename Args, Inits> ( context, ec, executable, args, inits);
template<typename Executor, typename Args, Inits> ( exec, executable, args, inits);
template<typename Executor, typename Args, Inits> ( exec, ec, executable, args, inits);
bound_launcher
private member functionstemplate< Idx, typename ExecutionContext, typename Args, Inits> (, context, executable, args, inits);
template< Idx, typename ExecutionContext, typename Args, Inits> (, context, ec, executable, args, inits);
template< Idx, typename Executor, typename Args, Inits> (, exec, executable, args, inits);
template< Idx, typename Executor, typename Args, Inits> (, exec, ec, executable, args, inits);