A valueEvent of a load is composed of a value and a date. More...
#include <ValueEvent.h>
Collaboration diagram for ValueEvent:Public Member Functions | |
| double | getDate () const |
| double get start time More... | |
| double | getValue () |
| return the scalar value of the event More... | |
| double | getValue (const double t) |
| return the scalar value of the event at time t More... | |
| double | getValue (const double t, ValueEvent *nextE) |
| return the scalar value of the event at time t, knowing that next event is nextE More... | |
| bool | isActive (const double t) const |
| return true if the event is active at time t More... | |
| void | setDate (const double) |
| set the value event date More... | |
| void | setValue (const double) |
| set the value event value More... | |
| ValueEvent () | |
| default constructor More... | |
| ValueEvent (const double v, const double d) | |
| constructor with initial values More... | |
| void | xmlPrint (std::ostream &) |
| Print to an ostream. More... | |
| ~ValueEvent ()=default | |
| destructor More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &, ValueEvent) |
| print to an output stream in XML format. More... | |
A valueEvent of a load is composed of a value and a date.
|
inline |
constructor with initial values
|
inline |
default constructor
|
default |
destructor
| double ValueEvent::getDate | ( | ) | const |
double get start time
Referenced by Loads::getFirstEventDate(), Loads::getLastEventDate(), getValue(), and std::greater< ValueEvent * >::operator()().
Here is the caller graph for this function:| double ValueEvent::getValue | ( | ) |
return the scalar value of the event
Referenced by Translation::ansysPrint(), and getValue().
Here is the caller graph for this function:| double ValueEvent::getValue | ( | const double | t | ) |
return the scalar value of the event at time t
References getValue(), and isActive().
Here is the call graph for this function:| double ValueEvent::getValue | ( | const double | t, |
| ValueEvent * | nextE | ||
| ) |
return the scalar value of the event at time t, knowing that next event is nextE
References getDate(), getValue(), and isActive().
Here is the call graph for this function:| bool ValueEvent::isActive | ( | const double | t | ) | const |
return true if the event is active at time t
a valueEvent of a load is composed of a value and a date
Referenced by getValue().
Here is the caller graph for this function:| void ValueEvent::setDate | ( | const double | d | ) |
set the value event date
| void ValueEvent::setValue | ( | const double | v | ) |
set the value event value
| void ValueEvent::xmlPrint | ( | std::ostream & | o | ) |
|
friend |
print to an output stream in XML format.