#include <PipeProcess.h>
Public Member Functions | |
PipeProcess (const sk::util::StringArray &cmdline) | |
PipeProcess (sk::io::FileDescriptorInputStream &inputStream, const sk::util::StringArray &cmdline) | |
virtual | ~PipeProcess () |
sk::io::InputStream & | inputStream () const |
sk::io::InputStream & | inputErrorStream () const |
sk::io::OutputStream & | outputStream () const |
const sk::util::StringArray & | errors () const |
const sk::util::Class | getClass () const |
Returns the object's class. | |
void | stop () |
void | join () |
bool | isSuccess () const |
bool | isExited () const |
bool | isKilled () const |
bool | isAlive () const |
int | exitStatus () const |
int | signal () const |
virtual Object & | self () |
Returns a reference to itself. | |
virtual const Object & | self () const |
Object * | clone () const |
Instantiates another object of the same class as a copy of itself. | |
virtual uint64_t | getId () const |
Returns a unique object id. | |
virtual const String | toString () const |
Returns a string representation of the object. By default, it returns the object's class and the objects's id. | |
virtual const String | inspect () const |
Returns a string containing human-readable representation of the object. |
sk::sys::PipeProcess::PipeProcess | ( | const sk::util::StringArray & | cmdline | ) |
sk::sys::PipeProcess::PipeProcess | ( | sk::io::FileDescriptorInputStream & | inputStream, | |
const sk::util::StringArray & | cmdline | |||
) |
virtual sk::sys::PipeProcess::~PipeProcess | ( | ) | [virtual] |
Object* sk::util::Object::clone | ( | ) | const [inherited] |
Instantiates another object of the same class as a copy of itself.
Reimplemented in sk::rt::logger::Destination, and sk::util::String.
const sk::util::StringArray& sk::sys::PipeProcess::errors | ( | ) | const |
int sk::sys::DelegatingExecutable::exitStatus | ( | ) | const [virtual, inherited] |
Implements sk::sys::Executable.
const sk::util::Class sk::sys::PipeProcess::getClass | ( | ) | const [virtual] |
virtual uint64_t sk::util::Object::getId | ( | ) | const [virtual, inherited] |
sk::io::InputStream& sk::sys::PipeProcess::inputErrorStream | ( | ) | const |
sk::io::InputStream& sk::sys::PipeProcess::inputStream | ( | ) | const |
virtual const String sk::util::Object::inspect | ( | ) | const [virtual, inherited] |
Returns a string containing human-readable representation of the object.
Reimplemented in sk::rt::thread::AbstractLock, sk::rt::Thread, sk::util::Class, sk::util::Container, sk::util::slot::Pointer< T, Mixin >, sk::util::slot::Reference< T, Mixin >, sk::util::String, and sk::util::StringArray.
bool sk::sys::DelegatingExecutable::isAlive | ( | ) | const [virtual, inherited] |
Implements sk::sys::Executable.
bool sk::sys::DelegatingExecutable::isExited | ( | ) | const [virtual, inherited] |
Implements sk::sys::Executable.
bool sk::sys::DelegatingExecutable::isKilled | ( | ) | const [virtual, inherited] |
Implements sk::sys::Executable.
bool sk::sys::DelegatingExecutable::isSuccess | ( | ) | const [virtual, inherited] |
Implements sk::sys::Executable.
void sk::sys::DelegatingExecutable::join | ( | ) | [virtual, inherited] |
Implements sk::sys::Executable.
sk::io::OutputStream& sk::sys::PipeProcess::outputStream | ( | ) | const |
virtual const Object& sk::util::Object::self | ( | ) | const [virtual, inherited] |
Reimplemented in sk::util::String.
virtual Object& sk::util::Object::self | ( | ) | [virtual, inherited] |
int sk::sys::DelegatingExecutable::signal | ( | ) | const [virtual, inherited] |
Implements sk::sys::Executable.
void sk::sys::DelegatingExecutable::stop | ( | ) | [virtual, inherited] |
Implements sk::sys::Executable.
virtual const String sk::util::Object::toString | ( | ) | const [virtual, inherited] |
Returns a string representation of the object. By default, it returns the object's class and the objects's id.
Reimplemented in sk::rt::logger::Level, sk::rt::thread::State, sk::util::Boolean, sk::util::Class, sk::util::Container, sk::util::Pathname, and sk::util::String.