Public Member Functions | |
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 62 of file OSService.cpp.
OCL::OSService::OSService | ( | RTT::TaskContext * | parent | ) | [inline] |
Definition at line 65 of file OSService.cpp.
std::string OCL::OSService::getenv | ( | const std::string & | arg | ) | [inline] |
Definition at line 81 of file OSService.cpp.
bool OCL::OSService::isenv | ( | const std::string & | arg | ) | [inline] |
Definition at line 85 of file OSService.cpp.
bool OCL::OSService::setenv | ( | const std::string & | arg, | |
const std::string & | value | |||
) | [inline] |
Definition at line 89 of file OSService.cpp.