double value
actual value
Definition: ValueEvent.h:81
double getDate() const
double get start time
Definition: ValueEvent.cpp:62
double date
actual date
Definition: ValueEvent.h:83
bool isActive(const double t) const
return true if the event is active at time t
Definition: ValueEvent.cpp:31
void setValue(const double)
set the value event value
Definition: ValueEvent.cpp:89
friend std::ostream & operator<<(std::ostream &, ValueEvent)
print to an output stream in XML format.
Definition: ValueEvent.cpp:74
ValueEvent()
default constructor
Definition: ValueEvent.h:48
~ValueEvent()=default
destructor
ValueEvent(const double v, const double d)
constructor with initial values
Definition: ValueEvent.h:45
double getValue()
return the scalar value of the event
Definition: ValueEvent.cpp:36
void setDate(const double)
set the value event date
Definition: ValueEvent.cpp:84
A valueEvent of a load is composed of a value and a date.
Definition: ValueEvent.h:41
void xmlPrint(std::ostream &)
Print to an ostream.
Definition: ValueEvent.cpp:67