WPILibC++ 2025.2.1
|
Structure for Spawn() option temporaries. More...
#include <wpinet/uv/Process.h>
Public Types | |
enum | Type { kNone , kArg , kEnv , kCwd , kUid , kGid , kSetFlags , kClearFlags , kStdioIgnore , kStdioInheritFd , kStdioInheritPipe , kStdioCreatePipe } |
Public Member Functions | |
Option () | |
Option (const char *arg) | |
Option (const std::string &arg) | |
Option (std::string_view arg) | |
Option (const SmallVectorImpl< char > &arg) | |
Option (Type type) | |
Public Attributes | ||
Type | m_type = kArg | |
std::string | m_strData | |
union { | ||
const char * str | ||
uv_uid_t uid | ||
uv_gid_t gid | ||
unsigned int flags | ||
struct { | ||
size_t index | ||
union { | ||
int fd | ||
Pipe * pipe | ||
} | ||
unsigned int flags | ||
} stdio | ||
} | m_data | |
Structure for Spawn() option temporaries.
This is a reference type, so if this value is stored outside of a temporary, be careful about overwriting what it points to.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
int wpi::uv::Process::Option::fd |
unsigned int wpi::uv::Process::Option::flags |
uv_gid_t wpi::uv::Process::Option::gid |
size_t wpi::uv::Process::Option::index |
union { ... } wpi::uv::Process::Option::m_data |
std::string wpi::uv::Process::Option::m_strData |
Pipe* wpi::uv::Process::Option::pipe |
struct { ... } wpi::uv::Process::Option::stdio |
const char* wpi::uv::Process::Option::str |
uv_uid_t wpi::uv::Process::Option::uid |