Middleware
This module summarizes the middleware components in LibXR used for system services, communication management, and terminal interaction.
Features
- Unified Abstraction: Provides core middleware functions such as event handling, logging, topic publishing, and virtual terminals.
- Multiple Operation Models: Supports synchronous, asynchronous, queued, and callback-based modes for different scenarios.
- High Performance: Heavily utilizes lock-free lists and queues internally to ensure concurrent performance.
- Embedded Adaptation: Supports flash minimum write unit constraints and key-value storage on memory-constrained devices.
Contents
- Application Framework
- Logger System
- Event System
- Message System
- Database Key-Value Storage
- RamFS In-Memory File System
- Terminal Command Interface
Notes:
- In current mainline, the message subsystem is no longer best understood as one catch-all page; the contracts and tradeoffs of
Topic,Packet/Server, andLinuxSharedTopicare split into their own pages and should be read there. - Current
RamFSpublic docs are based on theCustomnode model, not the olderDevicenode model that appeared in older materials.
For detailed API descriptions, see the individual pages.