How f-w-b-t/kt_store works
This is a console-based shop and inventory simulator. A user selects menu actions to inspect the shop, sellers, and warehouse, or to create and print a purchase check. The main runtime stages are shop and inventory setup, product placement, seller-led checkout, and signal-driven stock adjustment. The graph also shows the inventory hierarchy and the signal mechanism. Source excerpts support these links; no README documentation or external integrations were provided.
Main entry points: main.cpp Menu and setup · StoreEnt.cpp Warehouse · Signals.h Global signals
Components 11
Console entry
- Menu and setup
main.cpp
Inventory management
- Warehouse
StoreEnt.cpp - Warehouse section
StoreEnt.cpp - Stock shelf
StoreEnt.cpp - Product catalog
StoreEnt.cpp
Sales workflow
- Shop
StoreEnt.cpp - Seller
StoreEnt.cpp - Customer
StoreEnt.cpp - Purchase check
StoreEnt.cpp
Stock events
- Global signals
Signals.h
Other components
- Operator
Connections 14
- Operator → Menu and setup: selects actions
- Menu and setup → Shop: creates shop
main.cpp - Menu and setup → Warehouse: configures
main.cpp - Menu and setup → Warehouse section: adds sections
main.cpp - Menu and setup → Stock shelf: adds shelves
main.cpp - Menu and setup → Product catalog: creates products
main.cpp - Menu and setup → Seller: creates sellers
main.cpp - Menu and setup → Purchase check: prints check
main.cpp - Warehouse → Warehouse section: creates sections
StoreEnt.cpp - Warehouse section → Stock shelf: creates shelves
StoreEnt.cpp - Seller → Purchase check: creates check
StoreEnt.cpp - Purchase check → Global signals: emits additions
StoreEnt.cpp - Warehouse → Global signals: subscribes
StoreEnt.cpp - Global signals → Warehouse: dispatches callbacks
Signals.h