Public Member Functions | |
int | argc (void) |
std::vector< std::string > | argv (void) |
std::string | getenv (const std::string &arg) |
bool | isenv (const std::string &arg) |
OSService (RTT::TaskContext *parent) | |
bool | setenv (const std::string &arg, const std::string &value) |
A service that provides access to some useful Operating System functions. Can be loaded in scripts by writing 'requires("os")' on top of the file.
Definition at line 64 of file OSService.cpp.
OCL::OSService::OSService | ( | RTT::TaskContext * | parent | ) | [inline] |
Definition at line 67 of file OSService.cpp.
int OCL::OSService::argc | ( | void | ) | [inline] |
Definition at line 85 of file OSService.cpp.
std::vector<std::string> OCL::OSService::argv | ( | void | ) | [inline] |
Definition at line 90 of file OSService.cpp.
std::string OCL::OSService::getenv | ( | const std::string & | arg | ) | [inline] |
Definition at line 100 of file OSService.cpp.
bool OCL::OSService::isenv | ( | const std::string & | arg | ) | [inline] |
Definition at line 104 of file OSService.cpp.
bool OCL::OSService::setenv | ( | const std::string & | arg, |
const std::string & | value | ||
) | [inline] |
Definition at line 108 of file OSService.cpp.