Description:
This object counts the packets flowing throw it by APID.
| Data Fields | ||
| private | map<int,int> | count |
| private | int | total |
| Constructors / Destructor | |
| public | PacketCounter()Constructor. |
| public | ~PacketCounter() |
| Methods | |||
| public | virtual | int | getCount(int apid)Return the current packet count in a given APID. |
| public | virtual | int | getCount()Return the current packet count summed over APIDS. |
| public | virtual | void | reset()Reset the packet count to zero. |
| public | virtual | CCSDSPacket* | operateOnPacket(CCSDSPacket* p)Count a single packet moving through the pipe. |
| public | virtual | void | report(ostream* out)Print a report of all APIDS and counts to a given ostream. |
| Operators |