/*
 * (c) 2005 Research Group Dr. Fuhrmann, University of Karlsruhe, Germany
 * All rights reserved.
 *
 * Author:
 *         Kendy Kutzner <kutzner@ira.uka.de>
 *
 * $Id: vtqueue.h,v 1.4 2005/12/27 12:12:33 kutzner Exp $
 *
 */

#ifndef _VTQUEUE_H_
#define _VTQUEUE_H_

#include <list>
using namespace std;

#include <thread.h>

class vtmsg;

/** Communication queue between igor-receive thread and main thread.
 * This lockable queue of messages is used between the igor-receiver thread and
 * the main thread. The receiver thread puts messages into the queue, the main
 * thread removes messages. The queue has a mutex, to make it thread safe.
 * Remember to Lock() it before and Unlock() after usage. There are no members
 * because everything is inherited from base classes.
 */

class cqueue : public list<vtmsg*> , public cMutex {
};

#endif // _VTQUEUE_H_
