|
IBR-DTN
1.0.0
|
#include <DTNTime.h>

Public Member Functions | |
| DTNTime () | |
| DTNTime (const Timestamp &seconds, const Number &nanoseconds=0) | |
| virtual | ~DTNTime () |
| const Timestamp & | getTimestamp () const |
| const Number & | getNanoseconds () const |
| void | set () |
| void | operator+= (const Timestamp &value) |
| Length | getLength () const |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const dtn::data::DTNTime &obj) |
| std::istream & | operator>> (std::istream &stream, dtn::data::DTNTime &obj) |
| dtn::data::DTNTime::DTNTime | ( | ) |
Definition at line 30 of file DTNTime.cpp.
References set().

Definition at line 36 of file DTNTime.cpp.
|
virtual |
Definition at line 41 of file DTNTime.cpp.
| Length dtn::data::DTNTime::getLength | ( | ) | const |
Definition at line 53 of file DTNTime.cpp.
References dtn::data::SDNV< E >::getLength().

| const Number & dtn::data::DTNTime::getNanoseconds | ( | ) | const |
Definition at line 63 of file DTNTime.cpp.
| const Number & dtn::data::DTNTime::getTimestamp | ( | ) | const |
Definition at line 58 of file DTNTime.cpp.
| void dtn::data::DTNTime::operator+= | ( | const Timestamp & | value | ) |
Definition at line 68 of file DTNTime.cpp.
| void dtn::data::DTNTime::set | ( | ) |
set the DTNTime to the current time
Definition at line 45 of file DTNTime.cpp.
References dtn::utils::Clock::getdtntimeofday().
Referenced by DTNTime().

|
friend |
Definition at line 73 of file DTNTime.cpp.
|
friend |
Definition at line 79 of file DTNTime.cpp.