NED File src/inet/clock/base/ClockBase.ned
Name | Type | Description |
---|---|---|
ClockBase | compound module |
This is a base module for clocks. |
Source code
// // Copyright (C) 2020 OpenSim Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later // package inet.clock.base; // // This is a base module for clocks. // module ClockBase { parameters: string displayStringTextFormat = default("%t"); // determines the text that is written on top of the submodule string referenceClock = default(""); // full path of reference clock double emitClockTimeInterval @unit(s) = default(0s); // non-zero value means the clock time will be emitted periodically @class(ClockBase); @display("i=block/timer"); @signal[timeChanged](type=simtime_t); @statistic[timeChanged](title="Clock time"; record=vector; interpolationmode=linear); }