Update README and add contrib dir
This commit is contained in:
47
contrib/tsn/model/frer-match-recovery-function.h
Normal file
47
contrib/tsn/model/frer-match-recovery-function.h
Normal file
@@ -0,0 +1,47 @@
|
||||
#ifndef FRER_MATCH_RECOVERY_FUNCTION_H
|
||||
#define FRER_MATCH_RECOVERY_FUNCTION_H
|
||||
|
||||
#include "ns3/frer-base-recovery-function.h"
|
||||
|
||||
|
||||
namespace ns3
|
||||
{
|
||||
|
||||
class MatchRecoveryFunction : public BaseRecoveryFunction
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* \brief Get the TypeId
|
||||
*
|
||||
* \return The TypeId for this class
|
||||
*/
|
||||
static TypeId GetTypeId();
|
||||
|
||||
/**
|
||||
* \brief Create a MatchRecoveryFunction
|
||||
*/
|
||||
MatchRecoveryFunction();
|
||||
|
||||
/**
|
||||
* Destroy a MatchRecoveryFunction
|
||||
*
|
||||
* This is the destructor for the MatchRecoveryFunction.
|
||||
*/
|
||||
~MatchRecoveryFunction();
|
||||
|
||||
// Delete copy constructor and assignment operator to avoid misuse
|
||||
MatchRecoveryFunction& operator=(const MatchRecoveryFunction&) = delete;
|
||||
MatchRecoveryFunction(const MatchRecoveryFunction&) = delete;
|
||||
|
||||
bool DoRecovery(uint16_t seqNumber) override;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
#endif /* FRER_MATCH_RECOVERY_FUNCTION_H */
|
||||
Reference in New Issue
Block a user