www.pudn.com > os.rar > QueueNode.h


#ifndef QueueNode_H 
#define QueueNode_H 
 
 
#include "PCBNode.h" 
class QueueNode 
{ 
public: 
	QueueNode(); 
	~QueueNode(); 
	int GetID(); 
	void SetID(int n); 
	QueueNode *GetnextQNode(); 
	void Setnext(QueueNode *node); 
	void Setisarrive(bool flag); 
	bool Getisarrive(); 
	 
private: 
	int ID;          //进程ID 
    QueueNode * next;   //队列中下一个进程指针 
	bool isarrive; 
}; 
 
#endif