28 NS_LOG_COMPONENT_DEFINE(
"SatCrdsaReplicaTag");
33 NS_OBJECT_ENSURE_REGISTERED(SatCrdsaReplicaTag);
38 NS_LOG_FUNCTION(
this);
43 NS_LOG_FUNCTION(
this);
52 TypeId(
"ns3::SatCrdsaReplicaTag").SetParent<Tag>().AddConstructor<SatCrdsaReplicaTag>();
59 NS_LOG_FUNCTION(
this);
67 NS_LOG_FUNCTION(
this);
75 NS_LOG_FUNCTION(
this);
82 NS_LOG_FUNCTION(
this);
84 return (
sizeof(uint8_t) +
m_slotIds.size() *
sizeof(uint16_t));
90 NS_LOG_FUNCTION(
this << &buffer);
103 NS_LOG_FUNCTION(
this << &buffer);
116 NS_LOG_FUNCTION(
this << &os);
virtual void Deserialize(TagBuffer buffer)
Deserializes information from buffer to this instance of SatCrdsaReplicaTag.
std::vector< uint16_t > m_slotIds
virtual uint32_t GetSerializedSize(void) const
Get serialized size of SatCrdsaReplicaTag.
virtual TypeId GetInstanceTypeId(void) const
Get the type ID of instance.
static TypeId GetTypeId(void)
Get the type ID.
~SatCrdsaReplicaTag()
Destructor for SatCrdsaReplicaTag.
virtual void Serialize(TagBuffer buffer) const
Serializes information to buffer from this instance of SatCrdsaReplicaTag.
virtual void Print(std::ostream &os) const
Print time stamp of this instance of SatCrdsaReplicaTag.
void AddSlotId(uint16_t slotId)
SatCrdsaReplicaTag()
Default constructor.
std::vector< uint16_t > GetSlotIds(void)
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.