Public Member Functions | Protected Attributes | Friends

RadioStateAnalogueModel::ListEntry Class Reference

Data structure for the list elements. More...

#include <PhyUtils.h>

List of all members.

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"

Detailed Description

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.


The documentation for this class was generated from the following file: