IBR-DTNSuite
0.12
|
#include <TrackingBlock.h>
Public Types | |
enum | Flags { TIMESTAMP_PRESENT = 1, GEODATA_PRESENT = 2 } |
Public Member Functions | |
TrackingEntry () | |
TrackingEntry (const dtn::data::EID &eid) | |
~TrackingEntry () | |
bool | getFlag (Flags f) const |
void | setFlag (Flags f, bool value) |
Length | getLength () const |
Public Attributes | |
Bitset< Flags > | flags |
dtn::data::EID | endpoint |
dtn::data::DTNTime | timestamp |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const TrackingEntry &entry) |
std::istream & | operator>> (std::istream &stream, TrackingEntry &entry) |
Definition at line 43 of file TrackingBlock.h.
Enumerator | |
---|---|
TIMESTAMP_PRESENT | |
GEODATA_PRESENT |
Definition at line 46 of file TrackingBlock.h.
dtn::data::TrackingBlock::TrackingEntry::TrackingEntry | ( | ) |
Definition at line 110 of file TrackingBlock.cpp.
dtn::data::TrackingBlock::TrackingEntry::TrackingEntry | ( | const dtn::data::EID & | eid) |
Definition at line 114 of file TrackingBlock.cpp.
dtn::data::TrackingBlock::TrackingEntry::~TrackingEntry | ( | ) |
Definition at line 119 of file TrackingBlock.cpp.
bool dtn::data::TrackingBlock::TrackingEntry::getFlag | ( | Flags | f) | const |
Definition at line 123 of file TrackingBlock.cpp.
Referenced by dtn::data::operator<<(), and dtn::data::operator>>().
Length dtn::data::TrackingBlock::TrackingEntry::getLength | ( | ) | const |
Definition at line 133 of file TrackingBlock.cpp.
References dtn::data::TrackingBlock::getLength(), and TIMESTAMP_PRESENT.
Referenced by dtn::data::TrackingBlock::getLength().
void dtn::data::TrackingBlock::TrackingEntry::setFlag | ( | Flags | f, |
bool | value | ||
) |
Definition at line 128 of file TrackingBlock.cpp.
Referenced by dtn::data::TrackingBlock::append().
|
friend |
Definition at line 146 of file TrackingBlock.cpp.
|
friend |
Definition at line 159 of file TrackingBlock.cpp.
dtn::data::EID dtn::data::TrackingBlock::TrackingEntry::endpoint |
Definition at line 60 of file TrackingBlock.h.
Referenced by dtn::data::operator<<(), and dtn::data::operator>>().
Definition at line 59 of file TrackingBlock.h.
Referenced by dtn::data::operator<<(), and dtn::data::operator>>().
dtn::data::DTNTime dtn::data::TrackingBlock::TrackingEntry::timestamp |
Definition at line 61 of file TrackingBlock.h.
Referenced by dtn::data::operator<<(), and dtn::data::operator>>().