FNSS C++ library
C++ API for the Fast Network Simulation Setup (FNSS) toolchain
|
#include <event.h>
Public Member Functions | |
Event (const Quantity &time_=Quantity("0sec", Units::Time)) | |
Quantity | getTime () const |
void | setTime (const Quantity &time_) |
bool | operator> (const Event &other) const |
bool | operator>= (const Event &other) const |
bool | operator< (const Event &other) const |
bool | operator<= (const Event &other) const |
Public Member Functions inherited from fnss::PropertyContainer | |
std::string | getProperty (const std::string &name) const |
void | setProperty (const std::string &name, const std::string &value="") |
bool | hasProperty (const std::string &name) const |
void | addProperties (const PropertyContainer &other) |
std::string | removeProperty (const std::string &name) |
std::set< std::string > | getAllProperties () const |
Represent an event of an event schedule
Constructor.
time | the time at which the event occurs. |
Quantity fnss::Event::getTime | ( | ) | const |
Get method for the scheduled time of the event.
void fnss::Event::setTime | ( | const Quantity & | time_ | ) |
Set method for the event's scheduled time.
time | the time at which the event occurs. |