How sonphoenix/ais-simulator works
This is a C++ AIS-driven ocean and vessel simulator. Its apparent workflow combines live AIS position reports with a rendered ocean/terrain world, but the available excerpts do not show the application entry point wiring those stages together. The graph therefore preserves the major subsystems visible in the tree without asserting unverified calls between them; the vendored cryptography headers are grouped as external dependency interfaces.
Main entry points: ais_client.cpp AIS Client · ais_message.hpp AIS Messages · psa PSA Crypto API · mbedtls Mbed TLS Crypto
Components 18
Simulation
- Simulator Entry
src/main.cpp - Ship Registry
src/ship_registry.cpp - Coordinate Conversion
src/coordinate_converter.cpp
World Rendering
- Terrain
src/terrain.cpp - World Terrain
src/world_terrain.cpp - Tile Fetching
src/tile_fetcher.cpp - Ocean
src/Ocean.cpp - Wave Simulation
src/wave.cpp - Meshes
src/mesh.cpp - Model Loading
src/model.cpp - Textures
src/texture.cpp - Cubemap
src/cubemap.cpp - Shader Handling
src/shaderClass.cpp - Flare Effects
src/flaremanager.cpp
AIS Traffic
- AIS Client
src/ais_client.cpp - AIS Messages
include/ais_sim/ais_message.hpp
Vendored Cryptography
- Mbed TLS Crypto
external/mbedtls/include/mbedtls - PSA Crypto API
external/mbedtls/include/psa
Connections 3
- AIS Client → AIS Messages: uses types
- AIS Client → AIS Messages: delivers parsed
src/ais_client.cpp - PSA Crypto API → Mbed TLS Crypto: uses crypto primitives
external/mbedtls/include/psa/crypto_sizes.h