IBlocking

This commit is contained in:
Neeflix
2018-07-11 17:48:21 +02:00
parent 8f12f6ec20
commit b36ef4701d

View File

@@ -0,0 +1,22 @@
/*
* BlockingQueue.hpp
*
* Created on: May 17, 2018
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
*/
#ifndef SRC_UTILITIES_IBLOCKINGQUEUE_H_
#define SRC_UTILITIES_IBLOCKINGQUEUE_H_
template <typename T>
class IBlockingQueue
{
public:
virtual ~IBlockingQueue(){};
virtual void push(T const& value) = 0;
virtual T pop() = 0;
};
#endif /* SRC_UTILITIES_IBLOCKINGQUEUE_H_ */