Data structure for the list elements. More...
#include <PhyUtils.h>
Public Member Functions | |
ListEntry (simtime_t time, double value) | |
Initializes the entry with the passed values. | |
simtime_t | getTime () const |
Returns the time of the entry. | |
void | setTime (simtime_t time) |
Sets the time of the entry. | |
double | getValue () const |
Returns the value of the entry. | |
void | setValue (double value) |
Sets the value of the entry. | |
Protected Attributes | |
std::pair< simtime_t, double > | basicTimestamp |
The pair representing the time stamp. | |
Friends | |
bool | operator< (const ListEntry &e, const simtime_t &t) |
overload of operator < for class ListEntry to be able to use the STL Algorithms "lower_bound" and "upper_bound" | |
bool | operator< (const simtime_t &t, const ListEntry &e) |
overload of operator < for class ListEntry to be able to use the STL Algorithms "lower_bound" and "upper_bound" |
Data structure for the list elements.
Consists basically of a pair of a simtime_t and a double value (simple time-stamp).
Definition at line 53 of file PhyUtils.h.