Description:
This is a kind of PacketPipe which checks the packets passing through it to be sure they conform to correct Swift LDP structure. It checks to be sure there is a redundant header, but does not transmit it downstream. If there is an error, it stops transmitting packets and the error() method will return a pointer to a string describing the error. If there was no error, error() will return NULL. Missing packets are considered to be an error.
| Data Fields | ||
| public | static const int | first_page |
| private | int | on_first_page |
| private | int | in_redundant_header |
| private | int | npages |
| private | int | last_page |
| private | int | last_apid |
| private | int | last_product |
| private | int | last_sequence |
| private | double | last_time |
| private | StandardLDPHead* | head |
| private | StandardLDPHead* | redundant_head |
| private | string | _error |
| private | bool | found_error |
| Constructors / Destructor | |
| public | LDPChecker() |
| public | ~LDPChecker() |
| Methods | |||
| public | virtual | void | error(const string& e) |
| public | virtual | bool | foundError() |
| public | virtual | const string& | error() |
| protected | CCSDSPacket* | operateOnPacket(CCSDSPacket* generic_p)Check a number of things in this packet to make sure it's in the right format. | |
| Operators |