Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index

Class: SwiftPacket

Parent class: CCSDSPacket

Description:
This class represents a generic packet from the Swift mission. It adds a Swift secondary header to the generic CCSDS packet.

Data Fields
privateSwiftHead2*_head2

Constructors / Destructor
protected SwiftPacket(const SwiftPacket& orig)
Copy constructor.
public SwiftPacket()
Construct an empty packet.
public SwiftPacket(int size)
Construct a packet with a given number of data bytes.

Methods
public virtual
constant
double time()
public virtual void time(double time)
public virtual double bestTime()
Returns the time best reflecting the data in the packet. HEAD3 packets override this method to return the tertiary header time.
public virtual CCSDSPacket* copy()
Return a pointer to a new copy of this packet cast as a generic CCSDSPacket This is basicly a virtual wrapper around the copy constructor.
public virtual int samePlaceAs(CCSDSPacket* generic_p)
Returns true if two packets have the same time and sequence values .
protected virtual
constant
int extraHeadSize()
Size of the secondary header in bytes.
protected virtual void readExtraHeaders(Reader* r)
Read the secondary header.
Throws: Interpreter::Exception
protected virtual void writeExtraHeaders(Writer* w)
Write the secondary header.
Throws: Interpreter::Exception

Operators
public int SwiftPacket& < const CCSDSPacket&


Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index