How airamsveedraaa/practica2ed works
Project type and purpose
• This is a monolithic C++ console application (Practica2ED) whose goal is to manage a pool of server objects (“Servidores”) and dispatch requests via custom data structures (a queue “TADCola” and a list “TADLista”). It reads commands from stdin or a file, manipulates servers (e.g. assign jobs, release jobs) and writes results to stdout.
File structure
• Top-level:
– main.cpp → entry point (CLI layer)
– include/ → public interfaces of each module (Comun.h, GestorServidores.h, Servidor.h, TADCola.h, TADLista.h)
– src/ → implementations matching each header
– bin/Debug/… → compiled executable
– obj/Debug/… → object files (build artifacts)
– Practica2ED.* files → project config and problem statement PDF
• Patterns & layers:
– Presentation/CLI layer: main.cpp
– Business logic layer: GestorServidores (server pool management)
– Domain model: Servidor (individual server state and behavior)
– Data-structure layer: TADCola (queue), TADLista (list)
README
• Empty—no additional architectural guidance.
• Use rectangles for modules (e.g., “main”, “GestorServidores”, “Servidor”, “TADCola”, “TADLista”).
• Blue for CLI/entry,
• Green for business logic,
• Orange for domain model,
• Yellow for data‐structures.