25 NS_LOG_COMPONENT_DEFINE(
"SatCrdsaReplicaTag");
30 NS_OBJECT_ENSURE_REGISTERED(SatCrdsaReplicaTag);
35 NS_LOG_FUNCTION(
this);
40 NS_LOG_FUNCTION(
this);
49 TypeId(
"ns3::SatCrdsaReplicaTag").SetParent<Tag>().AddConstructor<SatCrdsaReplicaTag>();
56 NS_LOG_FUNCTION(
this);
64 NS_LOG_FUNCTION(
this);
72 NS_LOG_FUNCTION(
this);
79 NS_LOG_FUNCTION(
this);
81 return (
sizeof(uint8_t) +
m_slotIds.size() *
sizeof(uint16_t));
87 NS_LOG_FUNCTION(
this << &buffer);
100 NS_LOG_FUNCTION(
this << &buffer);
113 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.