Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index

Class: LDPChecker

Parent class: PacketPipe

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
publicstatic const intfirst_page
privateinton_first_page
privateintin_redundant_header
privateintnpages
privateintlast_page
privateintlast_apid
privateintlast_product
privateintlast_sequence
privatedoublelast_time
privateStandardLDPHead*head
privateStandardLDPHead*redundant_head
privatestring_error
privateboolfound_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


Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index