meier/seqCount #46

Merged
muellerr merged 5 commits from meier/seqCount into eive/develop 2022-03-28 10:21:49 +02:00
Showing only changes of commit caf78835b2 - Show all commits

View File

@ -23,13 +23,15 @@ class SourceSequenceCounter {
this->increment();
return *this;
}
SourceSequenceCounter& operator--(int) {
this->decrement();
return *this;
}
SourceSequenceCounter& operator=(const uint16_t& newCount) {
sequenceCount = newCount;
return *this;
}
operator uint16_t() {
return this->get();
}
operator uint16_t() { return this->get(); }
};
#endif /* FSFW_TMTCSERVICES_SOURCESEQUENCECOUNTER_H_ */