|
adevs
|
#include <limits>Go to the source code of this file.
Classes | |
| class | adevs::SuperDenseTime< RealType > |
| This is the default super dense simulation time. More... | |
Typedefs | |
| typedef SuperDenseTime< int > | adevs::Time |
| Default type to use for time. | |
Functions | |
| template<class T > | |
| T | adevs_inf () |
| Returns the maximum value for a time type. More... | |
| template<> | |
| adevs::SuperDenseTime< int > | adevs_inf () |
| Returns the maximum value for a time type. More... | |
| template<> | |
| adevs::SuperDenseTime< long > | adevs_inf () |
| Returns the maximum value for a time type. More... | |
| template<> | |
| adevs::SuperDenseTime< double > | adevs_inf () |
| Returns the maximum value for a time type. More... | |
| template<> | |
| int | adevs_inf () |
| Returns the maximum value for a time type. More... | |
| template<typename T > | |
| T | adevs_zero () |
| Returns the zero value for a time type. More... | |
| template<> | |
| adevs::SuperDenseTime< int > | adevs_zero () |
| Returns the zero value for a time type. More... | |
| template<> | |
| adevs::SuperDenseTime< long > | adevs_zero () |
| Returns the zero value for a time type. More... | |
| template<> | |
| adevs::SuperDenseTime< double > | adevs_zero () |
| Returns the zero value for a time type. More... | |
| template<> | |
| int | adevs_zero () |
| Returns the zero value for a time type. More... | |
| template<class T > | |
| T | adevs_epsilon () |
| Returns the smallest increment of time. More... | |
| template<> | |
| adevs::SuperDenseTime< int > | adevs_epsilon () |
| Returns the smallest increment of time. More... | |
| template<> | |
| adevs::SuperDenseTime< long > | adevs_epsilon () |
| Returns the smallest increment of time. More... | |
| template<> | |
| adevs::SuperDenseTime< double > | adevs_epsilon () |
| Returns the smallest increment of time. More... | |
| template<> | |
| int | adevs_epsilon () |
| Returns the smallest increment of time. More... | |
Essential template functions for working with time.
A TimeType must offer support for +, -, <, <=, adevs_inf(), adevs_zero(), and adevs_epsilon().
|
inline |
Returns the smallest increment of time.
For all h not zero and t, h < inf, t < t + h
Referenced by adevs_zero().
|
inline |
Returns the smallest increment of time.
For all h not zero and t, h < inf, t < t + h
|
inline |
Returns the smallest increment of time.
For all h not zero and t, h < inf, t < t + h
|
inline |
Returns the smallest increment of time.
For all h not zero and t, h < inf, t < t + h
|
inline |
Returns the smallest increment of time.
For all h not zero and t, h < inf, t < t + h
Referenced by adevs_zero().
|
inline |
Returns the maximum value for a time type.
For all t not inf(), t < inf()
References adevs_inf(), and adevs_zero().
Referenced by adevs_inf().
|
inline |
|
inline |
Returns the maximum value for a time type.
For all t not inf(), t < inf()
|
inline |
Returns the maximum value for a time type.
For all t not inf(), t < inf()
|
inline |
Returns the maximum value for a time type.
For all t not inf(), t < inf()
References adevs_zero().
Referenced by adevs_inf().
|
inline |
Returns the zero value for a time type.
t + 0 = 0 + t = t
References adevs_epsilon().
Referenced by adevs_inf().
|
inline |
Returns the zero value for a time type.
t + 0 = 0 + t = t
|
inline |
Returns the zero value for a time type.
t + 0 = 0 + t = t
|
inline |
Returns the zero value for a time type.
t + 0 = 0 + t = t
|
inline |
Returns the zero value for a time type.
t + 0 = 0 + t = t
References adevs_epsilon().
Referenced by adevs_inf().
1.8.13