Question
Background There are many pharmacy storages over the world which provides medication with multiple types of products. Also, countries around the globe have responded to
Background There are many pharmacy storages over the world which provides medication with multiple types of products. Also, countries around the globe have responded to pandemic preparedness and developed strategies to cope with the pandemic crisis. The role of healthcare professionals is of paramount importance. Pharmacists are playing a vital role in dealing, preparedness, prevention, protection, promoting access to medicines and to improve health outcomes during this crisis. In recent years, many healthcare facilities have been faced with the challenge of providing personalized, high-touch care from a distance. The pandemic forced pharmacies to limit in-person services and many focused on contactless methods such as curbside pickup, mail order, and delivery. In addition to improved safety, these services also offer conveniences for patients that will be desired beyond pandemic. Drive-through offer an efficient alternative to curbside and delivery methods with a dedicated, streamlined space for prescription pickups. The main advantages include: Improved medication adherence rates. Increased safety for both patients and pharmacy staff in the event of pandemic. Opens up streamlined service offering alongside other alternative prescription delivery methods. Provides service with limited contact for those that would still like to keep their distance. Objectives This assignment will assess your mastery of the following objectives: Read data from file using line-based processing. Implement the data structure list and queue. Handle the checked and I/O exception. Construct an event-driven simulation. Follow prescribed conventions for spacing, indentation, naming methods, and header comments. Requirements Your task is to develop a structural program that simulate a queueing system at the pharmacy store. The customers (on their vehicles) will come to the store at the given time. They will need to drive their vehicles to get in the line (queue). There is only one pharmacy technician at the drive-thru window serves customer one at a time. The customer in front of the line will be served if there is no customer being served. The customer at the drive-thru window has to wait for the pharmacy technician to process the order. After the order is processed, the customer leaves the window. You are provided eight different files: Vehicle.h, Vehicle.cpp, ArrayList.h, ArrayList.cpp, ArrayQueue.h, ArrayQueue.cpp, Simulation.h, Simulation.cpp, and some test files. You are NOT allowed to modify header files (.h files) and only modify the body of methods in the implementation files (.cpp files). You are NOT allowed to add any extra standard library or external library in the cpp files. Using extra library will cause a grade of zero. Please find the TODO tags for where you need to place your code. The tables below depict the methods and functionality for each class:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started