libpressio 0.93.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pressio_launcher Struct Reference

#include <external_launch.h>

Public Member Functions

 pressio_launcher ()=default
 
 pressio_launcher (std::unique_ptr< libpressio_launch_plugin > &&ptr)
 
 pressio_launcher (pressio_launcher const &launcher)
 
 pressio_launcher (pressio_launcher &&compressor)=default
 
pressio_launcheroperator= (pressio_launcher &&launcher) noexcept=default
 
 operator bool () const
 
libpressio_launch_pluginoperator* () const noexcept
 
libpressio_launch_pluginoperator-> () const noexcept
 

Public Attributes

std::unique_ptr< libpressio_launch_pluginplugin
 

Detailed Description

wrapper for launching processes

Constructor & Destructor Documentation

◆ pressio_launcher() [1/4]

pressio_launcher::pressio_launcher ( )
default

launch methods are default constructible

◆ pressio_launcher() [2/4]

pressio_launcher::pressio_launcher ( std::unique_ptr< libpressio_launch_plugin > &&  ptr)
inline

launch methods are constructible from a unique_ptr to a plugin

Parameters
[in]ptrthe pointer to move from

◆ pressio_launcher() [3/4]

pressio_launcher::pressio_launcher ( pressio_launcher const &  launcher)
inline

launch methods are copy constructible and have the effect of cloning the plugin

Parameters
[in]launcherthe launcher to clone

◆ pressio_launcher() [4/4]

pressio_launcher::pressio_launcher ( pressio_launcher &&  compressor)
default

launch methods are move constructible

Parameters
[in]compressorthe launcher to clone

Member Function Documentation

◆ operator bool()

pressio_launcher::operator bool ( ) const
inline
Returns
true if the plugin is not a nullptr

◆ operator*()

libpressio_launch_plugin & pressio_launcher::operator* ( ) const
inlinenoexcept

pressio_launcher are dereference-able

◆ operator->()

libpressio_launch_plugin * pressio_launcher::operator-> ( ) const
inlinenoexcept

pressio_launcher are dereference-able

◆ operator=()

pressio_launcher & pressio_launcher::operator= ( pressio_launcher &&  launcher)
defaultnoexcept

launch methods are move assignable

Parameters
[in]launcherthe launcher to clone

Member Data Documentation

◆ plugin

std::unique_ptr<libpressio_launch_plugin> pressio_launcher::plugin

the underlying plugin


The documentation for this struct was generated from the following file: