top | up | prev | next

Process Class

Definition at line 15 of Process.hpp

Constructors

Process(const std::string& command, Redirections redirections)

Member Functions

bool Eof(StdHandle handle)
int ExitCode() const
std::string ReadLine(StdHandle handle)
std::string ReadToEnd(StdHandle handle)
bool Running()
void Terminate()
void WaitForExit()
void WriteLine(const std::string& line)

Enumerations

enum class Redirections
enum class StdHandle

Member Variables

ProcessImpl* impl

Constructor Details

Process Constructor

soulng::util::Process::Process(const std::string& command, Redirections redirections)

Definition at line 17 of Process.cpp :
17 : impl(new ProcessImpl(commandredirections))
18 {
19 }


Declaration at line 29 of Process.hpp


Member Function Details

Eof Member Function

bool soulng::util::Process::Eof(StdHandle handle)

Definition at line 46 of Process.cpp :
47 {
48     return impl->Eof(handle);
49 }


Declaration at line 35 of Process.hpp


ExitCode Member Function

int soulng::util::Process::ExitCode() const

Definition at line 36 of Process.cpp :
37 {
38     return impl->ExitCode();
39 }


Declaration at line 33 of Process.hpp


ReadLine Member Function

std::string soulng::util::Process::ReadLine(StdHandle handle)

Definition at line 51 of Process.cpp :
52 {
53     return impl->ReadLine(handle);
54 }


Declaration at line 36 of Process.hpp


ReadToEnd Member Function

std::string soulng::util::Process::ReadToEnd(StdHandle handle)

Definition at line 56 of Process.cpp :
57 {
58     return impl->ReadToEnd(handle);
59 }


Declaration at line 37 of Process.hpp


Running Member Function

bool soulng::util::Process::Running()

Definition at line 26 of Process.cpp :
27 {
28     return impl->Running();
29 }


Declaration at line 31 of Process.hpp


Terminate Member Function

void soulng::util::Process::Terminate()

Definition at line 41 of Process.cpp :
42 {
43     impl->Terminate();
44 }


Declaration at line 34 of Process.hpp


WaitForExit Member Function

void soulng::util::Process::WaitForExit()

Definition at line 31 of Process.cpp :
32 {
33     impl->WaitForExit();
34 }


Declaration at line 32 of Process.hpp


WriteLine Member Function

void soulng::util::Process::WriteLine(const std::string& line)

Definition at line 61 of Process.cpp :
62 {
63     impl->WriteLine(line);
64 }


Declaration at line 38 of Process.hpp


top | up | prev | next