How cristi-xx/fixitnow works
FixItNow is a console-based appliance-repair service manager. Staff and the repairable-appliance catalog are maintained before customer requests are registered; the ServiceManager then queues requests, assigns suitable technicians, advances repairs through simulation, and supports CSV reporting. Staff validation, employee/appliance factories, and salary decorators provide supporting domain logic. The excerpts show the CLI-to-manager entry point and portions of allocation and simulation; some subsystem links below rely on README descriptions rather than inspected implementation.
Main entry points: ServiceManager.cpp Service manager · Angajati.cpp Employee validation · CereriReparatie.cpp Repair request · Electrocasnic.cpp Appliance model
Components 22
Console workflow
- CLI menus
main.cpp
Service operations
- Service manager
ServiceManager.cpp - Staff administration
ServiceManager.cpp - Catalog administration
ServiceManager.cpp - Request intake
ServiceManager.cpp - Technician allocation
ServiceManager.cpp - Repair simulation
ServiceManager.cpp - CSV reporting
ServiceManager.cpp
Appliance domain
- Repairable catalog
Electrocasnice/CatalogElectrocasnice.cpp - Appliance model
Electrocasnice/Electrocasnic.cpp - Refrigerator
Electrocasnice/Tipuri/Frigider.cpp - Washing machine
Electrocasnice/Tipuri/Masina_spalat.cpp - Television
Electrocasnice/Tipuri/TV.cpp - Appliance factory
ElectrocasnicFactory.cpp
Staff and payroll
- Employee validation
Muncitori/Angajati.cpp - Employee factory
AngajatFactory.cpp - Receptionist
Muncitori/Angajatii/Receptioner.cpp - Technician
Muncitori/Angajatii/Tehnician.cpp - Supervisor
Muncitori/Angajatii/Supervizor.cpp - Salary decorators
Muncitori/Salarii/ICalculSalariu.cpp
Repair requests
- Repair request
Cereri/CereriReparatie.cpp
Other components
- Service operator
Connections 30
- Service operator → CLI menus: uses
README.md - CLI menus → Service manager: dispatches
main.cpp - Service manager → Staff administration: manages
ServiceManager.cpp - Service manager → Catalog administration: manages
ServiceManager.cpp - Service manager → Request intake: manages
ServiceManager.cpp - Service manager → Technician allocation: runs
ServiceManager.cpp - Service manager → Repair simulation: runs
ServiceManager.cpp - Service manager → CSV reporting: generates
ServiceManager.cpp - Staff administration → Employee factory: creates staff
ServiceManager.cpp - Employee factory → Employee validation: creates
- Employee validation → Receptionist: specializes
- Employee validation → Technician: specializes
- Employee validation → Supervisor: specializes
- Employee validation → Salary decorators: uses salary
- Staff administration → Salary decorators: configures
ServiceManager.cpp - Catalog administration → Repairable catalog: updates
- Request intake → Repair request: queues
ServiceManager.cpp - Request intake → Appliance factory: creates appliance
- Appliance factory → Refrigerator: creates
ElectrocasnicFactory.cpp - Appliance factory → Washing machine: creates
ElectrocasnicFactory.cpp - Appliance factory → Television: creates
ElectrocasnicFactory.cpp - Refrigerator → Appliance model: specializes
- Washing machine → Appliance model: specializes
- Television → Appliance model: specializes
- Repair request → Appliance model: owns
- Repair request → Technician: tracks assignment
- Technician allocation → Technician: selects
ServiceManager.cpp - Technician allocation → Repair request: assigns
ServiceManager.cpp - Repair simulation → Repair request: advances ticks
ServiceManager.cpp - Catalog administration → Appliance model: checks models