26 #ifndef ORCASIM_MODELING_INCLUDE_BUFFER_HPP_ 27 #define ORCASIM_MODELING_INCLUDE_BUFFER_HPP_ 103 #endif // ORCASIM_MODELING_INCLUDE_BUFFER_HPP_
void push(T)
Pushes an object to the back of the buffer.
Buffer(std::string name, uint32_t capacity)
Constructor.
T top()
Peeks at the top of the buffer.
uint32_t full()
Returns TRUE when the buffer is full.
Untimed models represent hardware models whose clock period is irrelevant for the simulation...
uint32_t capacity()
Returns max size of the buffer.
uint32_t size()
Counts elements from the buffer.
void pop()
Removes the object at the front of the buffer.