Class Chain

Class Chain

Placement in the overall structure

Module
object
Base classes
None
Derived classes
Gate
Entrant
Time of creation
Specification of Task 3
Files
chain.h

Description

By inheriting from the Chain class, the derived class inherits a chain pointer that allows its instances to be enqueued in a linked list (implemented in the Queue class).

Public variables

Chain* next
The next chain element of the list. If no next element exists, next should be a null pointer.