GithubHelp home page GithubHelp logo

smichajlidis / queuing-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 580 KB

Queue Management System using SFML for efficient customer flow.

C++ 97.77% CMake 2.23%
cpp queues queuing-simulation queuing-simulator queuing-system sfml

queuing-system's Introduction

Queue Management System with SFML

This project is a queue management system simulator developed using the SFML library. The system allows users to define queues, stations, and manage the flow of customers through the system. The simulator provides a graphical interface with windows for each station, a ticket printing kiosk, and a centralized screen displaying the status of all queues and stations.

Features

  • Queue Creation: Users can specify the number of queues needed and assign a topic and signature (single letter) to each queue.

  • Station Setup: Users can define the number of stations and associate specific queues with each station.

  • Graphical Interface: The system generates windows for each station, a ticket printing kiosk, and a centralized screen displaying the current status of all queues and stations.

  • Ticket Handling: Stations have buttons for calling a ticket (green) and confirming the customer's presence (blue). The ticket on display alternates between being illuminated and blinking until confirmation.

Getting Started

  1. Requirements: Ensure you have SFML installed. You can download it here.

  2. Clone the repository:

    git clone https://github.com/smichajlidis/queuing-system.git
    cd queuing-system
  3. Build using CMake:

    mkdir build
    cd build
    cmake ..
  4. Compile the project:

    make
  5. Run the simulator:

    ./queuing-system

Usage Instructions

  1. Queue Creation:

    • Enter the number of queues needed.
    • For each queue, provide a topic and a one-letter signature.
  2. Station Setup:

    • Specify the number of stations.
    • Associate specific queues with each station.
  3. Graphical Interface:

    • Observe the generated windows for each station, the ticket printing kiosk, and the centralized screen.
  4. Ticket Handling:

    • At each station, use the green button to call a ticket and the blue button to confirm the customer's presence.

Presentation Video

Contributing

Contributions are welcome! Feel free to open issues, submit pull requests, or suggest improvements.

queuing-system's People

Contributors

smichajlidis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.