adevs
Public Member Functions | Friends | List of all members
adevs::sd_time Class Reference

#include <adevs_time.h>

Public Member Functions

 sd_time (double t, int k)
 
 sd_time (const sd_time &other)
 
double real () const
 
double integer () const
 
const sd_timeoperator= (const sd_time &other)
 
bool operator== (const sd_time &t2) const
 Equivalence.
 
bool operator!= (const sd_time &t2) const
 Not equal.
 
bool operator< (const sd_time &t2) const
 Order by t then by c.
 
bool operator<= (const sd_time &t2) const
 
bool operator> (const sd_time &t2) const
 
bool operator>= (const sd_time &t2) const
 
sd_time operator+ (const sd_time &t2) const
 Add and subtract.
 
const sd_timeoperator+= (const sd_time &t2)
 
sd_time operator- (const sd_time &t2) const
 
const sd_timeoperator-= (const sd_time &t2)
 

Friends

std::ostream & operator<< (std::ostream &out, const sd_time &t)
 

Detailed Description

This time type allows models to evolve on R x Z.


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