|
|
| Time (T t=adevs_zero< T >(), unsigned int c=0) |
| | Constructor. Default time is (0,0).
|
| |
|
| Time (const Time &t2) |
| | Copy constructor.
|
| |
|
const Time & | operator= (const Time &t2) |
| | Assignment operator.
|
| |
|
bool | operator< (T t2) const |
| | Comparing with a T compares the real field.
|
| |
| const Time & | operator= (T t2) |
| |
|
Time | operator+ (const Time &t2) const |
| | Advance operator (this is not commutative or associative!)
|
| |
|
const Time & | operator+= (const Time &t2) |
| | Advance and assign.
|
| |
|
T | operator- (T t2) const |
| | Subtract a real number (used to get the elapsed time)
|
| |
|
bool | operator== (const Time &t2) const |
| | Equivalence.
|
| |
|
bool | operator!= (const Time &t2) const |
| | Not equal.
|
| |
|
bool | operator< (const Time &t2) const |
| | Order by t then by c.
|
| |
|
bool | operator<= (const Time &t2) const |
| |
|
bool | operator> (const Time &t2) const |
| |
|
bool | operator>= (const Time &t2) const |
| |
template<class T = double>
struct adevs::Time< T >
This is the super dense simulation clock that is used by the parallel simulator to properly manage simultaneous events.