#include <PXXVPayload.h>
Inheritance diagram for PXXVPayload:

Public Member Functions | |
| virtual | ~PXXVPayload () |
| virtual Int32b_t | GetPayloadLength () const |
| virtual Int32b_t | GetPayloadType () const |
| virtual Int32b_t | GetPayloadInterfaceType () const |
| virtual const PXXIUTCTime & | GetPayloadTimeUTC () |
| virtual Int32b_t | Unpack () |
| virtual const PXXPayloadEnvelope & | GetEnvelope () const |
Protected Member Functions | |
| PXXVPayload (const PXXPayloadEnvelope &envelope) | |
| PXXVPayload () | |
| virtual void | SetEnvelope (const PXXPayloadEnvelope &env) |
| virtual PXXPayloadEnvelope & | GetEnvelope () |
| virtual void | SetPayloadTimeUTC (const PXXUTCTime8B &t) |
This is an base(abstract) class of all payloads. // It inherits PXXVUnpackable and doesn't implement Unpack() and Write(), // so you cannot instanciate the class. // All payloads must be an descendant of the class. //
|
|
Destructor. |
|
|
The class is pure virtual so that the constructor should be protected. |
|
|
The class is pure virtual so that the constructor should be protected. If you use default constructor, you must set envelope before calling Unpack(). |
|
|
non-const get method to get envelope
|
|
|
Return the refenence of payload envelope
|
|
|
returns the Payload interface type as defined in the PXXPayloadInterfaceRegistry. If the payload interface type is -INT_MAX, send error the program. Implements PXXIPayload. |
|
|
Returns the length in bytes of this payload Implements PXXIPayload. |
|
|
Return a const reference to the PXXIUTCTime Implements PXXIPayload. |
|
|
returns the Payload type If the payload type is , send error the program. Implements PXXIPayload. |
|
|
set envelope to the payload using operator=
|
|
|
set method to set PayloadTimeUTC, USE IT ONLY WHEN YOU CANNOT USE Unpack(). |
|
|
Override PXXVUnpackable::Unpack() to do length check.
Reimplemented from PXXVUnpackable. |