#include <system.hh>
Inheritance diagram for mpcl::system::TSystem:

Public Types | |
| typedef TBigEndianBuffer | TBigEndianBuffer |
| Conversion of big endian dependent buffers type. | |
| typedef TLittleEndianBuffer | TLittleEndianBuffer |
| Conversion of little endian dependent buffers type. | |
| typedef TMachineDependent | TMachineDependent |
| Machine conversions type. | |
Public Methods | |
| TSystem (void) | |
| Builds a new instance. | |
| TString | getCurrentDirectory (void) const |
| char | getDirectorySeparator (void) const |
| std::size_t | getFileSize (const char *pkcFILE_NAME) const throw (TErrorException) |
| char | getPathSeparator (void) const |
| int | getProcessId (void) const |
| void | sleep (std::size_t zSECONDS, std::size_t zNANOSECONDS=0) const |
| void | yield (void) const |
Definition at line 42 of file posix_1/system.hh.
|
|
Get current directory.
Implements mpcl::system::ISystem. Definition at line 82 of file posix_1/system.cc. References mpcl::text::TString. |
|
|
Get symbol for directory separator.
Implements mpcl::system::ISystem. Definition at line 138 of file posix_1/system.cc. |
|
|
Get file size.
Implements mpcl::system::ISystem. Definition at line 117 of file posix_1/system.cc. References mpcl::system::GetErrorMessage(). |
|
|
Get symbol for path separator.
Implements mpcl::system::ISystem. Definition at line 145 of file posix_1/system.cc. |
|
|
Gets an unique integer value that identifies the current process.
Implements mpcl::system::ISystem. Definition at line 75 of file posix_1/system.cc. |
|
||||||||||||
|
Sleeps zSECONDS seconds and zNANOSECONDS nanoseconds. According to POSIX.1, sleep() affect only to the current thread.
Implements mpcl::system::ISystem. Definition at line 57 of file posix_1/system.cc. |
|
|
Yields yield the processor. A process can relinquish the processor voluntarily without blocking by calling yield(). The process will then be moved to the end of the queue for its static priority and a new process gets to run.
Implements mpcl::system::ISystem. Definition at line 68 of file posix_1/system.cc. |
1.2.18