NED File src/inet/mobility/single/AnsimMobility.ned¶
Name |
Type |
Description |
|---|---|---|
simple module |
Uses the <position_change> elements of the ANSim tool’s trace file. |
Source code¶
//
// Copyright (C) 2005 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//
package inet.mobility.single;
import inet.mobility.base.MovingMobilityBase;
//
// Uses the <position_change> elements of the ANSim tool's
// trace file.
//
simple AnsimMobility extends MovingMobilityBase
{
parameters:
xml ansimTrace; // The ANSim trace file in XML
int nodeId; // <position_change> elements to match; -1 gets substituted with the parent module's index
@class(AnsimMobility);
}