TagBase

TagBase

class

C++ definition

This is an abstract base class that should not be directly added to a message as a tag. It is used as the base class of all tags, thus it doesn't have any fields.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
cObject (unknown -- not in documented files)

Known subclasses

Name Type Description
CreationTimeTag class

This tag specifies the creation time. It can be attached to a specific region of a packet in order to store the time when that region was created.

CreditGateTag class

This tag carries the module id of the ~CreditBasedGate which the packet passed through.

DirectionTag class

This tag specifies the intended direction of the packet as one of inbound, outbound, or undefined. The direction should be set to:

DscpTagBase class

This is an abstract base class that should not be directly added as a tag.

EcnTagBase class

This is an abstract base class that should not be directly added as a tag.

EligibilityTimeTag class

This tag specifies the simulation time after which the packet becomes eligible for transmission according to the asynchronous shaper.

FlowTag class (no description)
FragmentationReq class

Determines the fragmentation

FragmentTag class (no description)
GptpIngressTimeInd class (no description)
HopLimitTagBase class (no description)
IdentityTag class

This tag provides a bit level identity for binary data. It must attached to a packet or chunk as a region tag. The identity of a bit in the region can be calculated by adding the offset of said bit to the identityStart field of the tag.

Ieee80211ChannelTagBase class

This is an abstract base class that should not be directly added as a tag.

Ieee80211ModeTagBase class

This is an abstract base class that should not be directly added as a tag.

Ieee80211SubtypeTagBase class (no description)
Ieee802SapTagBase class (no description)
InterfaceTagBase class (no description)
Ipv4OptionsTagBase class (no description)
Ipv6ExtHeaderTagBase class (no description)
L3AddressTagBase class (no description)
L4PortTagBase class (no description)
LabelsTag class (no description)
LlcProtocolTag class

Marks the packet's LLC protocol NOTE: No packet field indicates the LLC protocol, it depends on the used band!

MacAddressTagBase class (no description)
MulticastReq class

Determines the multicast loop mode

NextHopAddressReq class (no description)
PacketEventTag class (no description)
PcpTagBase class

This is an abstract base class that should not be directly added as a tag.

ProgressTag class (no description)
ProtocolListTagBase class

This is an abstract base class that should not be directly added as a tag.

ProtocolTagBase class

This is an abstract base class that should not be directly added as a tag.

RateTag class

This tag can be attached to individual packets the specify the data rate and packet rate. The values are meaningful for a stream of packets which this packet is part of.

ResidenceTimeTag class

This tag specifies the network node residence start and end times. It can be attached to a specific region of a packet in order to store when that region entered and left the network node.

SctpCommandReq class (no description)
SequenceNumberTagBase class

This is an abstract base class that should not be directly added as a tag.

SignalTagBase class

This is an abstract base class that should not be directly added as a tag.

SocketTagBase class (no description)
StreamTagBase class

This is an abstract base class that should not be directly added as a tag.

TimeTagBase class

This is a base class for various time measurement tags.

TosTagBase class

This is an abstract base class that should not be directly added as a tag.

UserPriorityTagBase class

This is an abstract base class that should not be directly added as a tag.

VlanTagBase class

This is an abstract base class that should not be directly added as a tag.

Source code

//
// This is an abstract base class that should not be directly added to a message as a tag.
// It is used as the base class of all tags, thus it doesn't have any fields.
//
class TagBase extends cObject
{
    @existingClass;
}
File: src/inet/common/TagBase.msg