Project import generated by Copybara.
GitOrigin-RevId: 50714fe28298d7b707eff7304547d89d6ec34a54
This commit is contained in:
@@ -182,12 +182,15 @@ class Timestamp {
|
||||
Timestamp operator++(int);
|
||||
Timestamp operator--(int);
|
||||
|
||||
// Returns the next timestamp at which a Packet may arrive in a stream, given
|
||||
// that the current Packet is at *this timestamp. CHECKs that
|
||||
// this->IsAllowedInStream()==true. Returns Timestamp::OneOverPostStream() if
|
||||
// no Packets may follow one with the given timestamp.
|
||||
// Returns the next timestamp in the range [Min .. Max], or
|
||||
// OneOverPostStream() if no Packets may follow one with this timestamp.
|
||||
// CHECKs that this->IsAllowedInStream().
|
||||
Timestamp NextAllowedInStream() const;
|
||||
|
||||
// Returns the previous timestamp in the range [Min .. Max], or
|
||||
// Unstarted() if no Packets may preceed one with this timestamp.
|
||||
Timestamp PreviousAllowedInStream() const;
|
||||
|
||||
private:
|
||||
TimestampBaseType timestamp_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user