Pt::System Namespace Reference

Detailed Description

This module offers support for multithreaded programming, API's for file system operations such as traversing through directories and files, creating and handling of subprocesses, synchronous or asynchronous IO, logging, shared libraries and plugins. It introduces event loops as the central software interrupt to handle events across thread boundaries, timers and reactive I/O.

Classes

class  Application
 Console applications without a GUI. More...
 
class  AttachedThread
 A Joinable thread. More...
 
class  BasicPlugin
 A plugin implementation. More...
 
class  Clock
 Measures time intervals. More...
 
class  Condition
 Signal and wait synchronisation promitive. More...
 
class  DetachedThread
 A detached thread. More...
 
class  DirectoryIterator
 Iterates over entries of a directory. More...
 
class  EventLoop
 Thread-safe event loop supporting I/O multiplexing and Timers. More...
 
class  EventSink
 Receiver for events. More...
 
class  EventSource
 Sends Events to receivers 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
 Implements std::streambuf for I/O devices. More...
 
class  IODevice
 Endpoint for I/O operations. More...
 
class  IOStream
 Input/Output stream for I/O devices. More...
 
class  IStream
 Input stream for I/O devices. 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
 Thread-safe event loop supporting I/O multiplexing and Timers. More...
 
class  Mutex
 Mutual exclusion device. More...
 
class  MutexLock
 MutexLock class for Mutex. More...
 
class  OStream
 Output stream for I/O devices. More...
 
class  Path
 Represents a path in the file-system. More...
 
class  Pipe
 A Pair of IODevices 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
 Executes shell commands. More...
 
class  ProcessFailed
 Indicates process failure. More...
 
class  ProcessInfo
 Process startup parameters More...
 
class  Queue
 This class implements a thread safe queue. More...
 
class  ReadLock
 Reader lock object for read-write mutexes. More...
 
class  ReadWriteMutex
 Synchronisation device similar to a POSIX rwlock. More...
 
class  RecursiveLock
 Lock class for recursive mutexes. More...
 
class  RecursiveMutex
 Recursive mutual exclusion device. More...
 
class  Selectable
 Dispatches operations through an event loop. More...
 
class  Semaphore
 Semaphore synchronization object. More...
 
class  SerialDevice
 Serial device. More...
 
class  SpinLock
 Lock object for spin mutexes. More...
 
class  SpinMutex
 Spinmutex class. 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 class indication a system error. More...
 
class  Thread
 Platform independent threads. More...
 
class  Timer
 Notifies clients in constant intervals. More...
 
class  WriteLock
 Writer lock object for read-write mutexes. More...
 

Enumerations

enum  LogLevel { ,
  Fatal = 100,
  Error = 200,
  Warn = 300,
  Info = 400,
  Debug = 500,
  Trace = 600
}
 Severity of the log-message. More...