|
libcosmos
Linux C++ System Programming Library
|
| ►Ncosmos | |
| ►Nfs | |
| CCopyFileRangeParameters | Set of parameters for copy_file_range() |
| ►Nmem | |
| CMapFlags | Flags used in MapSettings |
| CMapSettings | Collection of settings used in cosmos::mem::map() |
| ►Nnet | |
| CEndianNumber | An endianness aware unsigned integer |
| CEndianTraits | |
| CEndianTraits< Endian::BIG > | |
| CEndianTraits< Endian::LITTLE > | |
| CRawIntTraits | |
| CRawIntTraits< uint16_t, Endian::BIG > | |
| CRawIntTraits< uint16_t, Endian::LITTLE > | |
| CRawIntTraits< uint32_t, Endian::BIG > | |
| CRawIntTraits< uint32_t, Endian::LITTLE > | |
| CRawIntTraits< uint64_t, Endian::BIG > | |
| CRawIntTraits< uint64_t, Endian::LITTLE > | |
| ►Nproc | |
| CPidInfo | Helper type for caching PID an PPID information |
| ►Npthread | |
| CID | POSIX thread IDs for comparison of different threads objects |
| ►Nptrace | |
| CPeekSigInfo | Wrapper around data structure used with ptrace::Request::PEEKSIGINFO |
| CSyscallInfo | Wrapper around data structure used with ptrace::Request::GET_SYSCALL_INFO |
| ►Nsignal | |
| CStack | Data structure used for defining an alternate signal stack |
| ►Nterm | |
| CBackColor | Simple type to represent an ANSI background color in bright or normal intensity |
| CColoredText | Base class for easy colored text application on ostreams |
| CColoredTextT | Template for definition of concrete color text helpers |
| CColorSpec | Complete color specification for ANSI terminals |
| CFeatureBase | Base class to build nested ANSI feature objects |
| CFrontColor | Simple type to represent an ANSI foreground color in bright or normal intensity |
| CTextEffect | Base class for easy feature TermControl application on ostreams |
| CTextEffectT | Template for definition of concrete text effect helpers |
| CTextOnColorT | Template for definition of concrete background color helpers |
| CAddressHints | Hints specification for queries done with AddressInfoList |
| CAddressInfo | A single name resolution result entry as found in AddressInfoList |
| CAddressInfoIterator | Helper class to iterate over AddressInfoList |
| CAddressInfoList | Resolve DNS names and provide the resulting list of AddressInfos |
| CAncillaryMessage | Base class for types that deal with (de)serializing ancillary socket messages |
| CApiError | Specialized exception type used when system APIs fail |
| ►CBitMask | A typesafe bit mask representation using class enums |
| CAll | Helper type for setting all bits during construction time of BitMask |
| CChildCloner | Sub process creation facility |
| CClock | C++ wrapper around the POSIX clocks and related functions |
| CCloneArgs | Argument struct for proc::clone() |
| CCompareCString | Comparison type for std::map and similar containers with plain char* as keys |
| CCondition | A class to represent a pthread condition |
| CConditionMutex | An aggregate of a Mutex and a Condition coupled together for typical Condition usage |
| CCosmosError | Base class for libcosmos exceptions |
| CDirectory | Representation of open directory file descriptors |
| CDirEntry | A single directory entry as returned from DirStream::nextEntry() |
| CDirFD | A specialized FileDescriptor for directory objects |
| CDirIterator | This type implements range based for loop iterator semantics for DirStream |
| CDirStream | Access directory contents in the file system |
| CEventFile | Wrapper around an eventfd FileDescriptor |
| CFamilyTraits | |
| CFamilyTraits< SocketFamily::INET > | |
| CFamilyTraits< SocketFamily::INET6 > | |
| CFDFile | File objects that are opened from existing FileDescriptor objects |
| CFifoSchedulerSettings | FIFO Scheduling Policy Settings |
| CFile | File objects that are opened by pathname |
| CFileBase | Base class for File types with ownership of a FileDescriptor |
| ►CFileDescriptor | Thin Wrapper around OS file descriptors |
| COwner | Information about file owner settings |
| CFileError | Specialized exception type used for file related APIs |
| CFileLock | Wrapper around struct flock used for advisory file locking in FileDescriptor |
| CFileLockGuard | Helper type for guarding a FileLock |
| CFileMode | Represents the mode bits portion of a ModeT |
| CFileStatus | Obtain and access file status information |
| CFileType | Convenience wrapper around FileT |
| CFormattedNumber | Base class for HexNum and OctNum format output helpers |
| CGroupInfo | Group Database Information |
| CHexNum | Helper to output a primitive integer as hexadecimal in the style of 0x1234 |
| CIdentity | |
| ►CILogger | Abstract interface for a basic logging facility |
| CStreamState | Internal state for each channel's stream |
| CInfoBase | Base class for PasswdInfo and GroupInfo |
| CInit | Convenience initialization object |
| CInitable | Pure virtual base class for the library init system |
| CInitData | |
| CInputMemoryRegion | IOMemoryRegion for input (read) operations |
| CInputOutputStreamAdaptor | Wraps a file descriptor in a std::iostream interface |
| CInputStreamAdaptor | Wraps a file descriptor in a std::istream interface |
| CInterfaceAddress | A single network interface address |
| CInterfaceAddressIterator | Iterator helper type for InterfaceAddressList |
| CInterfaceAddressList | Access to the list of local network interface addresses |
| CInterfaceEnumerator | Enumerate all local network interfaces |
| CInterfaceInfo | Network interface name to index mapping info |
| CInterfaceIterator | Helper class to iterate over InterfaceEnumerator |
| CInternalError | Exception type for grave internal errors |
| CIOMemoryRegion | I/O memory region specification used with scatter/gather I/O in StreamIO API |
| Ciovec_const | Const variant of the struct iovec from system headers |
| CIOVector | A sequence of IOMemoryRegion specifications for scatter/gather I/O in the StreamIO API |
| CIP4Address | A 32-bit IPv4 address and 16 bit port number for use with SocketFamily::INET sockets |
| CIP4Options | IPv4 level socket option setter/getter helper |
| CIP4RawAddress | A 32-bit IPv4 binary address in network byte order |
| CIP6Address | A 128 bit IPv6 address and 16-bit port number plus some IPv6 specific extra fields |
| CIP6Options | IPv6 level socket option setter/getter helper |
| CIP6RawAddress | A 128-bit IPv6 address |
| CIPAddressBase | Base class for both IPv4 and IPv6 addresses |
| CIPOptBase | Base class for IP4Options and IP6Options |
| CIPPort | A 16-bit IP port in network byte order |
| CIPSocketT | Base class for IPv4 or IPv6 based sockets |
| CLinkLayerAddress | A link layer (network layer 2) socket address |
| CListenSocket | Base class for connection based listening-only sockets |
| CMACAddress | A 48-bit ethernet 802.3 MAC address |
| CMainContainerArgs | Class based main() entry point that passes STL style command line arguments |
| CMainNoArgs | Class based main entry point that passes no command line arguments |
| CMainPlainArgs | Class based entry point that passes C-style command line arguments |
| CMapping | Memory mapping type with move-only ownership semantics |
| CMemFile | A file only backed by memory, not by an actual file system |
| CMessageHeaderBase | Base class for SendMessageHeader and ReceiveMessageHeader |
| Cmsghdr_const | Remodelling of struct msghdr with const semantics |
| CMutex | A class to represent a pthread mutex |
| CMutexGuard | A mutex guard object that locks a Mutex for the lifetime of the guard object |
| CMutexReverseGuard | A reversed mutex guard object that unlocks a Mutex for the lifetime of the guard object |
| CNamedBool | Strong template type to wrap boolean values in a named type |
| Cno_init_t | Type used to invoke constructors that explicitly don't zero-initialize low level data structures |
| COctNum | Helper to output a primitive integer as octal in the style of 0o123 |
| COtherSchedulerSettings | "OTHER" Scheduling Policy Settings |
| COutputMemoryRegion | IOMemoryRegion for output (write) operations |
| COutputStreamAdaptor | Wraps a file descriptor in a std::ostream interface |
| CPasswdInfo | Password Database Information for Users |
| CPidFD | A specialized FileDescriptor for pidfds |
| CPipe | Creates a unidirectional pipe communication channel |
| ►CPoller | Efficient file descriptor I/O event polling |
| CPollEvent | A single poll event as returned by wait() |
| CPosixThread | A class representing a basic POSIX thread |
| CProcessFile | Wrapper around a PidFD |
| CRangeError | Specialized exception type for out of range errors reported by the OS |
| CReadLockGuard | A lock-guard object that locks an RWLock for reading until it is destroyed |
| CRealTimeSchedulerSettings | Base class for realtime scheduling policies |
| ►CReceiveMessageHeader | Wrapper for struct msghdr for receiving message via Socket::receiveMessage() |
| CControlMessage | Wrapper for struct cmsghdr used for iterating over received control messages |
| CControlMessageIterator | Helper type for iterating over ControlMessage instances received in a ReceiveMessageHeader |
| CResolveError | Specialized error type for AddressInfoList resolve errors |
| CResourceGuard | Helper class to guard arbitrary resources |
| CRoundRobinSchedulerSettings | Round Robin Scheduling Policy Settings |
| CRuntimeError | Exception type for generic runtime errors |
| CRWLock | This type represents a pthread read-write lock |
| Csched_attr | |
| CSchedulerSettings | Base class for changing process scheduling options |
| CSecretFile | Memory based files suitable for storing of sensitive secret data |
| CSecretMemFile | |
| ►CSendMessageHeader | Wrapper for struct msghdr for sending messages via Socket::sendMessage() |
| CControlMessage | Wrapper for struct cmsghdr used for creating new control messages for sending |
| CSigAction | Data type used with signal::set_action() for controlling asynchronous signal delivery |
| ►CSigInfo | Signal information struct used when receiving signals |
| CBusData | Additional data delivered with SIGBUS signals |
| CChildData | Additional data found in SigInfo with SIGCHILD |
| CCustomData | Additional custom SigInfo data |
| CFaultData | Additional data found in SigInfo for one of the memory fault / trap signals |
| CFPEData | Extra data delivered with SIGFPE signals |
| CIllData | Additional data delivered with SIGILL signals |
| CMsgQueueData | Additional data found in SigInfo with Source::MESGQ |
| CPollData | Additional data found in SigInfo with SIGPOLL |
| CProcessCtx | Information about the process a signal is from or about |
| CQueueSigData | Additional data found in SigInfo with Source::QUEUE |
| ►CSegfaultData | Additional data delivered with SIGSEGV signals |
| CBound | |
| CSysData | Additional data found in SigInfo delivered with SIGSYS |
| CTimerData | Additional data found in SigInfo with Source::TIMER |
| CUserSigData | Additional data found in SigInfo with Source::USER |
| CSignal | Represents a POSIX signal number and offers a minimal API around it |
| ►CSignalFD | A file descriptor for receiving process signals |
| CInfo | SigInfo style data structure returned by SignalFD::readEvent() |
| ►CSigSet | A bit set of signal numbers for use in system calls |
| Cfill_t | |
| CSocket | Base class for Socket types with ownership of a FileDescriptor |
| CSocketAddress | Base class for all types of socket addresses |
| CSocketErrorMessage | Wrapper for the IPMessage::RECVERR ancillary message |
| CSocketErrorT | Wrapper for socket extended errors ancillary message of types IP4Message::RECVERR and IP6Message::RECVERR |
| ►CSocketOptions | Generic socket level option setter/getter helper |
| CLinger | Special option struct for getLinger() and setLinger() |
| CSockOptBase | Base class for Socket option helpers for different OptLevels |
| CStdLogger | A simple standard logger that logs to cout/cerr |
| CStopWatch | A type to measure elapsed time based on a given clock type |
| CStreamAdaptor | Generic template base class for wrapping existing file descriptors in C++ streams |
| CStreamIO | Wrapper around file descriptors for streaming I/O access |
| CSubProc | Represents a child process created via ChildCloner |
| CSysString | Wrapper type around a C-style string for use with system APIs |
| CTCPClientSocketT | Template class of IPv4 and IPv6 based client side TCP connection mode sockets |
| CTCPConnectionT | Template for an active IPv4 and IPv6 based TCP connection |
| CTCPInfo | This structure provides detailed information about TCP socket state |
| CTCPListenSocketT | Implementation of TCP listener sockets based on IPv4 and IPv6 |
| CTCPOptions | TCP level socket option setter/getter helper |
| CTempDir | Creation and lifetime management for temporary directories |
| CTempFile | Specialization of FileBase for managing temporary files |
| CTermDimension | Represents a terminal dimension in characters |
| CTerminal | Access to Terminal information and ioctls |
| ►CTimerFD | Timers that notify via file descriptors |
| CCreateT | Helper type for construction of a ready-to-use TimerFD with default CreateFlags |
| CTimerSpec | Combined start time and repeat interval for a TimerFD setting |
| CTimeSpec | A C++ wrapper around the POSIX struct timespec coupled to a specific CLOCK type |
| CTracee | Thin wrapper class around the ptrace() system call |
| CTwice | Helper for iterating twice over a for loop |
| CTwiceIterator | |
| CUDPOptions | UDP level socket option setter/getter helper |
| CUDPSocketT | Template class for IPv4 and IPv6 based UDP datagram sockets |
| CUnixAddress | Address type for local UNIX domain sockets |
| CUnixClientSocket | Client side socket for connection mode UNIX domain sockets |
| CUnixConnection | An active UNIX domain socket connection |
| CUnixCredentials | User and group credentials of a peer process |
| CUnixCredentialsMessage | Wrapper for the SCM_CREDENTIALS socket ancillary message to transfer process credentials between processes |
| CUnixDatagramSocket | Implementation of a UNIX domain datagram socket |
| CUnixListenSocket | Implementation of a UNIX domain socket listener |
| CUnixOptions | UnixSocket level option setter/getter helper |
| CUnixRightsMessage | Wrapper for the SCM_RIGHTS socket ancillary message to pass file descriptors to other processes |
| CUnixSeqPacketClientSocket | Implementation of a UNIX domain client socket of SocketType::SEQPACKET |
| CUnixSeqPacketListenSocket | Implementation of a UNIX domain socket listener of SocketType::SEQPACKET |
| CUnixStreamClientSocket | Implementation of a UNIX domain client socket of SocketType::STREAM |
| CUnixStreamListenSocket | Implementation of a UNIX domain socket listener of SocketType::STREAM |
| CUsageError | Exception type for logical usage errors within the application |
| CWouldBlock | Specialized ApiError for handling non-blocking operation |
| CWriteLockGuard | A lock-guard object that locks an RWLock for writing until it is destroyed |