38 _queue =
new std::queue<T>();
58 #ifdef BUFFER_UNDERFLOW_CHECKING 60 throw std::runtime_error(this->GetName() +
61 ": unable to pop from an empty queue");
75 #ifdef BUFFER_OVERFLOW_CHECKING 77 if (_size == _capacity)
78 throw std::runtime_error(this->GetName() +
79 ": unable to push to a full queue.");
101 return _queue->front();
108 template <
typename T>
117 template <
typename T>
119 return _size == _capacity;
Untimed models represent hardware models whose clock period is irrelevant for the simulation...