5 #include <libutl/Array.h> 6 #include <libutl/Pathname.h> 30 virtual char getPathSeparator()
const = 0;
36 virtual void chdir(
const Pathname& path) = 0;
39 virtual void daemonInit() = 0;
59 int run(
const String& cmd);
72 virtual void sleep(
uint_t sec)
const = 0;
83 virtual void usleep(
uint64_t usec)
const = 0;
86 virtual void yield()
const;
95 virtual String getEnv(
const String& envVarName)
const = 0;
120 #if UTL_HOST_OS == UTL_OS_MINGW 123 #elif UTL_HOST_OS == UTL_OS_LINUX 136 #if UTL_HOST_OS == UTL_OS_MINGW 137 #include <libutl/MinGWhostOS.h> 139 #include <libutl/LinuxHostOS.h> #define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
MinGW Host OS functionality.
Template version of Array.
unsigned long uint64_t
Unsigned 64-bit integer.
void msleep(uint64_t msec) const
Sleep for the given number of milliseconds.
Abstraction for common OS functionality.
#define UTL_CLASS_DECL_ABC(DC, BC)
Declaration of standard UTL++ functionality for an abstract base class (ABC).
void sleep(uint_t sec, uint_t usec) const
Sleep for the given number of seconds and microseconds.
unsigned int uint_t
Unsigned integer.
Encapsulate common UNIX OS functionality.
Root of UTL++ class hierarchy.