ForSyDe::tt_event< VT, TT > Struct Template Reference
Time-tagged data types. More...
#include <tt_event.hpp>
Public Member Functions | |
tt_event (const VT &value, const TT &time) | |
The constructor with time and value. | |
tt_event () | |
The default constructor. | |
tt_event (const tt_event &ev) | |
The copy constructor. | |
bool | operator== (const tt_event &ev) const |
Checks for the equivalence of two timed events. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const tt_event &ev) |
Overload the streaming operator to enable SystemC communiation. | |
VT | get_value (const tt_event &ev) |
TT | get_time (const tt_event &ev) |
void | set_value (tt_event &ev, const VT &v) |
void | set_time (tt_event &ev, const TT &t) |
Detailed Description
template<typename VT, typename TT = sc_time>
struct ForSyDe::tt_event< VT, TT >
Time-tagged data types.
This template class defines a timed event as a combination of a value typed T, and a time value defaulted to sc_time.
Member Function Documentation
template<typename VT, typename TT = sc_time>
|
inline |
Checks for the equivalence of two timed events.
Returns true only if both the values and time tags match.
The documentation for this struct was generated from the following file:
- src/forsyde/tt_event.hpp
Generated by Doxygen 1.8.11