20 lines
583 B
C++
20 lines
583 B
C++
#ifndef FSFW_TMTCPACKET_PUS_PACKETTIMESTAMPINTERPRETERIF_H_
|
|
#define FSFW_TMTCPACKET_PUS_PACKETTIMESTAMPINTERPRETERIF_H_
|
|
|
|
#include "fsfw/returnvalues/HasReturnvaluesIF.h"
|
|
|
|
class TmPacketMinimal;
|
|
|
|
class PacketTimestampInterpreterIF {
|
|
public:
|
|
virtual ~PacketTimestampInterpreterIF() {}
|
|
virtual ReturnValue_t getPacketTime(TmPacketMinimal* packet,
|
|
timeval* timestamp) const = 0;
|
|
virtual ReturnValue_t getPacketTimeRaw(TmPacketMinimal* packet, const uint8_t** timePtr,
|
|
uint32_t* size) const = 0;
|
|
};
|
|
|
|
|
|
|
|
#endif /* FSFW_TMTCPACKET_PUS_PACKETTIMESTAMPINTERPRETERIF_H_ */
|