CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
src Directory Reference
Directory dependency graph for src:

Directories

 
hash

Files

 
Base64.cpp
 
Bitmap.cpp
 Implementation of Bitmap and BitmapUpdate: RGBA raster storage, drawing primitives, integer-ratio resizers, BMP file (de)serialization and the RLE/difference codecs used for incremental remote-display updates.
 
cmsdk2.py
 
cmsdk2_wrap.cxx
 
cmsdk2debug.py
 
cmsdk2debug_wrap.cxx
 
cmsdk3.py
 
cmsdk3_wrap.cxx
 
cmsdk3debug.py
 
cmsdk3debug_wrap.cxx
 
cmsdkjava_wrap.cxx
 
cmsdkjavadebug_wrap.cxx
 
CMSDKTest.cpp
 Standalone console entry point that runs the full CMSDK unit test suite (UnitTest_CMSDK()) outside of the Psyclone executable.
 
ComponentData.cpp
 Implementation of the legacy page-based ComponentData record accessor.
 
ComponentMemory.cpp
 Implementation of the shared component registry: record allocation/relocation, parameters, private data, stats and migration support.
 
ConsoleOutput.cpp
 Implementation of the levelled console logging functions: per-subject verbose/debug/error filtering and printf-style output.
 
ControlMessage.cpp
 Implementation of the ControlMessage wrapper and its self test.
 
DataMapsMemory.cpp
 Implementation of the shared name/id maps (types, contexts, tags, cranks) and the request map, including two-phase id allocation and cluster sync.
 
DataMessage.cpp
 Implementation of DataMessage: construction, flat-block entry management, format conversion and (de)serialisation to JSON/XML/CSV.
 
direntwin.cpp
 Third-party (vendored): implementation of the Win32 POSIX dirent emulation declared in include/direntwin.h (Kevlin Henney, 1997).
 
DynamicMemory.cpp
 Placeholder implementation file for the dynamic-memory subsystem (see TemporalMemory.cpp for the real store).
 
HTML.cpp
 Implementation of the HTML/URL helpers: entity encode/decode tables, extension-to-MIME-type mapping and URL component extraction.
 
jsmn.cpp
 Third-party (vendored): jsmn JSON tokenizer implementation (see include/jsmn.h).
 
MathClasses.cpp
 Implementation of the geometry/math value classes declared in MathClasses.h.
 
MemoryCommander.cpp
 Stub implementation of the MemoryCommander placeholder.
 
MemoryController.cpp
 Trivial constructor/destructor of the abstract MemoryController interface.
 
MemoryManager.cpp
 Implementation of MemoryManager, MasterMemory, PsycloneIndex and the legacy MemoryManagerX page allocator.
 
MemoryMaps.cpp
 Implementation of the legacy static MemoryMaps facade over the page-based shared maps.
 
MemoryQueues.cpp
 Implementation of the shared-memory MessageQueue ring buffers and the static request/reply helpers, plus their unit tests.
 
MemoryRequestConnection.cpp
 Implementation of the client endpoint of the named shared-memory request/reply service, including the out-of-order reply cache.
 
MemoryRequestQueues.cpp
 Implementation of the raw request-queue and request-status-map algorithms used by the request/reply service.
 
MemoryRequestServer.cpp
 Implementation of the request/reply server: segment creation, request dispatch and connection maintenance.
 
MessageIndex.cpp
 Implementation of the multi-key DataMessage index: per-key multimaps, EOL-driven eviction and range queries.
 
MessagePlayer.cpp
 Implementation of DataMessage recording and timed replay, including index/metadata files and CSV export.
 
MovingAverage.cpp
 Implementation of the time-binned MovingAverage tracker.
 
NetworkConnections.cpp
 Implementation of the raw socket transports: TCPListener, TCPConnection, UDPConnection and SSLConnection (OpenSSL).
 
NetworkManager.cpp
 Implementation of NetworkManager, NetworkChannel and NetworkThread: channel/connection lifecycle, protocol worker threads (HTTP server/client, message, telnet, WebSocket), protocol auto-detection and the blocking makeHTTPRequest() client, plus networking unit tests.
 
NetworkProtocols.cpp
 Implementation of the wire-protocol layer: HTTPRequest/HTTPReply parsing and generation, WebSocket (RFC 6455) framing with masking and extended payload lengths in network byte order, Telnet lines, JSONM multipart containers and the protocol auto-detection checks.
 
Observations.cpp
 
ProcessMemory.cpp
 Implementation of the shared process table and per-process command/message/signal/request queues with named-semaphore signalling.
 
PsyAPI.cpp
 Implementation of PsyAPI, the component-facing API handle (see PsyAPI.h).
 
PsyInternal.cpp
 Implementation of the built-in internal cranks (see PsyInternal.h): ping/pong tests, shutdown, printing, message-script playback, stats logging and other system-service/diagnostic components dispatched by PsySpace.
 
PsySpace.cpp
 Implementation of PsySpace, TimeQueue and TimeQueueSchedule (see PsySpace.h).
 
PsySSL.cpp
 Implementation of the OpenSSL-based TLS server helpers (see PsySSL.h).
 
PsyTime.cpp
 Implementation of the CMSDK time functions (see PsyTime.h).
 
RequestClient.cpp
 Implementation of the request-system client side: RequestReply completion/waiting, RequestClient's gateway connection upkeep, request dispatch and reply matching, plus the load-test clients used by the gateway unit test.
 
RequestExecutor.cpp
 Implementation of the request-system worker side: gateway link upkeep with heartbeats, short/long request queueing and the reply path, plus the delay-simulating TestRequestExecutor.
 
RequestGateway.cpp
 Implementation of the request-system router: ingress over binary/ HTTP/WebSocket, executor load balancing and liveness (heartbeat timeout, dead-executor redistribution), reply routing, the RequestQueue, call logging, the built-in web server/APIs, and the end-to-end unit test.
 
RESTAPI.cpp
 Implementation of RESTParser, RESTRequest and RESTHTTPCall (see RESTAPI.h).
 
Stats.cpp
 Implementation of the Stats sliding-window sample collector.
 
Subscriptions.cpp
 Implementation of the named lookups on TriggerSpec tails and TriggerSpec XML serialisation.
 
TemporalMemory.cpp
 Implementation of the slot/bin temporal message store: bin selection, block allocation, growth/resize and EOL expiry sweeps.
 
ThreadManager.cpp
 Implementation of the ThreadManager singleton, its monitoring thread and its self-contained unit test.
 
UnitTest_CMSDK.cpp
 Suite assembly for the CMSDK unit tests: collects each object's Register_*_Tests() function and implements the RunCMSDKTests() dispatch used by Psyclone's test= command line.
 
UnitTestFramework.cpp
 Implementation of the CMSDK unit test harness (UnitTestRunner and the unittest:: reporting API).
 
Utils.cpp
 Implementation of the cross-platform utility layer declared in Utils.h.
 
VantagePoints.cpp
 
xml_parser.cpp
 Vendored third-party XML parser implementation (V2.31, Frank Vanden Berghen, BSD license); see xml_parser.h.