Description:
This class represents a CCSDS sequence counter. It can be used nearly interchangeably with integers. It defines basic operators like subtraction, addition and comparison with counter rollover taken into account.
Data Fields | ||
public | static const int | PERIOD |
public | static const int | HALF_PERIOD |
protected | int | value |
Constructors / Destructor | |
public | Sequence(int value=0) |
public | ~Sequence() |
Methods |
Operators | |||
public | const int | const Sequence& - const Sequence&
| |
public | const int | const Sequence& + const Sequence&
| |
public | const bool | const Sequence& < const Sequence&
| |
public | const bool | const Sequence& > const Sequence&
| |
public | const bool | const Sequence& == const Sequence&
| |
public | const bool | const Sequence& <= const Sequence&
| |
public | const bool | const Sequence& >= const Sequence&
| |
public | ostream& | ostream& << Sequence& |