Definition at line 33 of file packet_buffer.hpp.
◆ ~Data()
virtual vanetza::geonet::packet_buffer::Data::~Data |
( |
| ) |
|
|
inlinevirtual |
◆ flush()
virtual void vanetza::geonet::packet_buffer::Data::flush |
( |
| ) |
|
|
pure virtual |
Flush data
- Note
- length() and lifetime() should not be called afterwards!
◆ length()
virtual std::size_t vanetza::geonet::packet_buffer::Data::length |
( |
| ) |
const |
|
pure virtual |
Length of packet data
- Returns
- length in bytes
◆ reduce_lifetime()
virtual Clock::duration vanetza::geonet::packet_buffer::Data::reduce_lifetime |
( |
Clock::duration |
d | ) |
|
|
pure virtual |
Reduce lifetime associated with data
- Parameters
-
d | reduce lifetime by given duration |
- Returns
- remaining lifetime (never negative)
The documentation for this class was generated from the following file: