+ /**
+ * View the item from the head of the queue.
+ * Calling thread is not suspended
+ *
+ * @return T next available object.
+ */
+ virtual T front() {
+ OpenThreads::ScopedLock<OpenThreads::Mutex> g(mutex);
+
+ assert(this->fifo.empty() != true);
+ //if (fifo.empty()) throw ??
+
+ T item = this->fifo.front();
+ return item;
+ }
+