Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
}; The enque and deque functions are pure virtual, indicating the Queue class is to be used as a base class; particular queues are derived from Queue...
}; The enque and deque functions are pure virtual, indicating the Queue class is to be used as a base class; particular queues are derived from Queue and implement these two functions as necessary. The following denitions are provided in queue.h: class Queue : public Connector { public: virtual void enque(Packet*) = 0; virtual Packet* deque() = 0; void recv(Packet*, Handler*); void resume(); int blocked(); void unblock(); void block(); protected: Queue(); int command(int argc, const char*const* argv); int qlim_; /* maximum allowed pkts in queue */ int blocked_; int unblock_on_resume_; /* unblock q on idle?