ResidenceTimeTag

ResidenceTimeTag

class

C++ definition

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.

Inheritance diagram

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

Extends

Name Type Description
TagBase class

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.

Fields

Name Type Description
startTime simtime_t
endTime simtime_t

Source code

//
// 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.
//
class ResidenceTimeTag extends TagBase
{
    simtime_t startTime = -1;
    simtime_t endTime = -1;
}

File: src/inet/common/TimeTag.msg