|
scc 2025.09
SystemC components library
|
priority event queue More...
#include <peq.h>


Public Types | |
| using | pair_type = std::pair<const sc_core::sc_time, TYPE> |
| using | map_type = std::map<const sc_core::sc_time, std::deque<TYPE>*> |
Public Member Functions | |
| peq () | |
| default constructor creating a unnamed peq | |
| peq (const char *name) | |
| named peq constructor | |
| ~peq () | |
| destructor | |
| void | notify (TYPE const &entry, const sc_core::sc_time &t) |
| non-blocking push. | |
| void | notify (TYPE &&entry, const sc_core::sc_time &t) |
| void | notify (TYPE &&entry) |
| void | notify (TYPE const &entry) |
| non-blocking push | |
| boost::optional< TYPE > | get_next () |
| non-blocking get | |
| TYPE | get () |
| blocking get | |
| sc_core::sc_event & | event () |
| get the available event | |
| void | cancel_all () |
| cancel all events from the event queue | |
| bool | has_next () |
| check if value is available at current time | |
| void | clear () |
| size_t | size () const |
priority event queue
A simple priority event queue with a copy of the original value
| TYPE | the type name of the object to keep in th equeue |
| using scc::peq< TYPE >::map_type = std::map<const sc_core::sc_time, std::deque<TYPE>*> |
| using scc::peq< TYPE >::pair_type = std::pair<const sc_core::sc_time, TYPE> |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |