Pt::System Namespace Reference

System programming More...

Classes

class  AccessFailed
 Failed to access a resource. More...
class  Application
 Console process root. More...
class  AsyncWait
 Awaitable for async one-shot timer delay. More...
class  AsyncYield
 Awaitable that schedules a resume in the EventLoop. More...
class  AttachedThread
 Thread that joins in its destructor. More...
class  BasicPlugin
 A plugin implementation. More...
class  Clock
 Stopwatch, system time and monotonic ticks. More...
class  Condition
 Signal and wait synchronisation primitive. More...
class  DetachedThread
 Thread that runs without a waiter. More...
class  DirectoryIterator
 Iterates over entries of a directory. More...
class  EventLoop
 Event loop of a thread or process. More...
class  EventSink
 Receiver for events. More...
class  EventSource
 Sends events to sinks in other threads. More...
class  FileDevice
 Read and write to files. More...
class  FileInfo
 Provides information about a node in the file-system. More...
class  IOBuffer
 Stream buffer for an IODevice. More...
class  IODevice
 Endpoint for I/O operations. More...
class  IOError
 I/O error. More...
class  IONotifier
 Monitors a native handle or file descriptor. More...
class  IOStream
 Bidirectional stream for an IODevice. More...
class  IStream
 Input stream for an IODevice. More...
class  Library
 Shared library loader. More...
class  LogChannel
 Logging channel. More...
class  Logger
 Writes log records to a target. More...
class  LogMessage
 Logs records with a logger. More...
class  LogRecord
 Log records can be added to a log. More...
class  LogTarget
 Target of log-messages. More...
class  MainLoop
 Platform event loop. More...
class  Mutex
 Mutual exclusion device. More...
class  MutexLock
 Scoped lock for a Mutex. More...
class  OStream
 Output stream for an IODevice. More...
class  Path
 Represents a path in the file-system. More...
class  Pipe
 Pair of IODevice endpoints that form a half-duplex pipe. More...
class  Plugin
 Interface for plugins. More...
class  PluginId
 ID for plugin exports. More...
class  PluginManager
 Manages loaded plugins. More...
class  Process
 Starts another program as a child process. More...
class  ProcessFailed
 Thrown when a process does not terminate normally. More...
class  ProcessInfo
 Startup parameters for a Process. More...
class  Queue
 Thread-safe FIFO queue. More...
class  ReadLock
 Scoped read lock for a ReadWriteMutex. More...
class  ReadWriteMutex
 Mutex for concurrent readers or one writer. More...
class  RecursiveLock
 Scoped lock for a RecursiveMutex. More...
class  RecursiveMutex
 Recursive mutual exclusion device. More...
class  Selectable
 Operation that runs through an event loop. More...
class  Semaphore
 Counting semaphore. More...
class  SerialDevice
 Serial port as an IODevice. More...
class  SpinLock
 Scoped lock for a SpinMutex. More...
class  SpinMutex
 Spin mutex. More...
class  Symbol
 Symbol resolved from a shared library. More...
class  SymbolNotFound
 Thrown, when a symbol is not found in a library. More...
class  SystemError
 Exception for a failed system operation. More...
class  TarEntry
 Represents a single entry returned by TarReader. More...
class  TarReader
 Incremental reader for tar archives (Pax/UStar format). More...
class  TarWriter
 Blocking writer for tar archives (Pax/UStar format). More...
class  Thread
 Portable thread of control. More...
class  Timer
 Interval timeout notifications. More...
class  WriteLock
 Scoped write lock for a ReadWriteMutex. More...

Enumerations

enum  LogLevel {
}
 Severity of the log-message. More...

Functions

FileInfo::Perms operator| (FileInfo::Perms a, FileInfo::Perms b)
 Bitwise OR for FileInfo permission flags.
FileInfo::Perms operator& (FileInfo::Perms a, FileInfo::Perms b)
 Bitwise AND for FileInfo permission flags.
FileInfo::Perms operator^ (FileInfo::Perms a, FileInfo::Perms b)
 Bitwise XOR for FileInfo permission flags.
FileInfo::Perms operator~ (FileInfo::Perms a)
 Bitwise NOT for FileInfo permission flags.
FileInfo::Permsoperator|= (FileInfo::Perms &a, FileInfo::Perms b)
 Bitwise OR assignment for FileInfo permission flags.
FileInfo::Permsoperator&= (FileInfo::Perms &a, FileInfo::Perms b)
 Bitwise AND assignment for FileInfo permission flags.
FileInfo::PermOptions operator| (FileInfo::PermOptions a, FileInfo::PermOptions b)
 Bitwise OR for FileInfo permission options.
bool operator< (const FileInfo &a, const FileInfo &b)
 Compare two FileInfo objects.
bool operator== (const FileInfo &a, const FileInfo &b)
 Compare two FileInfo objects.
bool operator!= (const FileInfo &a, const FileInfo &b)
 Compare two FileInfo objects.
LogMessageendlog (LogMessage &msg)
 Manipulator to end and send a log-message.
Path operator/ (const Path &a, const Path &b)
 Appends a paths to another.
Path operator/ (const Path &a, const Pt::String &b)
 Appends a paths to another.
Path operator/ (const Path &a, const char *b)
 Appends a paths to another.
bool operator== (const Path &a, const Path &b)
 Compares two paths.
bool operator!= (const Path &a, const Path &b)
 Compares two paths.
bool operator< (const Path &a, const Path &b)
 Compares two paths.

Detailed Description

This module is the portable operating-system layer for a process. It covers the file system, threads and processes, event loops, I/O devices, logging, shared libraries, plugins, tar archives, and the clock.