class FdioSpawnActions

Defined at line 23 of file ../../sdk/lib/fdio/include/lib/fdio/spawn-actions.h

FdioSpawnActions maintains a fdio_spawn_action_t array and all the handles associated with the

actions. All the handles would be closed on destruction unless 'GetActions' is called and then

caller should pass the returned actions array that owns the handles to fdio_spawn_etc to transfer

the handles.

Public Methods

void ~FdioSpawnActions ()

Defined at line 25 of file ../../sdk/lib/fdio/include/lib/fdio/spawn-actions.h

void AddAction (fdio_spawn_action_t action)

Defined at line 33 of file ../../sdk/lib/fdio/include/lib/fdio/spawn-actions.h

template <typename T, typename = typename std::enable_if<std::is_base_of<zx::object_base, T>::value>::type>
void AddActionWithHandle (fdio_spawn_action_t action, T handle)

Defined at line 43 of file ../../sdk/lib/fdio/include/lib/fdio/spawn-actions.h

template <typename T, typename = typename std::enable_if<std::is_base_of<zx::object_base, T>::value>::type>
void AddActionWithNamespace (fdio_spawn_action_t action, T handle)

Defined at line 49 of file ../../sdk/lib/fdio/include/lib/fdio/spawn-actions.h

std::vector<fdio_spawn_action_t> GetActions ()

Defined at line 53 of file ../../sdk/lib/fdio/include/lib/fdio/spawn-actions.h